|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpeakml.io.Vocabulary.Term
public static class Vocabulary.Term
This class is a simple implementation, which keeps track of a single term in a controlled vocabulary.
| Field Summary | |
|---|---|
java.util.Vector<java.lang.String> |
alt_id
Vector with all the alternative id's for this term. |
java.lang.String |
definition
A free-text description of the term. |
java.lang.String |
id
The unique id of the term. |
java.util.Vector<java.lang.String> |
is_a
Vector with all the parents of this term. |
boolean |
is_obsolete
Indicates whether this term is obsolete. |
java.lang.String |
name
The name describing the term. |
| Constructor Summary | |
|---|---|
Vocabulary.Term(java.lang.String id,
java.lang.String name,
java.lang.String definition,
java.util.Vector<java.lang.String> is_a,
java.util.Vector<java.lang.String> alt_id,
boolean is_obsolete)
Constructs a new term with the given parameters. |
|
| Method Summary | |
|---|---|
domsax.XmlAttribute[] |
toCVParam()
|
domsax.XmlAttribute[] |
toCVParam(java.lang.String value)
Creates the xml-attributes needed for a cvParam element in the mzML standard. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String id
public final java.lang.String name
public final java.lang.String definition
public final java.util.Vector<java.lang.String> is_a
public final java.util.Vector<java.lang.String> alt_id
public final boolean is_obsolete
| Constructor Detail |
|---|
public Vocabulary.Term(java.lang.String id,
java.lang.String name,
java.lang.String definition,
java.util.Vector<java.lang.String> is_a,
java.util.Vector<java.lang.String> alt_id,
boolean is_obsolete)
id - The unique id for this term.name - The name of the term.definition - The definition (free-text description) of the term.is_a - Vector containing the id's of all the parents of this term.alt_id - Vector containing alternative id's for this term.is_obsolete - Boolean indicating whether this term is obsolete.| Method Detail |
|---|
public domsax.XmlAttribute[] toCVParam()
toCVParam(String)public domsax.XmlAttribute[] toCVParam(java.lang.String value)
value - An optional value with the value for the value attribute.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||