org.biopax.paxtools.impl.level3
Class SequenceEntityReferenceImpl
java.lang.Object
org.biopax.paxtools.impl.BioPAXElementImpl
org.biopax.paxtools.impl.level3.L3ElementImpl
org.biopax.paxtools.impl.level3.XReferrableImpl
org.biopax.paxtools.impl.level3.NamedImpl
org.biopax.paxtools.impl.level3.EntityReferenceImpl
org.biopax.paxtools.impl.level3.SequenceEntityReferenceImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, BioPAXElement, EntityReference, Level3Element, Named, Observable, SequenceEntityReference, UtilityClass, XReferrable
- Direct Known Subclasses:
- NucleicAcidReferenceImpl, ProteinReferenceImpl
@Entity
public abstract class SequenceEntityReferenceImpl
- extends EntityReferenceImpl
- implements SequenceEntityReference
- See Also:
- Serialized Form
| Methods inherited from class org.biopax.paxtools.impl.level3.EntityReferenceImpl |
addEntityFeature, addEntityReferenceType, addEvidence, addMemberEntityReference, getEntityFeature, getEntityReferenceOf, getEntityReferenceType, getEvidence, getMemberEntityReference, getMemberEntityReferenceOf, getModelInterface, removeEntityFeature, removeEntityReferenceType, removeEvidence, removeMemberEntityReference, setEntityFeature, setEntityReferenceOf, setEntityReferenceType, setEvidence, setMemberEntity, setMemberEntityReference, setMemberEntityReferenceOf |
| Methods inherited from class org.biopax.paxtools.impl.level3.NamedImpl |
addName, getDisplayName, getDisplayNameX, getName, getNameX, getStandardName, getStandardNameX, removeName, setDisplayName, setDisplayNameX, setName, setNameX, setStandardName, setStandardNameX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.biopax.paxtools.model.level3.EntityReference |
addEntityFeature, addEntityReferenceType, addMemberEntityReference, getEntityFeature, getEntityReferenceOf, getEntityReferenceType, getMemberEntityReference, getMemberEntityReferenceOf, removeEntityFeature, removeEntityReferenceType, removeMemberEntityReference |
SequenceEntityReferenceImpl
public SequenceEntityReferenceImpl()
getOrganism
public BioSource getOrganism()
- Description copied from interface:
SequenceEntityReference
- An organism, e.g. 'Homo sapiens'. This is the organism that the entity is found in. Pathways may
not have an organism associated with them, for instance, reference pathways from KEGG.
Sequence-based entities (DNA, protein, RNA) may contain an xref to a sequence database that
contains organism information, in which case the information should be consistent with the value
for ORGANISM.
- Specified by:
getOrganism in interface SequenceEntityReference
- Returns:
- the organism for this gene.
setOrganism
public void setOrganism(BioSource organism)
- Description copied from interface:
SequenceEntityReference
- An organism, e.g. 'Homo sapiens'. This is the organism that the entity is found in. Pathways may
not have an organism associated with them, for instance, reference pathways from KEGG.
Sequence-based entities (DNA, protein, RNA) may contain an xref to a sequence database that
contains organism information, in which case the information should be consistent with the value
for ORGANISM.
- Specified by:
setOrganism in interface SequenceEntityReference
- Parameters:
organism - new organism for this gene
getSequence
@Field(name="sequence",
index=TOKENIZED)
public java.lang.String getSequence()
- Description copied from interface:
SequenceEntityReference
- Polymer sequence in uppercase letters. For DNA, usually A,C,G,T letters representing the
nucleosides of adenine, cytosine, guanine and thymine, respectively; for RNA, usually A, C, U,
G; for protein, usually the letters corresponding to the 20 letter IUPAC amino acid code.
- Specified by:
getSequence in interface SequenceEntityReference
setSequence
public void setSequence(java.lang.String sequence)
- Description copied from interface:
SequenceEntityReference
- Polymer sequence in uppercase letters. For DNA, usually A,C,G,T letters representing the
nucleosides of adenine, cytosine, guanine and thymine, respectively; for RNA, usually A, C, U,
G; for protein, usually the letters corresponding to the 20 letter IUPAC amino acid code.
- Specified by:
setSequence in interface SequenceEntityReference
- Parameters:
sequence - Polymer sequence in uppercase letters.
semanticallyEquivalent
protected boolean semanticallyEquivalent(BioPAXElement element)
- Overrides:
semanticallyEquivalent in class EntityReferenceImpl
Copyright © 2011 BioPAX. All Rights Reserved.