Class DbReferenceType

java.lang.Object
org.uniprot.uniprot.DbReferenceType

public class DbReferenceType extends Object
Describes a database cross-reference. Equivalent to the flat file DR-line.

Java class for dbReferenceType complex type

.

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


 <complexType name="dbReferenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="molecule" type="{https://uniprot.org/uniprot}moleculeType" minOccurs="0"/>
         <element name="property" type="{https://uniprot.org/uniprot}propertyType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="evidence" type="{https://uniprot.org/uniprot}intListType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • molecule

      protected MoleculeType molecule
    • property

      protected List<PropertyType> property
    • type

      protected String type
      Describes the name of the database.
    • id

      protected String id
      Describes a unique database identifier.
    • evidence

      protected List<Integer> evidence
  • Constructor Details

    • DbReferenceType

      public DbReferenceType()
  • Method Details

    • getMolecule

      public MoleculeType getMolecule()
      Gets the value of the molecule property.
      Returns:
      possible object is MoleculeType
    • setMolecule

      public void setMolecule(MoleculeType value)
      Sets the value of the molecule property.
      Parameters:
      value - allowed object is MoleculeType
    • getProperty

      public List<PropertyType> getProperty()
      Gets the value of the property 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 property property.

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

       getProperty().add(newItem);
       

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

      Returns:
      The value of the property property.
    • getType

      public String getType()
      Describes the name of the database.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      See Also:
    • getId

      public String getId()
      Describes a unique database identifier.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      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.