com.inspiresoftware.lib.dto.geda.examples.usecases.simple.ReadOnlyDtoClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geda.examples Show documentation
Show all versions of geda.examples Show documentation
Provides several examples of use of GeDA
/*
* This code is distributed under The GNU Lesser General Public License (LGPLv3)
* Please visit GNU site for LGPLv3 http://www.gnu.org/copyleft/lesser.html
*
* Copyright Denis Pavlov 2009
* Web: http://www.genericdtoassembler.org
* SVN: https://svn.code.sf.net/p/geda-genericdto/code/trunk/
* SVN (mirror): http://geda-genericdto.googlecode.com/svn/trunk/
*/
package com.inspiresoftware.lib.dto.geda.examples.usecases.simple;
import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoField;
import org.junit.Ignore;
/**
* Test DTO for Assembler.
*
* @author Denis Pavlov
* @since 1.0.0
*
*/
@Ignore
@Dto
public class ReadOnlyDtoClass {
@DtoField(readOnly = true)
private String name;
@DtoField(readOnly = true)
private String desc;
/**
* @return name
*/
public String getName() {
return name;
}
/**
* @param name name
*/
public void setName(final String name) {
this.name = name;
}
/**
* @return description
*/
public String getDesc() {
return desc;
}
/**
* @param desc description
*/
public void setDesc(final String desc) {
this.desc = desc;
}
}