|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Trait
A Trait
is the phenotypic analog to a (genotypic) Gene
.
A trait has no intrinsic value -- its information content is derived via
lookup. The two significant properties of a trait are:
Pharacter
which defines what sort of trait this
is, for example, flower color;Variant
of the phenotypic
character, for example, purple or white. The key is used to look up the
variant from among those variants which make up the phenotypic character.
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 | |
---|---|
Pharacter |
getCharacter()
|
java.lang.String |
getCharacterKey()
TODO consider eliminating this method. |
java.lang.Object |
getKey()
|
Phenotype |
getPhenotype()
TODO consider renaming this method as getParent(). |
java.lang.Object |
getValue()
TODO consider eliminating this method. |
Variant |
getVariant()
TODO consider eliminating this method. |
java.lang.String |
getVariantKey()
|
void |
setPhenotype(Phenotype traits)
|
Methods inherited from interface net.sf.tostring0.IToString |
---|
toString, toStringBrief, toStringId |
Methods inherited from interface com.rubecula.darwin.domain.helper.Censusible |
---|
censusMe, getCensusibleChildren |
Methods inherited from interface net.sf.tostring0.Identifiable |
---|
getIdentifier |
Method Detail |
---|
Pharacter getCharacter()
java.lang.String getCharacterKey()
java.lang.Object getKey()
getValue()
. For other traits, return this.Phenotype getPhenotype()
java.lang.Object getValue()
Variant getVariant()
java.lang.String getVariantKey()
void setPhenotype(Phenotype traits)
traits
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |