Package 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:
Serializable,Cloneable,BioPAXElement,EntityReference,Level3Element,Named,Observable,SequenceEntityReference,UtilityClass,XReferrable
- Direct Known Subclasses:
NucleicAcidReferenceImpl,ProteinReferenceImpl
public abstract class SequenceEntityReferenceImpl
extends EntityReferenceImpl
implements SequenceEntityReference
- See Also:
-
Field Summary
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintIf two elements are equivalent, then their equivalence code should be the same.An organism, e.g.Polymer sequence in uppercase letters.protected booleansemanticallyEquivalent(BioPAXElement element) voidsetOrganism(BioSource organism) An organism, e.g.voidsetSequence(String sequence) Polymer sequence in uppercase letters.Methods inherited from class org.biopax.paxtools.impl.level3.EntityReferenceImpl
addEntityFeature, addEntityReferenceType, addEvidence, addMemberEntityReference, getEntityFeature, getEntityReferenceOf, getEntityReferenceType, getEvidence, getMemberEntityReference, getMemberEntityReferenceOf, getModelInterface, removeEntityFeature, removeEntityReferenceType, removeEvidence, removeMemberEntityReferenceMethods inherited from class org.biopax.paxtools.impl.level3.NamedImpl
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setName, setStandardNameMethods inherited from class org.biopax.paxtools.impl.level3.XReferrableImpl
addXref, getXref, removeXref, setXrefMethods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setCommentMethods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
equals, getAnnotations, getUri, hashCode, isEquivalent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.model.BioPAXElement
getAnnotations, getModelInterface, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level3.EntityReference
addEntityFeature, addEntityReferenceType, addMemberEntityReference, getEntityFeature, getEntityReferenceOf, getEntityReferenceType, getMemberEntityReference, getMemberEntityReferenceOf, removeEntityFeature, removeEntityReferenceType, removeMemberEntityReferenceMethods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeCommentMethods inherited from interface org.biopax.paxtools.model.level3.Named
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setName, setStandardNameMethods inherited from interface org.biopax.paxtools.model.level3.Observable
addEvidence, getEvidence, removeEvidenceMethods inherited from interface org.biopax.paxtools.model.level3.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
SequenceEntityReferenceImpl
public SequenceEntityReferenceImpl()
-
-
Method Details
-
getOrganism
Description copied from interface:SequenceEntityReferenceAn 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:
getOrganismin interfaceSequenceEntityReference- Returns:
- the organism for this gene.
-
setOrganism
Description copied from interface:SequenceEntityReferenceAn 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:
setOrganismin interfaceSequenceEntityReference- Parameters:
organism- new organism for this gene
-
getSequence
Description copied from interface:SequenceEntityReferencePolymer 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:
getSequencein interfaceSequenceEntityReference- Returns:
- sequence - primary structure of a biopolymer.
-
setSequence
Description copied from interface:SequenceEntityReferencePolymer 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:
setSequencein interfaceSequenceEntityReference- Parameters:
sequence- Polymer sequence in uppercase letters.
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classBioPAXElementImpl
-
equivalenceCode
public int equivalenceCode()Description copied from interface:BioPAXElementIf two elements are equivalent, then their equivalence code should be the same.- Specified by:
equivalenceCodein interfaceBioPAXElement- Overrides:
equivalenceCodein classXReferrableImpl- Returns:
- an integer that is same across all equivalent entities.
-