[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Classification.java, 1.8, 1.9
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nikolaj B. <nbr...@us...> - 2007-03-19 16:00:02
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17127/src/net/sourceforge/bprocessor/model Modified Files: Classification.java Log Message: Now with commentary Index: Classification.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Classification.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Classification.java 19 Mar 2007 12:38:14 -0000 1.8 --- Classification.java 19 Mar 2007 12:46:16 -0000 1.9 *************** *** 36,40 **** private String produkt; ! /** The id of the classification */ private Double uvalue = 0.0; --- 36,40 ---- private String produkt; ! /** The uvalue the classification */ private Double uvalue = 0.0; *************** *** 242,245 **** --- 242,249 ---- } + /** + * Return a list of the attributes in the object + * @return the list of attributes for the object + */ public List getAttributes() { ArrayList res = new ArrayList(); *************** *** 250,257 **** --- 254,266 ---- } + /** {@inheritDoc} */ public String getGeneralName() { return "Classification"; } + /** + * Set the attributes of the object to the values in the list + * @param attributes The attributes to set + */ public void setAttributes(List attributes) { Iterator iter = attributes.iterator(); *************** *** 264,271 **** --- 273,289 ---- } + + /** + * Get the U-value for this classification + * @return uvalue the U-value + */ public Double getUvalue() { return uvalue; } + /** + * Set the U-value for this classification + * @param uvalue the U-value + */ public void setUvalue(Double uvalue) { this.uvalue = uvalue; |