|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Named
Interface for all classes that can have names in BioPAX. All named BioPAX elements can have multiple names, and exactly one standardName and exactly one shortName. standardName and shortName are OWL subproperties of name in BioPAX, so these are automatically considered as a name if defined. Paxtools refle
Warning: There is a potential OWL-JAVA semantic mismatch when manipulating names. If a user decides to assign a different name to standardName or shortName, what happens to the old name is not well defined - they can be "demoted" to a regular name or removed from the names list altogether. Paxtools currently does the latter. If this is not the desired behaviour, the old name should be added manually back to the names list.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.biopax.paxtools.model.BioPAXElement |
|---|
BioPAXElement.Key |
| Field Summary |
|---|
| Fields inherited from interface org.biopax.paxtools.model.BioPAXElement |
|---|
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT |
| Method Summary | |
|---|---|
void |
addName(java.lang.String name)
This method adds the given value to the name set. |
java.lang.String |
getDisplayName()
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. |
java.util.Set<java.lang.String> |
getName()
Names for this entity, including standardName and shortName if defined. |
java.lang.String |
getStandardName()
The preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee. |
void |
removeName(java.lang.String name)
This method removes the given value from the name set. |
void |
setDisplayName(java.lang.String displayName)
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. |
void |
setStandardName(java.lang.String standardName)
The preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee. |
| Methods inherited from interface org.biopax.paxtools.model.level3.XReferrable |
|---|
addXref, getXref, removeXref |
| Methods inherited from interface org.biopax.paxtools.model.level3.Level3Element |
|---|
addComment, getComment, removeComment |
| Methods inherited from interface org.biopax.paxtools.model.BioPAXElement |
|---|
equivalenceCode, getAnnotations, getModelInterface, getRDFId, isEquivalent |
| Method Detail |
|---|
java.util.Set<java.lang.String> getName()
addName(java.lang.String) and removeName(java.lang.String) is recommended.
void addName(java.lang.String name)
name - a new name to be addedvoid removeName(java.lang.String name)
name - a new name to be removedjava.lang.String getDisplayName()
void setDisplayName(java.lang.String displayName)
displayName - java.lang.String getStandardName()
void setStandardName(java.lang.String standardName)
standardName - standard name for this entity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||