|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.evolution.taxa.Taxon
public final class Taxon
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jebl.util.Attributable |
---|
Attributable.Utils |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Taxon t)
|
static Set<Taxon> |
getAllTaxa()
|
Object |
getAttribute(String name)
|
Map<String,Object> |
getAttributeMap()
Gets the entire attribute map. |
Set<String> |
getAttributeNames()
|
String |
getName()
get the name of the taxon |
static Taxon |
getTaxon(String name)
A static method that returns a Taxon object with the given name. |
TaxonomicLevel |
getTaxonomicLevel()
get the taxonomic level of the taxon |
int |
hashCode()
|
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
Sets an named attribute for this object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
public TaxonomicLevel getTaxonomicLevel()
public void setAttribute(String name, Object value)
Attributable
setAttribute
in interface Attributable
name
- the name of the attribute.value
- the new value of the attribute.public Object getAttribute(String name)
getAttribute
in interface Attributable
name
- the name of the attribute of interest.
public void removeAttribute(String name)
removeAttribute
in interface Attributable
name
- name of attribute to removepublic Set<String> getAttributeNames()
getAttributeNames
in interface Attributable
public Map<String,Object> getAttributeMap()
Attributable
getAttributeMap
in interface Attributable
public static Set<Taxon> getAllTaxa()
public static Taxon getTaxon(String name)
name
-
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean equals(Taxon t)
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |