|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.utils.candy.CandyEntry
public class CandyEntry
This is a basic container for a vocabulary entry. It consists only of the basic attributes which is sufficient for the vocabularies providing string-type contents.
However, it may still accomodate more complex data types using
the extras member.
| Field Summary | |
|---|---|
String |
description
A value of this entry. |
String |
entry
A unique identifier of this entry. |
Hashtable |
extras
A container for the additional properties represented by this entry. |
| Constructor Summary | |
|---|---|
CandyEntry()
An empty constructor. |
|
CandyEntry(String entry)
It creates an entry instance with given name and empty value. |
|
CandyEntry(String entry,
String description)
It creates an entry instance with given name and value. |
|
CandyEntry(String entry,
String description,
Hashtable extras)
It creates an entry instance with given name, value and additional properties. |
|
| Method Summary | |
|---|---|
String |
toString()
It prints the entry contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String entry
public String description
public Hashtable extras
| Constructor Detail |
|---|
public CandyEntry()
public CandyEntry(String entry)
public CandyEntry(String entry,
String description)
public CandyEntry(String entry,
String description,
Hashtable extras)
| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||