[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Tue Jun 9 18:56:27 UTC 2009
gordonp
Tue Jun 9 14:56:27 EDT 2009
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory dev.open-bio.org:/tmp/cvs-serv19514/src/main/org/biomoby/shared
Modified Files:
MobySecondaryData.java
Log Message:
Added method to get LSID
moby-live/Java/src/main/org/biomoby/shared MobySecondaryData.java,1.12,1.13
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobySecondaryData.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/MobySecondaryData.java 2008/03/03 11:54:28 1.12
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobySecondaryData.java 2009/06/09 18:56:27 1.13
@@ -105,6 +105,10 @@
return dataType;
}
+ public String getLSID(){
+ return "urn:lsid:biomoby.org:secondaryParamClass:"+getDataType();
+ }
+
public void setDataType (String value) throws Exception{
if(value.equalsIgnoreCase(INTEGER_TYPE)){
dataType = INTEGER_TYPE;
More information about the MOBY-guts
mailing list