Package org.biopax.paxtools.model.level2
Interface entity
- All Superinterfaces:
BioPAXElement,Cloneable,InteractionParticipant,Level2Element,Serializable,XReferrable
- All Known Subinterfaces:
biochemicalReaction,catalysis,complex,complexAssembly,control,conversion,dna,interaction,modulation,pathway,physicalEntity,physicalInteraction,process,protein,rna,sequenceEntity,smallMolecule,transport,transportWithBiochemicalReaction
This class represents a discrete biological unit used when describing
pathways. This is the root class for all biological concepts in the ontology,
which include pathways, interactions and physical entities. As the most
abstract class in the ontology, instances of the entity class should never be
created. Instead, more specific classes should be used. Synonyms: thing,
object, bioentity.
-
Field Summary
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAVAILABILITY(String AVAILABILITY_TEXT) This method adds the given text to the avaialability set.voidaddDATA_SOURCE(dataSource DATA_SOURCE_INST) This method adds the given value to the DATA_SOURCE set.voidaddSYNONYMS(String SYNONYMS_TEXT) This method adds the given value to the SYNONYMS set.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.getNAME()This method returns the preferred full name for this entity.This method sets an abbreviated name for this entity, preferably a name that is short enough to be used in a visualization application to label a graphical element that represents this entity.The contents of this set can be modified but semantic consistency is not guaranteed.voidremoveAVAILABILITY(String AVAILABILITY_TEXT) This method removes the given text from the avaialability set.voidremoveDATA_SOURCE(dataSource DATA_SOURCE_INST) This method removes the given value from the DATA_SOURCE set.voidremoveSYNONYMS(String SYNONYMS_TEXT) This method removes the given value from the SYNONYMS set.voidsetAVAILABILITY(Set<String> AVAILABILITY_TEXT) This method overrides existing set with the new set.voidsetDATA_SOURCE(Set<dataSource> DATA_SOURCE) This method overrides existing set with the new set.voidThis method sets the preferred full name for this entity to the given value.voidsetSHORT_NAME(String SHORT_NAME) An abbreviated name for this entity, preferably a name that is short enough to be used in a visualization application to label a graphical element that represents this entity.voidsetSYNONYMS(Set<String> SYNONYMS) This method overrides existing set with the new set.Methods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getModelInterface, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level2.InteractionParticipant
isPARTICIPANTSofMethods inherited from interface org.biopax.paxtools.model.level2.Level2Element
addCOMMENT, getCOMMENT, removeCOMMENT, setCOMMENTMethods inherited from interface org.biopax.paxtools.model.level2.XReferrable
addXREF, findCommonPublications, findCommonRelationships, findCommonUnifications, getXREF, removeXREF, setXREF
-
Method Details
-
addAVAILABILITY
This method adds the given text to the avaialability set.- Parameters:
AVAILABILITY_TEXT- a string describing the availability of this data (e.g. a copyright statement).
-
addDATA_SOURCE
This method adds the given value to the DATA_SOURCE set.- Parameters:
DATA_SOURCE_INST- a free text description of the source of this data, e.g. a database or person name.
-
addSYNONYMS
This method adds the given value to the SYNONYMS set.- Parameters:
SYNONYMS_TEXT- a new name to be added
-
getAVAILABILITY
The contents of this set can be modified but semantic consistency is not guaranteed. UsingaddAVAILABILITY(String)andremoveAVAILABILITY(String)is recommended.- Returns:
- a set of strings describing the availability of this data (e.g. a copyright statement).
-
getDATA_SOURCE
Set<dataSource> getDATA_SOURCE()This 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. UsingaddDATA_SOURCE(org.biopax.paxtools.model.level2.dataSource)andremoveDATA_SOURCE(org.biopax.paxtools.model.level2.dataSource)is recommended.- Returns:
- a set of free text descriptions of the source of this data, e.g. a database or person name.
-
getNAME
String getNAME()This method returns the preferred full name for this entity.- Returns:
- preferred full name for this entity
-
getSHORT_NAME
String getSHORT_NAME()This method sets an abbreviated name for this entity, preferably a name that is short enough to be used in a visualization application to label a graphical element that represents this entity. If no short name is available, an xref may be used for this purpose by the visualization application.- Returns:
- an abbreviated name suitable for display.
-
getSYNONYMS
The contents of this set can be modified but semantic consistency is not guaranteed. UsingaddSYNONYMS(java.lang.String)andremoveSYNONYMS(java.lang.String)is recommended.- Returns:
- a set of synonyms for the name of this entity. This should include the values of the NAME and SHORT-NAME property so that it is easy to find all known names in one place.
-
removeAVAILABILITY
This method removes the given text from the avaialability set.- Parameters:
AVAILABILITY_TEXT- a string describing the availability of this data (e.g. a copyright statement).
-
removeDATA_SOURCE
This method removes the given value from the DATA_SOURCE set.- Parameters:
DATA_SOURCE_INST- a free text description of the source of this data, e.g. a database or person name.
-
removeSYNONYMS
This method removes the given value from the SYNONYMS set.- Parameters:
SYNONYMS_TEXT- a new name to be added
-
setAVAILABILITY
This method overrides existing set with the new set. If you want to append to the existing set, useaddAVAILABILITY(java.lang.String)instead.- Parameters:
AVAILABILITY_TEXT- a set of strings describing the availability of this data (e.g. a copyright statement).
-
setDATA_SOURCE
This method overrides existing set with the new set. If you want to append to the existing set, useaddDATA_SOURCE(org.biopax.paxtools.model.level2.dataSource)instead.- Parameters:
DATA_SOURCE- a set of free text descriptions of the source of this data, e.g. a database or person name.
-
setNAME
This method sets the preferred full name for this entity to the given value.- Parameters:
NAME- The preferred full name for this entity.
-
setSHORT_NAME
An abbreviated name for this entity, preferably a name that is short enough to be used in a visualization application to label a graphical element that represents this entity. If no short name is available, an xref may be used for this purpose by the visualization application.- Parameters:
SHORT_NAME- new short name
-
setSYNONYMS
This method overrides existing set with the new set. If you want to append to the existing set, useaddSYNONYMS(java.lang.String)instead.- Parameters:
SYNONYMS- a set of names for this entity.
-