Package org.uniprot.uniprot
Class GeneNameType
java.lang.Object
org.uniprot.uniprot.GeneNameType
Describes different types of gene designations.
Equivalent to the flat file GN-line.
Java class for geneNameType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="geneNameType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="evidence" type="{https://uniprot.org/uniprot}intListType" />
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="primary"/>
<enumeration value="synonym"/>
<enumeration value="ordered locus"/>
<enumeration value="ORF"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
-
evidence
-
type
-
-
Constructor Details
-
GeneNameType
public GeneNameType()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
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
setmethod 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.
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-