Class NamedImpl

All Implemented Interfaces:
Serializable, Cloneable, BioPAXElement, Level3Element, Named, XReferrable
Direct Known Subclasses:
BioSourceImpl, EntityImpl, EntityReferenceImpl, ProvenanceImpl

public abstract class NamedImpl extends XReferrableImpl implements Named
See Also:
  • Constructor Details

    • NamedImpl

      public NamedImpl()
  • Method Details

    • getStandardName

      public String getStandardName()
      Description copied from interface: Named
      The preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee.
      Specified by:
      getStandardName in interface Named
      Returns:
      standard name for this entity
    • setStandardName

      public void setStandardName(String name)
      Description copied from interface: Named
      The preferred full name for this entity, if exists assigned by a standard nomenclature organization such as HUGO Gene Nomenclature Committee.
      Specified by:
      setStandardName in interface Named
      Parameters:
      name - standard name for this entity
    • getDisplayName

      public String getDisplayName()
      Description copied from interface: Named
      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.
      Specified by:
      getDisplayName in interface Named
      Returns:
      An abbreviated name for this entity
    • setDisplayName

      public void setDisplayName(String displayName)
      Description copied from interface: Named
      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.
      Specified by:
      setDisplayName in interface Named
      Parameters:
      displayName - new display name (preferably a short one)
    • getName

      public Set<String> getName()
      Description copied from interface: Named
      Names for this entity, including standardName and shortName if defined. The contents of this set can be modified directly but semantic consistency is not guaranteed. Using Named.addName(java.lang.String) and Named.removeName(java.lang.String) is recommended.
      Specified by:
      getName in interface Named
      Returns:
      Names for this entity, including standardName and shortName if defined.
    • setName

      public void setName(Set<String> names)
      Description copied from interface: Named
      This method is reserved for batch operations and should not be used for normal use. Use add/remove name methods to manipulate the names instead.
      Specified by:
      setName in interface Named
      Parameters:
      names - new names to set (or replace all existing ones)
    • addName

      public void addName(String name)
      Description copied from interface: Named
      This method adds the given value to the name set.
      Specified by:
      addName in interface Named
      Parameters:
      name - a new name to be added
    • removeName

      public void removeName(String name)
      Description copied from interface: Named
      This method removes the given value from the name set.
      Specified by:
      removeName in interface Named
      Parameters:
      name - a new name to be removed