[MOBY-guts] biomoby commit
Dmitry Repchevski
drepchevski at dev.open-bio.org
Thu May 5 19:30:29 UTC 2011
drepchevski
Thu May 5 15:30:29 EDT 2011
Update of /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/shared/message
In directory dev.open-bio.org:/tmp/cvs-serv5357
Modified Files:
CrossReference.java
Log Message:
addObject() method added
moby-live/Java/src/main/org/inb/biomoby/shared/message CrossReference.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/shared/message/CrossReference.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/shared/message/CrossReference.java 2009/09/09 19:47:48 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/shared/message/CrossReference.java 2011/05/05 19:30:29 1.2
@@ -23,7 +23,12 @@
public class CrossReference implements Serializable
{
private ArrayList<MobyObject> objects;
-
+
+ public void addObject(MobyObject object)
+ {
+ getObjects().add(object);
+ }
+
@XmlElementRef(type=org.inb.biomoby.shared.message.MobyObject.class)
public ArrayList<MobyObject> getObjects()
{
More information about the MOBY-guts
mailing list