[MOBY-guts] biomoby commit
Dmitry Repchevski
drepchevski at dev.open-bio.org
Wed Feb 2 13:23:41 UTC 2011
drepchevski
Wed Feb 2 08:23:41 EST 2011
Update of /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/factory/jaxb/registry
In directory dev.open-bio.org:/tmp/cvs-serv16893/registry
Modified Files:
RegisterServiceOperation.java
Log Message:
registerService() was broken in MobyCentral library
moby-live/Java/src/main/org/inb/biomoby/central/factory/jaxb/registry RegisterServiceOperation.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/factory/jaxb/registry/RegisterServiceOperation.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/central/factory/jaxb/registry/RegisterServiceOperation.java 2009/09/09 19:47:48 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/factory/jaxb/registry/RegisterServiceOperation.java 2011/02/02 13:23:41 1.2
@@ -194,27 +194,27 @@
@XmlTransient
protected static class Data
{
- private List<Collection> collection;
- private List<Simple> simple;
+ private List<Collection> collections;
+ private List<Simple> simples;
@XmlElement(name = "Collection")
- public List<Collection> getCollection()
+ public List<Collection> getCollections()
{
- if (collection == null)
+ if (collections == null)
{
- collection = new ArrayList<Collection>();
+ collections = new ArrayList<Collection>();
}
- return this.collection;
+ return this.collections;
}
@XmlElement(name = "Simple")
- public List<Simple> getSimple()
+ public List<Simple> getSimples()
{
- if (simple == null)
+ if (simples == null)
{
- simple = new ArrayList<Simple>();
+ simples = new ArrayList<Simple>();
}
- return this.simple;
+ return this.simples;
}
}
@@ -269,7 +269,7 @@
public static class Simple
{
private String objectType;
- private List<String> namespace;
+ private List<String> namespaces;
private String articleName;
@XmlElement(required = true)
@@ -284,14 +284,14 @@
}
@XmlElement(name = "Namespace")
- public List<String> getNamespace()
+ public List<String> getNamespaces()
{
- if (namespace == null)
+ if (namespaces == null)
{
- namespace = new ArrayList<String>();
+ namespaces = new ArrayList<String>();
}
- return this.namespace;
+ return namespaces;
}
@XmlAttribute(required = true)
More information about the MOBY-guts
mailing list