Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26461/src/net/sourceforge/bprocessor/model
Modified Files:
Edge.java Vertex.java Camera.java Parametric.java
Modellor.java
Log Message:
Added getGeneralName to the parametric interface
Index: Modellor.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Modellor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Modellor.java 6 Feb 2006 07:41:23 -0000 1.3
--- Modellor.java 11 Feb 2006 15:02:21 -0000 1.4
***************
*** 19,21 ****
--- 19,28 ----
*/
public abstract void update(Object entity);
+
+ /**
+ * @see net.sourceforge.bprocessor.model.Parametric#getGeneralName()
+ */
+ public String getGeneralName() {
+ return "Modellor";
+ }
}
Index: Edge.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Edge.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** Edge.java 8 Feb 2006 10:14:14 -0000 1.32
--- Edge.java 11 Feb 2006 15:02:21 -0000 1.33
***************
*** 437,439 ****
--- 437,446 ----
return res;
}
+
+ /**
+ * @see net.sourceforge.bprocessor.model.Parametric#getGeneralName()
+ */
+ public String getGeneralName() {
+ return null;
+ }
}
Index: Vertex.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Vertex.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** Vertex.java 8 Feb 2006 10:14:14 -0000 1.24
--- Vertex.java 11 Feb 2006 15:02:21 -0000 1.25
***************
*** 370,372 ****
--- 370,379 ----
return res;
}
+
+ /**
+ * @see net.sourceforge.bprocessor.model.Parametric#getGeneralName()
+ */
+ public String getGeneralName() {
+ return "Vertex";
+ }
}
Index: Parametric.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Parametric.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Parametric.java 30 Jan 2006 11:41:12 -0000 1.1
--- Parametric.java 11 Feb 2006 15:02:21 -0000 1.2
***************
*** 25,27 ****
--- 25,33 ----
*/
public List getAttributes();
+
+ /**
+ * Return the general name of the object
+ * @return The general name
+ */
+ public String getGeneralName();
}
Index: Camera.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Camera.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Camera.java 9 Feb 2006 13:55:33 -0000 1.12
--- Camera.java 11 Feb 2006 15:02:21 -0000 1.13
***************
*** 462,464 ****
--- 462,472 ----
return res;
}
+
+ /**
+ * Return the general name of Camera
+ * @return "Camera"
+ */
+ public String getGeneralName() {
+ return "Camera";
+ }
}
|