Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6991/src/net/sourceforge/bprocessor/model
Modified Files:
Space.java
Log Message:
Added a description to spaces
Index: Space.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Space.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Space.java 4 Jan 2006 14:30:07 -0000 1.12
--- Space.java 13 Jan 2006 09:30:01 -0000 1.13
***************
*** 22,25 ****
--- 22,27 ----
/** The name */
private String name;
+ /** The Discription */
+ private String description;
/** The attributes */
private Set attributes;
***************
*** 42,45 ****
--- 44,48 ----
super();
setName(name);
+ setDescription("");
}
***************
*** 79,82 ****
--- 82,104 ----
}
+
+ /**
+ * Set the discription
+ * @param des The description of the space
+ */
+ public void setDescription(String des) {
+ this.description = des;
+ }
+
+ /**
+ * Set the description
+ * @return description The description of the space
+ * @hibernate.property
+ */
+ public String getDescription() {
+ return description;
+ }
+
+
/**
* Get the attributes
|