Package org.biopax.paxtools.impl.level3
Class EntityImpl
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
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,Entity,Level3Element,Named,Observable,XReferrable
- Direct Known Subclasses:
GeneImpl,PhysicalEntityImpl,ProcessImpl
- 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 TypeMethodDescriptionvoidaddAvailability(String availability_text) This method adds the given text to the avaialability set.voidaddDataSource(Provenance dataSource) This method adds the given value to the DATA_SOURCE set.voidaddEvidence(Evidence newEvidence) The contents of this set can be modified but semantic consistency is not guaranteed.This method returns a set of free text descriptions of the source of this data, e.g.This method returns the interaction that this entity/pep takes part in.voidremoveAvailability(String availability_text) This method removes the given text from the avaialability set.voidremoveDataSource(Provenance dataSource) This method removes the given value from the DATA_SOURCE set.voidremoveEvidence(Evidence oldEvidence) protected booleansemanticallyEquivalent(BioPAXElement element) voidsetDataSource(Set<Provenance> dataSource) Methods 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, 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, getModelInterface, 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
-
EntityImpl
public EntityImpl()Helper object for managing names
-
-
Method Details
-
getAvailability
Description copied from interface:EntityThe contents of this set can be modified but semantic consistency is not guaranteed. UsingEntity.addAvailability(String)andEntity.removeAvailability(String)is recommended.- Specified by:
getAvailabilityin interfaceEntity- Returns:
- a set of strings describing the availability of this data (e.g. a copyright statement).
-
addAvailability
Description copied from interface:EntityThis method adds the given text to the avaialability set.- Specified by:
addAvailabilityin interfaceEntity- Parameters:
availability_text- a string describing the availability of this data (e.g. a copyright statement).
-
removeAvailability
Description copied from interface:EntityThis method removes the given text from the avaialability set.- Specified by:
removeAvailabilityin interfaceEntity- Parameters:
availability_text- a string describing the availability of this data (e.g. a copyright statement).
-
getDataSource
Description copied from interface:EntityThis method returns a set of free text descriptions of the source of this data, e.g. a database or person name. This property should be used to describe the source of the data. This is meant to be used by databases that export their data to the BioPAX format or by systems that are integrating data from multiple sources. The granularity of use (specifying the data source in many or few instances) is up to the user. It is intended that this property report the last data source, not all data sources that the data has passed through from creation. The contents of this set can be modified but semantic consistency is not guaranteed. UsingEntity.addDataSource(Provenance)andEntity.removeDataSource(Provenance)is recommended.- Specified by:
getDataSourcein interfaceEntity- Returns:
- a set of free text descriptions of the source of this data, e.g. a database or person name.
-
setDataSource
-
addDataSource
Description copied from interface:EntityThis method adds the given value to the DATA_SOURCE set.- Specified by:
addDataSourcein interfaceEntity- Parameters:
dataSource- a free text description of the source of this data, e.g. a database or person name.
-
removeDataSource
Description copied from interface:EntityThis method removes the given value from the DATA_SOURCE set.- Specified by:
removeDataSourcein interfaceEntity- Parameters:
dataSource- a free text description of the source of this data, e.g. a database or person name.
-
getParticipantOf
Description copied from interface:EntityThis method returns the interaction that this entity/pep takes part in. Contents of this set should not be modified. Reverse ofInteraction.getParticipant()- Specified by:
getParticipantOfin interfaceEntity- Returns:
- a set of interactions that
-
getEvidence
- Specified by:
getEvidencein interfaceObservable
-
addEvidence
- Specified by:
addEvidencein interfaceObservable
-
removeEvidence
- Specified by:
removeEvidencein interfaceObservable
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classBioPAXElementImpl
-