|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.zimek.proteinfeatures.protein.ID
ID to represent a hierarchical classification.
Constructor Summary | |
ID()
|
Method Summary | |
abstract ID |
createID(java.lang.String id)
Returns a new ID for the given id-String. |
abstract boolean |
equals(java.lang.Object o)
Returns true, if the ID equals another ID at all levels, false otherwise. |
abstract java.lang.String |
getID(int level)
Returns the ID for the first level levels. |
abstract int |
getLevel(int level)
Returns the id-value in the specified level. |
int |
hashCode()
Returns a hashCode, which is the hashCode for the String returned by the toString() -method. |
abstract java.lang.String |
toString()
Provides a String-representation for the ID. |
abstract java.lang.String |
type()
Returns a String describing the type of the ID. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
Constructor Detail |
public ID()
Method Detail |
public abstract java.lang.String getID(int level)
level
levels.
level
-
public abstract int getLevel(int level)
level
-
public abstract java.lang.String toString()
Object.toString()
public abstract boolean equals(java.lang.Object o)
Object.equals(Object)
public abstract ID createID(java.lang.String id)
id
-
public int hashCode()
toString()
-method.
Object.hashCode()
public abstract java.lang.String type()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |