Class OrganismType

java.lang.Object
org.uniprot.uniprot.OrganismType

public class OrganismType extends Object
Describes the source organism.

Java class for organismType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="organismType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{https://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/>
         <element name="dbReference" type="{https://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/>
         <element name="lineage" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="evidence" type="{https://uniprot.org/uniprot}intListType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • name

      protected List<OrganismNameType> name
      Describes the names of the source organism. Equivalent to the flat file OS-line.
    • dbReference

      protected List<DbReferenceType> dbReference
      Describes a cross-reference to the NCBI taxonomy database. Equivalent to the flat file OX-line.
    • lineage

      protected OrganismType.Lineage lineage
      Describes the lineage of the source organism. Equivalent to the flat file OC-line.
    • evidence

      protected List<Integer> evidence
  • Constructor Details

    • OrganismType

      public OrganismType()
  • Method Details

    • getName

      public List<OrganismNameType> getName()
      Describes the names of the source organism. Equivalent to the flat file OS-line. Gets the value of the name property.

      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 set method for the name property.

      For example, to add a new item, do as follows:

       getName().add(newItem);
       

      Objects of the following type(s) are allowed in the list OrganismNameType

      Returns:
      The value of the name property.
    • getDbReference

      public List<DbReferenceType> getDbReference()
      Describes a cross-reference to the NCBI taxonomy database. Equivalent to the flat file OX-line. Gets the value of the dbReference property.

      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 set method for the dbReference property.

      For example, to add a new item, do as follows:

       getDbReference().add(newItem);
       

      Objects of the following type(s) are allowed in the list DbReferenceType

      Returns:
      The value of the dbReference property.
    • getLineage

      public OrganismType.Lineage getLineage()
      Describes the lineage of the source organism. Equivalent to the flat file OC-line.
      Returns:
      possible object is OrganismType.Lineage
    • setLineage

      public void setLineage(OrganismType.Lineage value)
      Sets the value of the lineage property.
      Parameters:
      value - allowed object is OrganismType.Lineage
      See Also:
    • getEvidence

      public List<Integer> getEvidence()
      Gets the value of the evidence property.

      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 set method for the evidence property.

      For example, to add a new item, do as follows:

       getEvidence().add(newItem);
       

      Objects of the following type(s) are allowed in the list Integer

      Returns:
      The value of the evidence property.