[MOBY-guts] biomoby commit
Paul Gordon
gordonp at pub.open-bio.org
Tue Jul 19 12:59:21 UTC 2005
gordonp
Tue Jul 19 08:59:21 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory pub.open-bio.org:/tmp/cvs-serv19660
Modified Files:
MobyDataSecondaryInstance.java
Log Message:
Changed data type variable name to not overshadow protected variable declaration in parent class
moby-live/Java/src/main/org/biomoby/shared/data MobyDataSecondaryInstance.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataSecondaryInstance.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/biomoby/shared/data/MobyDataSecondaryInstance.java 2005/05/12 04:59:49 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataSecondaryInstance.java 2005/07/19 12:59:21 1.2
@@ -8,7 +8,7 @@
public class MobyDataSecondaryInstance extends MobySecondaryData{
protected String dataValue = null;
- protected MobySecondaryData dataType = null;
+ protected MobySecondaryData secDataType = null;
public MobyDataSecondaryInstance(MobySecondaryData type, String value){
this(type);
@@ -26,7 +26,7 @@
setDefaultValue(type.getDefaultValue());
setMinimumValue(type.getMinimumValue());
setMaximumValue(type.getMaximumValue());
- dataType = type;
+ secDataType = type;
}
public void setValue(String value) throws IllegalArgumentException{
@@ -39,7 +39,7 @@
public String toXML(){
return " <moby:Parameter xmlns:moby=\""+org.biomoby.shared.MobyPrefixResolver.MOBY_XML_NAMESPACE+
- "\" moby:articleName='" + dataType.getName() +
+ "\" moby:articleName='" + secDataType.getName() +
"'><moby:Value>" + dataValue + "</moby:Value></moby:Parameter>\n";
}
}
More information about the MOBY-guts
mailing list