All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.inspiresoftware.lib.dto.geda.examples.usecases.virtual.EntityClass Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version

/*
 * 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;
	}
	
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy