pid
Class Name
java.lang.Object
pid.Name
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AliasName, ChemicalAbstractName, EntrezGeneName, GeneOntologyName, PreferredSymbolName, UniprotName
public class Name
- extends java.lang.Object
- implements java.io.Serializable
Reference to a name for an entity.
- Author:
- Samuel Croset
- See Also:
- Serialized Form
Constructor Summary |
Name()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
abbreviation
private java.lang.String abbreviation
fullName
private java.lang.String fullName
value
private java.lang.String value
Name
public Name()
getAbbreviation
public java.lang.String getAbbreviation()
- Returns:
- the abbreviation of the name (two letters code)
setAbbreviation
public void setAbbreviation(java.lang.String abbreviation)
getFullName
public java.lang.String getFullName()
- Returns:
- the full name in string of the type of name
setFullName
public void setFullName(java.lang.String fullName)
getValue
public java.lang.String getValue()
- Returns:
- the actual value of the name.
setValue
public void setValue(java.lang.String value)