[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Mon Jan 7 22:11:37 UTC 2008


gordonp
Mon Jan  7 17:11:36 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv15648/src/main/org/biomoby/shared/data

Modified Files:
	MobyDataBoolean.java MobyDataComposite.java 
	MobyDataDateTime.java MobyDataFloat.java MobyDataInt.java 
	MobyDataObject.java MobyDataObjectSAI.java 
	MobyDataObjectSet.java MobyDataString.java 
Log Message:
Added cloneability to MobyData derivatives
moby-live/Java/src/main/org/biomoby/shared/data MobyDataBoolean.java,1.7,1.8 MobyDataComposite.java,1.23,1.24 MobyDataDateTime.java,1.12,1.13 MobyDataFloat.java,1.10,1.11 MobyDataInt.java,1.9,1.10 MobyDataObject.java,1.25,1.26 MobyDataObjectSAI.java,1.3,1.4 MobyDataObjectSet.java,1.12,1.13 MobyDataString.java,1.9,1.10
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataBoolean.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataBoolean.java	2007/12/06 23:43:17	1.7
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataBoolean.java	2008/01/07 22:11:36	1.8
@@ -97,7 +97,7 @@
 	return value.toString();
     }
 
-    public Object clone(){
+    public MobyDataBoolean clone(){
 	MobyDataBoolean copy = new MobyDataBoolean(getName(), value, getDataType().getRegistry());
 	copy.setDataType(getDataType());
 	copy.setId(getId());

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java	2007/12/09 00:23:49	1.23
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java	2008/01/07 22:11:36	1.24
@@ -241,7 +241,7 @@
 	this(MobyDataType.getDataType(typeName, r));
     }
 
-    public Object clone(){
+    public MobyDataComposite clone(){
 	MobyDataComposite theClone = new MobyDataComposite(getDataType(), getName(), "", getId());
 	theClone.setNamespaces(getNamespaces());
 	theClone.putAll(members);

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataDateTime.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataDateTime.java	2007/12/06 23:43:17	1.12
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataDateTime.java	2008/01/07 22:11:36	1.13
@@ -316,7 +316,7 @@
     }
 
 
-    public Object clone(){
+    public MobyDataDateTime clone(){
 	MobyDataDateTime copy = new MobyDataDateTime(getName(), getValue(), getDataType().getRegistry());
 	copy.setDataType(getDataType());
 	copy.setId(getId());

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataFloat.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataFloat.java	2007/12/06 23:43:17	1.10
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataFloat.java	2008/01/07 22:11:36	1.11
@@ -113,7 +113,7 @@
 	this("", stringNumber, registry);
     }
 
-    public Object clone(){
+    public MobyDataFloat clone(){
 	MobyDataFloat copy = new MobyDataFloat(getName(), value, getDataType().getRegistry());
 	copy.setDataType(getDataType());
 	copy.setId(getId());

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataInt.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataInt.java	2007/12/06 23:43:17	1.9
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataInt.java	2008/01/07 22:11:36	1.10
@@ -208,7 +208,7 @@
 	}
     }   
 
-    public Object clone(){
+    public MobyDataInt clone(){
 	MobyDataInt copy = new MobyDataInt(getName(), value, getDataType().getRegistry());
 	copy.setDataType(getDataType());
 	copy.setId(getId());

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObject.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObject.java	2007/12/09 00:23:49	1.25
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObject.java	2008/01/07 22:11:36	1.26
@@ -540,7 +540,7 @@
      * 
      * @return an object of class MobyDataObject
      */
-    public Object clone(){
+    public MobyDataObject clone(){
 	MobyDataObject copy = null;
 	copy = new MobyDataObject(getName(), getDataType().getRegistry());
 	copy.setNamespaces(getNamespaces());

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObjectSAI.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObjectSAI.java	2007/12/09 00:23:49	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObjectSAI.java	2008/01/07 22:11:36	1.4
@@ -45,7 +45,7 @@
 	mobyServices = services;
     }
 
-    public Object clone(){
+    public MobyDataObjectSAI clone(){
 	// Clone according to the base instance's subclass specific methods
 	return new MobyDataObjectSAI((MobyDataObject) dataInstance.clone(), 
 				     mobyServices);

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObjectSet.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObjectSet.java	2007/12/06 23:42:55	1.12
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataObjectSet.java	2008/01/07 22:11:36	1.13
@@ -93,7 +93,7 @@
 	addAll(c);
     }
 
-    public Object clone(){
+    public MobyDataObjectSet clone(){
 	return new MobyDataObjectSet(getName(), bag);
     }
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataString.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataString.java	2007/12/06 23:43:17	1.9
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataString.java	2008/01/07 22:11:36	1.10
@@ -58,7 +58,7 @@
 	return value.toString();
     }
 
-    public Object clone(){
+    public MobyDataString clone(){
 	MobyDataString copy = new MobyDataString(getName(), value, getDataType().getRegistry());
 	copy.setDataType(getDataType());
 	copy.setId(getId());




More information about the MOBY-guts mailing list