[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Entity.java, 1.11, 1.12
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nordholt <nor...@us...> - 2006-12-21 14:21:36
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8011/src/net/sourceforge/bprocessor/model Modified Files: Entity.java Log Message: added parameterblocks to entities Index: Entity.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Entity.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Entity.java 30 Nov 2006 22:03:46 -0000 1.11 --- Entity.java 21 Dec 2006 14:21:26 -0000 1.12 *************** *** 21,24 **** --- 21,43 ---- protected Long id; + /** Parameterblock for extra parameters */ + private ParameterBlock parameters = new ParameterBlock(); + + /** + * Getter for the parameterblock + * @return the current parameterblock + */ + public ParameterBlock getParameters() { + return parameters; + } + + /** + * setter for the parameterblock + * @param parameters the new parameterblock + */ + public void setParameters(ParameterBlock parameters) { + this.parameters = parameters; + } + /** * Find the maximum id of entities in the collection |