|
||||||||||
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_Variable
public final class Trait_Variable
Concrete implementation of Trait
which is based on a variable value.
TODO we should not have our own _value
field here. We should be
using the superclass value field.
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 |
Constructor Summary | |
---|---|
Trait_Variable(Pharacter character,
double value)
|
Method Summary | |
---|---|
double |
doubleValue()
|
java.lang.String |
getIdentifier()
|
java.lang.Object |
getKey()
|
java.lang.Object |
getValue()
TODO consider eliminating this method. |
Methods inherited from class com.rubecula.darwin.domain.environment.Trait_ |
---|
censusMe, equals, getCensusibleChildren, getCharacter, getCharacterKey, getPhenotype, 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 |
Constructor Detail |
---|
public Trait_Variable(Pharacter character, double value)
character
- value
- a doubleMethod Detail |
---|
public double doubleValue()
doubleValue
in interface Quantifiable
Quantifiable.doubleValue()
public java.lang.String getIdentifier()
getIdentifier
in interface net.sf.tostring0.Identifiable
getIdentifier
in class Trait_
Trait_.getCharacterKey()
':' Trait_.getVariantKey()
Trait_.getIdentifier()
public java.lang.Object getKey()
getKey
in interface Trait
Trait_.getValue()
public java.lang.Object getValue()
Trait
getValue
in interface Trait
getValue
in class Trait_
Trait_.getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |