Package org.biopax.paxtools.impl.level3
Class PhysicalEntityImpl
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
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,Controller,Entity,Level3Element,Named,Observable,PhysicalEntity,XReferrable
- Direct Known Subclasses:
ComplexImpl,SimplePhysicalEntityImpl
- 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 TypeMethodDescriptionvoidaddFeature(EntityFeature feature) voidvoidaddNotFeature(EntityFeature feature) intIf two elements are equivalent, then their equivalence code should be the same.A cellular location, e.g.This method returns the list ofControlinteractions that this entity controls.Please avoid using this property in your BioPAX L3 models unless absolutely sure/required, for there is an alternative way (using PhysicalEntity/entityReference/memberEntityReference), and this will probably be deprecated in the future BioPAX releases.Class<? extends PhysicalEntity>Overridden to provide better downcastingbooleanbooleanprotected intvoidremoveFeature(EntityFeature feature) voidremoveMemberPhysicalEntity(PhysicalEntity oldMember) voidremoveNotFeature(EntityFeature feature) protected booleansemanticallyEquivalent(BioPAXElement element) voidA cellular location, e.g.Methods 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.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.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
PhysicalEntityImpl
public PhysicalEntityImpl()
-
-
Method Details
-
getModelInterface
Description copied from interface:PhysicalEntityOverridden to provide better downcasting- Specified by:
getModelInterfacein interfaceBioPAXElement- Specified by:
getModelInterfacein interfacePhysicalEntity- Returns:
- an interface from
org.biopax.paxtools.modelpackage corresponding to a BioPAX class.
-
getComponentOf
- Specified by:
getComponentOfin interfacePhysicalEntity
-
getCellularLocation
Description copied from interface:PhysicalEntityA cellular location, e.g. 'cytoplasm'. This should reference a term in the Gene Ontology Cellular Component ontology. The location referred to by this property should be as specific as is known. If an interaction is known to occur in multiple locations, separate interactions (and physicalEntities) must be created for each different location. If the location of a participant in a complex is unspecified, it may be assumed to be the same location as that of the complex. A molecule in two different cellular locations are considered two different physical entities.- Specified by:
getCellularLocationin interfacePhysicalEntity- Returns:
- cellular location of this physical entity
-
setCellularLocation
Description copied from interface:PhysicalEntityA cellular location, e.g. 'cytoplasm'. This should reference a term in the Gene Ontology Cellular Component ontology. The location referred to by this property should be as specific as is known. If an interaction is known to occur in multiple locations, separate interactions (and physicalEntities) must be created for each different location. If the location of a participant in a complex is unspecified, it may be assumed to be the same location as that of the complex. A molecule in two different cellular locations are considered two different physical entities.- Specified by:
setCellularLocationin interfacePhysicalEntity- Parameters:
location- for this physical entity
-
getFeature
- Specified by:
getFeaturein interfacePhysicalEntity
-
addFeature
- Specified by:
addFeaturein interfacePhysicalEntity
-
removeFeature
- Specified by:
removeFeaturein interfacePhysicalEntity
-
getNotFeature
- Specified by:
getNotFeaturein interfacePhysicalEntity
-
addNotFeature
- Specified by:
addNotFeaturein interfacePhysicalEntity
-
removeNotFeature
- Specified by:
removeNotFeaturein interfacePhysicalEntity
-
getMemberPhysicalEntity
Description copied from interface:PhysicalEntityPlease avoid using this property in your BioPAX L3 models unless absolutely sure/required, for there is an alternative way (using PhysicalEntity/entityReference/memberEntityReference), and this will probably be deprecated in the future BioPAX releases. It's usually hard to say what this relationship (grouping) means...- Specified by:
getMemberPhysicalEntityin interfacePhysicalEntity- Returns:
- member physical entities
-
addMemberPhysicalEntity
- Specified by:
addMemberPhysicalEntityin interfacePhysicalEntity
-
removeMemberPhysicalEntity
- Specified by:
removeMemberPhysicalEntityin interfacePhysicalEntity
-
getMemberPhysicalEntityOf
- Specified by:
getMemberPhysicalEntityOfin interfacePhysicalEntity
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classEntityImpl
-
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.
-
hasEquivalentCellularLocation
- Specified by:
hasEquivalentCellularLocationin interfacePhysicalEntity
-
hasEquivalentFeatures
- Specified by:
hasEquivalentFeaturesin interfacePhysicalEntity
-
locationAndFeatureCode
protected int locationAndFeatureCode() -
getControllerOf
Description copied from interface:ControllerThis method returns the list ofControlinteractions that this entity controls. Reverse method ofControl.getController(). Contents of this set is automatically maintained and should not be modified.- Specified by:
getControllerOfin interfaceController- Returns:
- list of
Controlinteractions that this entity controls.
-