-@XmlType(
- name = "organismType",
- propOrder =
- { "name", "dbReference", "lineage" })
-public class OrganismType
-{
-
- @XmlElement(required = true)
- protected List<OrganismNameType> name;
-
- @XmlElement(required = true)
- protected List<DbReferenceType> dbReference;
-
- protected OrganismType.Lineage lineage;
-
- @XmlAttribute(name = "evidence")
- protected List<Integer> evidence;
-
- /**
- * Gets the value of the name property.
- *
- * <p>
- * This accessor method returns a reference to the live list, not a snapshot.
- * Therefore any modification you make to the returned list will be present
- * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
- * for the name property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- *
- * <pre>
- * getName().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link OrganismNameType }
- *
- *
- */
- public List<OrganismNameType> getName()
- {
- if (name == null)
- {
- name = new ArrayList<OrganismNameType>();
+@XmlType(name = "organismType", propOrder = {
+ "name",
+ "dbReference",
+ "lineage"
+})
+public class OrganismType {
+
+ @XmlElement(required = true)
+ protected List<OrganismNameType> name;
+ @XmlElement(required = true)
+ protected List<DbReferenceType> dbReference;
+ protected OrganismType.Lineage lineage;
+ @XmlAttribute(name = "evidence")
+ protected List<Integer> evidence;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the name property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link OrganismNameType }
+ *
+ *
+ */
+ public List<OrganismNameType> getName() {
+ if (name == null) {
+ name = new ArrayList<OrganismNameType>();
+ }
+ return this.name;