Package org.biopax.paxtools.impl.level3
Class EntityReferenceImpl
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
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,EntityReference,Level3Element,Named,Observable,UtilityClass,XReferrable
- Direct Known Subclasses:
SequenceEntityReferenceImpl,SmallMoleculeReferenceImpl
- 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 TypeMethodDescriptionvoidaddEntityFeature(EntityFeature entityFeature) Variable features that are observed for the entities of this entityReference - such as known PTM or methylation sites and non-covalent bonds.voidaddEntityReferenceType(EntityReferenceTypeVocabulary entityReferenceType) Adds the given cv to the list of typesvoidaddEvidence(Evidence evidence) voidaddMemberEntityReference(EntityReference memberEntity) Adds the given entityReference to the member listVariable features that are observed for the entities of this entityReference - such as known PTM or methylation sites and non-covalent bonds.Inverse ofSimplePhysicalEntity.getEntityReference()Reverse ofEntityReference.getMemberEntityReference()Class<? extends EntityReference> This method returns the actual model interface that a class implements.voidremoveEntityFeature(EntityFeature entityFeature) Variable features that are observed for the entities of this entityReference - such as known PTM or methylation sites and non-covalent bonds.voidremoveEntityReferenceType(EntityReferenceTypeVocabulary entityReferenceType) Removes the given cv from the list of typesvoidremoveEvidence(Evidence evidence) voidremoveMemberEntityReference(EntityReference memberEntity) Removes the given entityReference from the member listMethods 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, equivalenceCode, 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, semanticallyEquivalent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getUri, isEquivalentMethods 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.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
EntityReferenceImpl
public EntityReferenceImpl()Constructor.
-
-
Method Details
-
getModelInterface
Description copied from interface:BioPAXElementThis method returns the actual model interface that a class implements.- Specified by:
getModelInterfacein interfaceBioPAXElement- Returns:
- an interface from
org.biopax.paxtools.modelpackage corresponding to a BioPAX class.
-
getEntityFeature
Description copied from interface:EntityReferenceVariable features that are observed for the entities of this entityReference - such as known PTM or methylation sites and non-covalent bonds. Note that this is an aggregate list of all known features and it does not represent a state itself.- Specified by:
getEntityFeaturein interfaceEntityReference- Returns:
- a set of entityFeatures
-
addEntityFeature
Description copied from interface:EntityReferenceVariable features that are observed for the entities of this entityReference - such as known PTM or methylation sites and non-covalent bonds. Note that this is an aggregate list of all known features and it does not represent a state itself.- Specified by:
addEntityFeaturein interfaceEntityReference- Parameters:
entityFeature- to be added.
-
removeEntityFeature
Description copied from interface:EntityReferenceVariable features that are observed for the entities of this entityReference - such as known PTM or methylation sites and non-covalent bonds. Note that this is an aggregate list of all known features and it does not represent a state itself.- Specified by:
removeEntityFeaturein interfaceEntityReference- Parameters:
entityFeature- to be removed.
-
getEntityReferenceOf
Description copied from interface:EntityReferenceInverse ofSimplePhysicalEntity.getEntityReference()- Specified by:
getEntityReferenceOfin interfaceEntityReference- Returns:
- a set of
SimplePhysicalEntitythat has this EntityReference
-
getEntityReferenceType
- Specified by:
getEntityReferenceTypein interfaceEntityReference- Returns:
- Controlled vocabulary terms that is used to describe the type of grouping such as homology or functional group.
-
addEntityReferenceType
Description copied from interface:EntityReferenceAdds the given cv to the list of types- Specified by:
addEntityReferenceTypein interfaceEntityReference- Parameters:
entityReferenceType- A controlled vocabulary term that is used to describe the type of grouping such as homology or functional group.
-
removeEntityReferenceType
Description copied from interface:EntityReferenceRemoves the given cv from the list of types- Specified by:
removeEntityReferenceTypein interfaceEntityReference- Parameters:
entityReferenceType- A controlled vocabulary term that is used to describe the type of grouping such as homology or functional group.
-
getMemberEntityReference
- Specified by:
getMemberEntityReferencein interfaceEntityReference- Returns:
- Entity references that qualifies for the definition of this group. For example a member of a PFAM protein family.
-
addMemberEntityReference
Description copied from interface:EntityReferenceAdds the given entityReference to the member list- Specified by:
addMemberEntityReferencein interfaceEntityReference- Parameters:
memberEntity- An entity reference that qualifies for the definition of this group. For example a member of a PFAM protein family.
-
removeMemberEntityReference
Description copied from interface:EntityReferenceRemoves the given entityReference from the member list- Specified by:
removeMemberEntityReferencein interfaceEntityReference- Parameters:
memberEntity- An entity reference that qualifies for the definition of this group. For example a member of a PFAM protein family.
-
getMemberEntityReferenceOf
Description copied from interface:EntityReferenceReverse ofEntityReference.getMemberEntityReference()- Specified by:
getMemberEntityReferenceOfin interfaceEntityReference- Returns:
- EntityReferences that this EntityReference is a member of.
-
getEvidence
- Specified by:
getEvidencein interfaceObservable
-
addEvidence
- Specified by:
addEvidencein interfaceObservable
-
removeEvidence
- Specified by:
removeEvidencein interfaceObservable
-