+public class Entry {
+
+ @XmlElement(required = true)
+ protected List<String> accession;
+ @XmlElement(required = true)
+ protected List<String> name;
+ @XmlElement(required = true)
+ protected ProteinType protein;
+ protected List<GeneType> gene;
+ @XmlElement(required = true)
+ protected OrganismType organism;
+ protected List<OrganismType> organismHost;
+ protected List<GeneLocationType> geneLocation;
+ @XmlElement(required = true)
+ protected List<ReferenceType> reference;
+ @XmlElement(nillable = true)
+ protected List<CommentType> comment;
+ protected List<DbReferenceType> dbReference;
+ @XmlElement(required = true)
+ protected ProteinExistenceType proteinExistence;
+ protected List<KeywordType> keyword;
+ protected List<FeatureType> feature;
+ protected List<EvidenceType> evidence;
+ @XmlElement(required = true)
+ protected SequenceType sequence;
+ @XmlAttribute(name = "dataset", required = true)
+ protected String dataset;
+ @XmlAttribute(name = "created", required = true)
+ @XmlSchemaType(name = "date")
+ protected XMLGregorianCalendar created;
+ @XmlAttribute(name = "modified", required = true)
+ @XmlSchemaType(name = "date")
+ protected XMLGregorianCalendar modified;
+ @XmlAttribute(name = "version", required = true)
+ protected int version;
+
+ /**
+ * Gets the value of the accession 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 accession property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAccession().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getAccession() {
+ if (accession == null) {
+ accession = new ArrayList<String>();
+ }
+ return this.accession;
+ }