@Entity public abstract class NamedImpl extends XReferrableImpl implements Named
FIELD_AVAILABILITY, FIELD_COMMENT, FIELD_DATASOURCE, FIELD_ECNUMBER, FIELD_KEYWORD, FIELD_NAME, FIELD_ORGANISM, FIELD_PATHWAY, FIELD_SEQUENCE, FIELD_TERM, FIELD_XREFDB, FIELD_XREFID, FILTER_BY_DATASOURCE, FILTER_BY_ORGANISM
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
Constructor and Description |
---|
NamedImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addName(String name)
This method adds the given value to the name set.
|
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.
|
protected String |
getDisplayNameX() |
Set<String> |
getName()
Names for this entity, including standardName and shortName if defined.
|
String |
getStandardName()
The preferred full name for this entity, if exists assigned by a standard nomenclature
organization such as HUGO Gene Nomenclature Committee.
|
protected String |
getStandardNameX() |
void |
removeName(String name)
This method removes the given value from the name set.
|
void |
setDisplayName(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.
|
protected void |
setDisplayNameX(String displayName) |
void |
setName(Set<String> names)
This method is reserved for batch operations and should not be used for normal use.
|
void |
setStandardName(String name)
The preferred full name for this entity, if exists assigned by a standard nomenclature
organization such as HUGO Gene Nomenclature Committee.
|
protected void |
setStandardNameX(String name) |
addXref, equivalenceCode, getXref, removeXref, setXref
addComment, getComment, getDatasources, getKeywords, getOrganisms, getParentPathways, removeComment, setComment
equals, getAnnotations, getPk, getRDFId, hashCode, isEquivalent, semanticallyEquivalent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addXref, getXref, removeXref
addComment, getComment, removeComment
equivalenceCode, getAnnotations, getModelInterface, getRDFId, isEquivalent
public NamedImpl()
@Field(name="name", analyze=YES, boost=@Boost(value=3.0f)) protected String getStandardNameX()
protected void setStandardNameX(String name)
public String getStandardName()
Named
getStandardName
in interface Named
public void setStandardName(String name)
Named
setStandardName
in interface Named
name
- standard name for this entity@Field(name="name", analyze=YES, boost=@Boost(value=2.5f)) protected String getDisplayNameX()
protected void setDisplayNameX(String displayName)
public String getDisplayName()
Named
getDisplayName
in interface Named
public void setDisplayName(String displayName)
Named
setDisplayName
in interface Named
displayName
- new display name (preferably a short one)@Field(name="name", analyze=YES, boost=@Boost(value=2.5f), bridge=@FieldBridge(impl=SetStringBridge.class)) public Set<String> getName()
Named
Named.addName(java.lang.String)
and Named.removeName(java.lang.String)
is recommended.public void setName(Set<String> names)
Named
public void addName(String name)
Named
public void removeName(String name)
Named
removeName
in interface Named
name
- a new name to be removedCopyright © 2015 BioPAX. All rights reserved.