Package org.biopax.paxtools.impl.level3
Class SimplePhysicalEntityImpl
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.EntityImpl
org.biopax.paxtools.impl.level3.PhysicalEntityImpl
org.biopax.paxtools.impl.level3.SimplePhysicalEntityImpl
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,Controller,Entity,Level3Element,Named,Observable,PhysicalEntity,SimplePhysicalEntity,XReferrable
- Direct Known Subclasses:
NucleicAcidImpl,ProteinImpl,SmallMoleculeImpl
public abstract class SimplePhysicalEntityImpl
extends PhysicalEntityImpl
implements SimplePhysicalEntity
- 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.Reference entity for this physical entity.This method returns: The entity reference of this PhysicalEntity plus If this PhysicalEntity has member PhysicalEntities their generic EntityReferences iteratively plus If the EntityReference of this PhysicalEntity has member EntityReferences their members iterativelyprotected booleansemanticallyEquivalent(BioPAXElement element) voidsetEntityReference(EntityReference entityReference) Reference entity for this physical entity.Methods inherited from class org.biopax.paxtools.impl.level3.PhysicalEntityImpl
addFeature, addMemberPhysicalEntity, addNotFeature, getCellularLocation, getComponentOf, getControllerOf, getFeature, getMemberPhysicalEntity, getMemberPhysicalEntityOf, getModelInterface, getNotFeature, hasEquivalentCellularLocation, hasEquivalentFeatures, locationAndFeatureCode, removeFeature, removeMemberPhysicalEntity, removeNotFeature, setCellularLocationMethods inherited from class org.biopax.paxtools.impl.level3.EntityImpl
addAvailability, addDataSource, addEvidence, getAvailability, getDataSource, getEvidence, getParticipantOf, removeAvailability, removeDataSource, removeEvidence, setDataSourceMethods 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, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level3.Controller
getControllerOfMethods inherited from interface org.biopax.paxtools.model.level3.Entity
addAvailability, addDataSource, getAvailability, getDataSource, getParticipantOf, removeAvailability, removeDataSourceMethods 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.PhysicalEntity
addFeature, addMemberPhysicalEntity, addNotFeature, getCellularLocation, getComponentOf, getFeature, getMemberPhysicalEntity, getMemberPhysicalEntityOf, getModelInterface, getNotFeature, hasEquivalentCellularLocation, hasEquivalentFeatures, removeFeature, removeMemberPhysicalEntity, removeNotFeature, setCellularLocationMethods inherited from interface org.biopax.paxtools.model.level3.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
SimplePhysicalEntityImpl
public SimplePhysicalEntityImpl()
-
-
Method Details
-
getGenericEntityReferences
Description copied from interface:SimplePhysicalEntityThis method returns:- The entity reference of this PhysicalEntity plus
- If this PhysicalEntity has member PhysicalEntities their generic EntityReferences iteratively plus
- If the EntityReference of this PhysicalEntity has member EntityReferences their members iteratively
- Specified by:
getGenericEntityReferencesin interfaceSimplePhysicalEntity- Returns:
- this and members' entity references (see above)
-
getEntityReference
Description copied from interface:SimplePhysicalEntityReference entity for this physical entity.- Specified by:
getEntityReferencein interfaceSimplePhysicalEntity- Returns:
- entity reference; i.e., that of a stateless canonical identifiable entity
-
setEntityReference
Description copied from interface:SimplePhysicalEntityReference entity for this physical entity.- Specified by:
setEntityReferencein interfaceSimplePhysicalEntity- Parameters:
entityReference- a BioPAX EntityReference object (usually a more specific subclass of)
-
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 classPhysicalEntityImpl- Returns:
- an integer that is same across all equivalent entities.
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classPhysicalEntityImpl
-