Class CommentType
Java class for commentType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="commentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="molecule" type="{https://uniprot.org/uniprot}moleculeType" minOccurs="0"/>
<choice minOccurs="0">
<group ref="{https://uniprot.org/uniprot}bpcCommentGroup"/>
<sequence>
<element name="reaction" type="{https://uniprot.org/uniprot}reactionType"/>
<element name="physiologicalReaction" type="{https://uniprot.org/uniprot}physiologicalReactionType" maxOccurs="2" minOccurs="0"/>
</sequence>
<sequence>
<element name="cofactor" type="{https://uniprot.org/uniprot}cofactorType" maxOccurs="unbounded"/>
</sequence>
<sequence>
<element name="subcellularLocation" type="{https://uniprot.org/uniprot}subcellularLocationType" maxOccurs="unbounded"/>
</sequence>
<element name="conflict">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sequence" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="resource" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="EMBL-CDS"/>
<enumeration value="EMBL"/>
</restriction>
</simpleType>
</attribute>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="version" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="frameshift"/>
<enumeration value="erroneous initiation"/>
<enumeration value="erroneous termination"/>
<enumeration value="erroneous gene model prediction"/>
<enumeration value="erroneous translation"/>
<enumeration value="miscellaneous discrepancy"/>
</restriction>
</simpleType>
</attribute>
<attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<sequence>
<element name="link" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<sequence>
<element name="event" type="{https://uniprot.org/uniprot}eventType" maxOccurs="4"/>
<element name="isoform" type="{https://uniprot.org/uniprot}isoformType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<sequence>
<element name="interactant" type="{https://uniprot.org/uniprot}interactantType" maxOccurs="2" minOccurs="2"/>
<element name="organismsDiffer" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="experiments" type="{http://www.w3.org/2001/XMLSchema}int"/>
</sequence>
<element name="disease">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="acronym" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="dbReference" type="{https://uniprot.org/uniprot}dbReferenceType"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<element name="location" type="{https://uniprot.org/uniprot}locationType" maxOccurs="unbounded" minOccurs="0"/>
<element name="text" type="{https://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="allergen"/>
<enumeration value="alternative products"/>
<enumeration value="biotechnology"/>
<enumeration value="biophysicochemical properties"/>
<enumeration value="catalytic activity"/>
<enumeration value="caution"/>
<enumeration value="cofactor"/>
<enumeration value="developmental stage"/>
<enumeration value="disease"/>
<enumeration value="domain"/>
<enumeration value="disruption phenotype"/>
<enumeration value="activity regulation"/>
<enumeration value="function"/>
<enumeration value="induction"/>
<enumeration value="miscellaneous"/>
<enumeration value="pathway"/>
<enumeration value="pharmaceutical"/>
<enumeration value="polymorphism"/>
<enumeration value="PTM"/>
<enumeration value="RNA editing"/>
<enumeration value="similarity"/>
<enumeration value="subcellular location"/>
<enumeration value="sequence caution"/>
<enumeration value="subunit"/>
<enumeration value="tissue specificity"/>
<enumeration value="toxic dose"/>
<enumeration value="online information"/>
<enumeration value="mass spectrometry"/>
<enumeration value="interaction"/>
</restriction>
</simpleType>
</attribute>
<attribute name="locationType" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mass" type="{http://www.w3.org/2001/XMLSchema}float" />
<attribute name="error" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="method" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="evidence" type="{https://uniprot.org/uniprot}intListType" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex typestatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommentType.Absorptionprotected List<CofactorType>protected CommentType.ConflictUsed in 'sequence caution' annotations.protected CommentType.DiseaseUsed in 'disease' annotations.protected StringDescribes the error of the mass measurement in 'mass spectrometry' annotations.protected Integerprotected List<InteractantType>protected List<IsoformType>protected CommentType.Kineticsprotected List<CommentType.Link>Used in 'online information' annotations.protected List<LocationType>Used in 'mass spectrometry' and 'sequence caution' annotations.protected StringDescribes the type of sequence location in 'RNA editing' annotations.protected FloatDescribes the molecular mass in 'mass spectrometry' annotations.protected StringDescribes the experimental method in 'mass spectrometry' annotations.protected MoleculeTypeprotected StringDescribes an optional name for an 'online information'.protected Booleanprotected CommentType.PhDependenceprotected List<PhysiologicalReactionType>protected ReactionTypeprotected CommentType.RedoxPotentialprotected List<SubcellularLocationType>protected CommentType.TemperatureDependenceprotected List<EvidencedStringType>protected StringDescribes the type of a general annotation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the absorption property.Gets the value of the cofactor property.Used in 'sequence caution' annotations.Used in 'disease' annotations.getError()Describes the error of the mass measurement in 'mass spectrometry' annotations.getEvent()Gets the value of the event property.Gets the value of the evidence property.Gets the value of the experiments property.Gets the value of the interactant property.Gets the value of the isoform property.Gets the value of the kinetics property.getLink()Used in 'online information' annotations.Used in 'mass spectrometry' and 'sequence caution' annotations.Describes the type of sequence location in 'RNA editing' annotations.getMass()Describes the molecular mass in 'mass spectrometry' annotations.Describes the experimental method in 'mass spectrometry' annotations.Gets the value of the molecule property.getName()Describes an optional name for an 'online information'.Gets the value of the phDependence property.Gets the value of the physiologicalReaction property.Gets the value of the reaction property.Gets the value of the redoxPotential property.Gets the value of the subcellularLocation property.Gets the value of the temperatureDependence property.getText()Gets the value of the text property.getType()Describes the type of a general annotation.Gets the value of the organismsDiffer property.voidSets the value of the absorption property.voidsetConflict(CommentType.Conflict value) Sets the value of the conflict property.voidsetDisease(CommentType.Disease value) Sets the value of the disease property.voidSets the value of the error property.voidsetExperiments(Integer value) Sets the value of the experiments property.voidsetKinetics(CommentType.Kinetics value) Sets the value of the kinetics property.voidsetLocationType(String value) Sets the value of the locationType property.voidSets the value of the mass property.voidSets the value of the method property.voidsetMolecule(MoleculeType value) Sets the value of the molecule property.voidSets the value of the name property.voidsetOrganismsDiffer(Boolean value) Sets the value of the organismsDiffer property.voidSets the value of the phDependence property.voidsetReaction(ReactionType value) Sets the value of the reaction property.voidSets the value of the redoxPotential property.voidSets the value of the temperatureDependence property.voidSets the value of the type property.
-
Field Details
-
molecule
-
absorption
-
kinetics
-
phDependence
-
redoxPotential
-
temperatureDependence
-
reaction
-
physiologicalReaction
-
cofactor
-
subcellularLocation
-
conflict
Used in 'sequence caution' annotations. -
link
Used in 'online information' annotations. -
event
-
isoform
-
interactant
-
organismsDiffer
-
experiments
-
disease
Used in 'disease' annotations. -
location
Used in 'mass spectrometry' and 'sequence caution' annotations. -
text
-
type
Describes the type of a general annotation. Equivalent to the flat file CC comment topics (except for "DATABASE" which is translated to "online information"). -
locationType
Describes the type of sequence location in 'RNA editing' annotations. Common values are "Not_applicable" and "Undetermined". -
name
Describes an optional name for an 'online information'. -
mass
Describes the molecular mass in 'mass spectrometry' annotations. -
error
Describes the error of the mass measurement in 'mass spectrometry' annotations. -
method
Describes the experimental method in 'mass spectrometry' annotations. -
evidence
-
-
Constructor Details
-
CommentType
public CommentType()
-
-
Method Details
-
getMolecule
Gets the value of the molecule property.- Returns:
- possible object is
MoleculeType
-
setMolecule
Sets the value of the molecule property.- Parameters:
value- allowed object isMoleculeType
-
getAbsorption
Gets the value of the absorption property.- Returns:
- possible object is
CommentType.Absorption
-
setAbsorption
Sets the value of the absorption property.- Parameters:
value- allowed object isCommentType.Absorption
-
getKinetics
Gets the value of the kinetics property.- Returns:
- possible object is
CommentType.Kinetics
-
setKinetics
Sets the value of the kinetics property.- Parameters:
value- allowed object isCommentType.Kinetics
-
getPhDependence
Gets the value of the phDependence property.- Returns:
- possible object is
CommentType.PhDependence
-
setPhDependence
Sets the value of the phDependence property.- Parameters:
value- allowed object isCommentType.PhDependence
-
getRedoxPotential
Gets the value of the redoxPotential property.- Returns:
- possible object is
CommentType.RedoxPotential
-
setRedoxPotential
Sets the value of the redoxPotential property.- Parameters:
value- allowed object isCommentType.RedoxPotential
-
getTemperatureDependence
Gets the value of the temperatureDependence property.- Returns:
- possible object is
CommentType.TemperatureDependence
-
setTemperatureDependence
Sets the value of the temperatureDependence property.- Parameters:
value- allowed object isCommentType.TemperatureDependence
-
getReaction
Gets the value of the reaction property.- Returns:
- possible object is
ReactionType
-
setReaction
Sets the value of the reaction property.- Parameters:
value- allowed object isReactionType
-
getPhysiologicalReaction
Gets the value of the physiologicalReaction 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 physiologicalReaction property.For example, to add a new item, do as follows:
getPhysiologicalReaction().add(newItem);
Objects of the following type(s) are allowed in the list
PhysiologicalReactionType- Returns:
- The value of the physiologicalReaction property.
-
getCofactor
Gets the value of the cofactor 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 cofactor property.For example, to add a new item, do as follows:
getCofactor().add(newItem);
Objects of the following type(s) are allowed in the list
CofactorType- Returns:
- The value of the cofactor property.
-
getSubcellularLocation
Gets the value of the subcellularLocation 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 subcellularLocation property.For example, to add a new item, do as follows:
getSubcellularLocation().add(newItem);
Objects of the following type(s) are allowed in the list
SubcellularLocationType- Returns:
- The value of the subcellularLocation property.
-
getConflict
Used in 'sequence caution' annotations.- Returns:
- possible object is
CommentType.Conflict
-
setConflict
Sets the value of the conflict property.- Parameters:
value- allowed object isCommentType.Conflict- See Also:
-
getLink
Used in 'online information' annotations. Gets the value of the link 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 link property.For example, to add a new item, do as follows:
getLink().add(newItem);
Objects of the following type(s) are allowed in the list
CommentType.Link- Returns:
- The value of the link property.
-
getEvent
Gets the value of the event 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 event property.For example, to add a new item, do as follows:
getEvent().add(newItem);
Objects of the following type(s) are allowed in the list
EventType- Returns:
- The value of the event property.
-
getIsoform
Gets the value of the isoform 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 isoform property.For example, to add a new item, do as follows:
getIsoform().add(newItem);
Objects of the following type(s) are allowed in the list
IsoformType- Returns:
- The value of the isoform property.
-
getInteractant
Gets the value of the interactant 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 interactant property.For example, to add a new item, do as follows:
getInteractant().add(newItem);
Objects of the following type(s) are allowed in the list
InteractantType- Returns:
- The value of the interactant property.
-
isOrganismsDiffer
Gets the value of the organismsDiffer property.- Returns:
- possible object is
Boolean
-
setOrganismsDiffer
Sets the value of the organismsDiffer property.- Parameters:
value- allowed object isBoolean
-
getExperiments
Gets the value of the experiments property.- Returns:
- possible object is
Integer
-
setExperiments
Sets the value of the experiments property.- Parameters:
value- allowed object isInteger
-
getDisease
Used in 'disease' annotations.- Returns:
- possible object is
CommentType.Disease
-
setDisease
Sets the value of the disease property.- Parameters:
value- allowed object isCommentType.Disease- See Also:
-
getLocation
Used in 'mass spectrometry' and 'sequence caution' annotations. Gets the value of the location 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 location property.For example, to add a new item, do as follows:
getLocation().add(newItem);
Objects of the following type(s) are allowed in the list
LocationType- Returns:
- The value of the location property.
-
getText
Gets the value of the text 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 text property.For example, to add a new item, do as follows:
getText().add(newItem);
Objects of the following type(s) are allowed in the list
EvidencedStringType- Returns:
- The value of the text property.
-
getType
Describes the type of a general annotation. Equivalent to the flat file CC comment topics (except for "DATABASE" which is translated to "online information").- Returns:
- possible object is
String
-
setType
Sets the value of the type property. -
getLocationType
Describes the type of sequence location in 'RNA editing' annotations. Common values are "Not_applicable" and "Undetermined".- Returns:
- possible object is
String
-
setLocationType
Sets the value of the locationType property.- Parameters:
value- allowed object isString- See Also:
-
getName
Describes an optional name for an 'online information'.- Returns:
- possible object is
String
-
setName
Sets the value of the name property. -
getMass
Describes the molecular mass in 'mass spectrometry' annotations.- Returns:
- possible object is
Float
-
setMass
Sets the value of the mass property. -
getError
Describes the error of the mass measurement in 'mass spectrometry' annotations.- Returns:
- possible object is
String
-
setError
Sets the value of the error property.- Parameters:
value- allowed object isString- See Also:
-
getMethod
Describes the experimental method in 'mass spectrometry' annotations.- Returns:
- possible object is
String
-
setMethod
Sets the value of the method property.- Parameters:
value- allowed object isString- See Also:
-
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.
-