|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rubecula.util.AuditableObject
com.rubecula.darwin.core.Attribute_Abstract
com.rubecula.darwin.core.Allele_Abstract
public abstract class Allele_Abstract
This abstract provides base operations for implementations of Allele,
which are specific genes which may appear at a
Locus.
It extends Attribute by defining that the identifier
is a long integer key which is assigned sequentially.
| Constructor Summary | |
|---|---|
protected |
Allele_Abstract(Object value)
Constructor of an Allele_Abstract based on a specific value. |
protected |
Allele_Abstract(Object key,
Object value)
Primary Private constructor of an Allele_Abstract based on a specific value. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
long |
getKey()
Method to yield the value of this Allele's key. |
int |
hashCode()
|
protected static void |
resetKey()
Reset the value of nextKey to zero. |
String |
toString()
Method to yield this object as a String. |
| Methods inherited from class com.rubecula.darwin.core.Attribute_Abstract |
|---|
audit, getAttribute, getIdentifier, getValue, setValue |
| Methods inherited from class com.rubecula.util.AuditableObject |
|---|
audit, audit, audit, clone |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rubecula.darwin.core.Attribute |
|---|
getAttribute, getValue, setValue |
| Constructor Detail |
|---|
protected Allele_Abstract(Object value)
value - the value for the new Allele_Abstract, as an Object.
protected Allele_Abstract(Object key,
Object value)
key - the key for the new Allele_Abstract, as an Object.value - the value for the new Allele_Abstract, as an Object.| Method Detail |
|---|
protected static void resetKey()
nextKey to zero.
public long getKey()
Allele
getKey in interface Allelepublic String toString()
Attribute_Abstract
toString in class Attribute_AbstractObject.toString()public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||