com.inspiresoftware.lib.dto.geda.examples.usecases.virtual.EntityClass 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.virtual;
import org.junit.Ignore;
/**
* Test entity for Assembler.
*
* @author Denis Pavlov
* @since 1.0.0
*
*/
@Ignore
public class EntityClass {
private boolean decided;
private long pk;
/**
* @return result of a complex decision.
*/
public Boolean whatWasComplexDecision() {
return Boolean.TRUE;
}
/**
* @param dtoValue value from dto object.
*/
public void makeComplexDecision(final Boolean dtoValue) {
this.decided = dtoValue;
}
/**
* @return boolean value
*/
public boolean isDecided() {
return decided;
}
/**
* @return some PK
*/
public long getPk() {
return pk;
}
/**
* @param pk some PK
*/
public void setPk(final long pk) {
this.pk = pk;
}
}