org.biopax.paxtools.impl.level3
Class SequenceEntityReferenceImpl

java.lang.Object
  extended by org.biopax.paxtools.impl.BioPAXElementImpl
      extended by org.biopax.paxtools.impl.level3.L3ElementImpl
          extended by org.biopax.paxtools.impl.level3.XReferrableImpl
              extended by org.biopax.paxtools.impl.level3.NamedImpl
                  extended by org.biopax.paxtools.impl.level3.EntityReferenceImpl
                      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biopax.paxtools.model.BioPAXElement
BioPAXElement.Key
 
Field Summary
 
Fields inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
SEARCH_FIELD_AVAILABILITY, SEARCH_FIELD_COMMENT, SEARCH_FIELD_EC_NUMBER, SEARCH_FIELD_KEYWORD, SEARCH_FIELD_NAME, SEARCH_FIELD_SEQUENCE, SEARCH_FIELD_TERM, SEARCH_FIELD_XREF_DB, SEARCH_FIELD_XREF_ID, SEARCH_INDEX_NAME
 
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Constructor Summary
SequenceEntityReferenceImpl()
           
 
Method Summary
 BioSource getOrganism()
          An organism, e.g.
 java.lang.String getSequence()
          Polymer sequence in uppercase letters.
protected  boolean semanticallyEquivalent(BioPAXElement element)
           
 void setOrganism(BioSource organism)
          An organism, e.g.
 void setSequence(java.lang.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, 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 org.biopax.paxtools.impl.level3.XReferrableImpl
addXref, equivalenceCode, getXref, hasCommonUnificationXref, removeXref, setXref
 
Methods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setComment
 
Methods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
getAnnotations, getProxyId, getRDFId, getVersion, isEquivalent, setProxyId, setRDFId, setVersion, toString
 
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
 
Methods inherited from interface org.biopax.paxtools.model.level3.Named
addName, getDisplayName, getName, getStandardName, removeName, setDisplayName, setStandardName
 
Methods inherited from interface org.biopax.paxtools.model.level3.XReferrable
addXref, getXref, removeXref
 
Methods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeComment
 
Methods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getModelInterface, getRDFId, isEquivalent
 
Methods inherited from interface org.biopax.paxtools.model.level3.Observable
addEvidence, getEvidence, removeEvidence
 

Constructor Detail

SequenceEntityReferenceImpl

public SequenceEntityReferenceImpl()
Method Detail

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.