|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttools.namemapping.ProteinLabel
tools.namemapping.ProteinLabelOrganism
public class ProteinLabelOrganism
A protein label implementation which associates a string identifier and an
organism string with each protein label. For more information about protein
labels, see ProteinLabel
.
This class is useful when loading files containing proteins from different organisms which have identical identifiers.
Constructor Summary | |
---|---|
ProteinLabelOrganism(String key)
Creates a new label from a key. |
|
ProteinLabelOrganism(String identifier,
String organism)
Creates a new label consisting of a given protein identifier and an organism string. |
Method Summary | |
---|---|
protected String |
getKey()
Returns the key for this protein label. |
String |
getOrganism()
Returns the organism associated with this label |
String |
toString()
Returns a string representation of this label |
Methods inherited from class tools.namemapping.ProteinLabel |
---|
getIdentifier, setIdentifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProteinLabelOrganism(String identifier, String organism)
identifier
- identifier of the proteinorganism
- organism associated with this organismpublic ProteinLabelOrganism(String key)
getKey()
is
passed into this constructor, an identical label object will be created.
organism string.
identifier
- identifier of the proteinMethod Detail |
---|
public String getOrganism()
protected String getKey()
ProteinLabel
getKey
in class ProteinLabel
public String toString()
ProteinLabel
toString
in class ProteinLabel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |