Package org.biopax.paxtools.impl.level3
Class NamedImpl
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
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,Level3Element,Named,XReferrable
- Direct Known Subclasses:
BioSourceImpl,EntityImpl,EntityReferenceImpl,ProvenanceImpl
- 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 TypeMethodDescriptionvoidThis method adds the given value to the name set.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.getName()Names for this entity, including standardName and shortName if defined.The preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee.voidremoveName(String name) This method removes the given value from the name set.voidsetDisplayName(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.voidThis method is reserved for batch operations and should not be used for normal use.voidsetStandardName(String name) The preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee.Methods 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, semanticallyEquivalent, 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.XReferrable
addXref, getXref, removeXref
-
Constructor Details
-
NamedImpl
public NamedImpl()
-
-
Method Details
-
getStandardName
Description copied from interface:NamedThe preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee.- Specified by:
getStandardNamein interfaceNamed- Returns:
- standard name for this entity
-
setStandardName
Description copied from interface:NamedThe preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee.- Specified by:
setStandardNamein interfaceNamed- Parameters:
name- standard name for this entity
-
getDisplayName
Description copied from interface:NamedAn 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.- Specified by:
getDisplayNamein interfaceNamed- Returns:
- An abbreviated name for this entity
-
setDisplayName
Description copied from interface:NamedAn 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.- Specified by:
setDisplayNamein interfaceNamed- Parameters:
displayName- new display name (preferably a short one)
-
getName
Description copied from interface:NamedNames for this entity, including standardName and shortName if defined. The contents of this set can be modified directly but semantic consistency is not guaranteed. UsingNamed.addName(java.lang.String)andNamed.removeName(java.lang.String)is recommended. -
setName
Description copied from interface:NamedThis method is reserved for batch operations and should not be used for normal use. Use add/remove name methods to manipulate the names instead. -
addName
Description copied from interface:NamedThis method adds the given value to the name set. -
removeName
Description copied from interface:NamedThis method removes the given value from the name set.- Specified by:
removeNamein interfaceNamed- Parameters:
name- a new name to be removed
-