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:
- java.io.Serializable, java.lang.Cloneable, BioPAXElement, Controller, Entity, Level3Element, Named, Observable, PhysicalEntity, XReferrable
- Direct Known Subclasses:
- ComplexImpl, SimplePhysicalEntityImpl
@Entity
@Indexed
public class PhysicalEntityImpl
- extends EntityImpl
- implements PhysicalEntity
- See Also:
- Serialized Form
| Methods inherited from class org.biopax.paxtools.impl.level3.EntityImpl |
addAvailability, addDataSource, addEvidence, getAvailability, getDataSource, getEvidence, getParticipantOf, removeAvailability, removeDataSource, removeEvidence, setAvailability, setDataSource, setEvidence, setParticipantOf |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PhysicalEntityImpl
public PhysicalEntityImpl()
getModelInterface
public java.lang.Class<? extends PhysicalEntity> getModelInterface()
- Description copied from interface:
PhysicalEntity
- Overridden to provide better downcasting
- Specified by:
getModelInterface in interface BioPAXElement- Specified by:
getModelInterface in interface PhysicalEntity
- Returns:
- an interface from
org.biopax.paxtools.model package
corresponding to a BioPAX class.
getComponentOf
public java.util.Set<Complex> getComponentOf()
- Specified by:
getComponentOf in interface PhysicalEntity
getCellularLocation
public CellularLocationVocabulary getCellularLocation()
- Description copied from interface:
PhysicalEntity
- A 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:
getCellularLocation in interface PhysicalEntity
- Returns:
- cellular location of this physical entity
setCellularLocation
public void setCellularLocation(CellularLocationVocabulary location)
- Description copied from interface:
PhysicalEntity
- A 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:
setCellularLocation in interface PhysicalEntity
- Parameters:
location - for this physical entity
getFeature
public java.util.Set<EntityFeature> getFeature()
- Specified by:
getFeature in interface PhysicalEntity
addFeature
public void addFeature(EntityFeature feature)
- Specified by:
addFeature in interface PhysicalEntity
removeFeature
public void removeFeature(EntityFeature feature)
- Specified by:
removeFeature in interface PhysicalEntity
setFeature
protected void setFeature(java.util.Set<EntityFeature> feature)
getNotFeature
public java.util.Set<EntityFeature> getNotFeature()
- Specified by:
getNotFeature in interface PhysicalEntity
addNotFeature
public void addNotFeature(EntityFeature feature)
- Specified by:
addNotFeature in interface PhysicalEntity
removeNotFeature
public void removeNotFeature(EntityFeature feature)
- Specified by:
removeNotFeature in interface PhysicalEntity
setNotFeature
protected void setNotFeature(java.util.Set<EntityFeature> featureSet)
getMemberPhysicalEntity
public java.util.Set<PhysicalEntity> getMemberPhysicalEntity()
- Specified by:
getMemberPhysicalEntity in interface PhysicalEntity
addMemberPhysicalEntity
public void addMemberPhysicalEntity(PhysicalEntity newMember)
- Specified by:
addMemberPhysicalEntity in interface PhysicalEntity
removeMemberPhysicalEntity
public void removeMemberPhysicalEntity(PhysicalEntity oldMember)
- Specified by:
removeMemberPhysicalEntity in interface PhysicalEntity
setMemberPhysicalEntity
protected void setMemberPhysicalEntity(java.util.Set<PhysicalEntity> memberPhysicalEntity)
getMemberPhysicalEntityOf
public java.util.Set<PhysicalEntity> getMemberPhysicalEntityOf()
- Specified by:
getMemberPhysicalEntityOf in interface PhysicalEntity
semanticallyEquivalent
protected boolean semanticallyEquivalent(BioPAXElement element)
- Overrides:
semanticallyEquivalent in class EntityImpl
equivalenceCode
public int equivalenceCode()
- Description copied from interface:
BioPAXElement
- If two elements are equivalent, then their equivalence code should be the
same.
- Specified by:
equivalenceCode in interface BioPAXElement- Overrides:
equivalenceCode in class XReferrableImpl
- Returns:
- an integer that is same across all equivalent entities.
hasEquivalentCellularLocation
public boolean hasEquivalentCellularLocation(PhysicalEntity that)
- Specified by:
hasEquivalentCellularLocation in interface PhysicalEntity
hasEquivalentFeatures
public boolean hasEquivalentFeatures(PhysicalEntity that)
- Specified by:
hasEquivalentFeatures in interface PhysicalEntity
locationAndFeatureCode
protected int locationAndFeatureCode()
getControllerOf
public java.util.Set<Control> getControllerOf()
- Description copied from interface:
Controller
- This method returns the list of
Control interactions that this entity controls. Reverse method of
Control.getController(). Contents of this set is automatically maintained and should not be modified.
- Specified by:
getControllerOf in interface Controller
- Returns:
- list of
Control interactions that this entity controls.
setControllerOf
protected void setControllerOf(java.util.Set<Control> controllerOf)
setMemberPhysicalEntityOf
protected void setMemberPhysicalEntityOf(java.util.Set<PhysicalEntity> memberPhysicalEntityOf)
setComponentOf
protected void setComponentOf(java.util.Set<Complex> componentOf)
Copyright © 2011 BioPAX. All Rights Reserved.