Class ReferenceType

java.lang.Object
org.uniprot.uniprot.ReferenceType

public class ReferenceType extends Object
Describes a citation and a summary of its content. Equivalent to the flat file RN-, RP-, RC-, RX-, RG-, RA-, RT- and RL-lines.

Java class for referenceType complex type

.

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


 <complexType name="referenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="citation" type="{https://uniprot.org/uniprot}citationType"/>
         <group ref="{https://uniprot.org/uniprot}sptrCitationGroup"/>
       </sequence>
       <attribute name="evidence" type="{https://uniprot.org/uniprot}intListType" />
       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • citation

      protected CitationType citation
    • scope

      protected List<String> scope
      Describes the scope of a citation. Equivalent to the flat file RP-line.
    • source

      protected SourceDataType source
    • evidence

      protected List<Integer> evidence
    • key

      protected String key
  • Constructor Details

    • ReferenceType

      public ReferenceType()
  • Method Details

    • getCitation

      public CitationType getCitation()
      Gets the value of the citation property.
      Returns:
      possible object is CitationType
    • setCitation

      public void setCitation(CitationType value)
      Sets the value of the citation property.
      Parameters:
      value - allowed object is CitationType
    • getScope

      public List<String> getScope()
      Describes the scope of a citation. Equivalent to the flat file RP-line. Gets the value of the scope 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 scope property.

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

       getScope().add(newItem);
       

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

      Returns:
      The value of the scope property.
    • getSource

      public SourceDataType getSource()
      Gets the value of the source property.
      Returns:
      possible object is SourceDataType
    • setSource

      public void setSource(SourceDataType value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is SourceDataType
    • 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.
    • getKey

      public String getKey()
      Gets the value of the key property.
      Returns:
      possible object is String
    • setKey

      public void setKey(String value)
      Sets the value of the key property.
      Parameters:
      value - allowed object is String