|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tostring0.AToString com.rubecula.darwin.domain.environment.Trait_ com.rubecula.darwin.domain.environment.Trait_Discrete
public final class Trait_Discrete
Lifespan: transient.
Concrete implementation of discrete Trait
, i.e. a trait that can take
one of a finite set of values (called variants). Such variants must be
registered (added) to the phenotypic character before they can be referenced.
Consider naming in honor of Reginald Punnett.
Field Summary |
---|
Fields inherited from interface net.sf.tostring0.IToString |
---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
Method Summary | |
---|---|
java.lang.Object |
getKey()
For a discrete trait, we simply return this. |
Methods inherited from class com.rubecula.darwin.domain.environment.Trait_ |
---|
censusMe, equals, getCensusibleChildren, getCharacter, getCharacterKey, getIdentifier, getPhenotype, getValue, getVariant, getVariantKey, hashCode, setPhenotype |
Methods inherited from class net.sf.tostring0.AToString |
---|
toString, toString, toStringBrief, toStringId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.tostring0.IToString |
---|
toString, toStringBrief, toStringId |
Method Detail |
---|
public java.lang.Object getKey()
Trait.getValue()
. For other traits, return this.Trait.getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |