|
||||||||||
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.helper.Attribute_ com.rubecula.darwin.domain.genetics.Allele_ com.rubecula.darwin.domain.genetics.Allele_Binary
public abstract class Allele_Binary
Abstract type of allele which has two values, based on a boolean.
Field Summary |
---|
Fields inherited from class com.rubecula.darwin.domain.genetics.Allele_ |
---|
LOG |
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 | |
---|---|
Allele_Binary(java.lang.String identifier,
boolean value)
|
Method Summary | |
---|---|
java.lang.String |
getBases()
|
boolean |
getValueAsBoolean()
|
void |
setBases(java.lang.String[] bases)
|
void |
setValue(java.lang.Object value)
set the field Attribute_.value . |
Methods inherited from class com.rubecula.darwin.domain.genetics.Allele_ |
---|
censusMe, getCensusibleChildren, getLocus, getSignature, getStringChars, setLocus, setStringChars, toString |
Methods inherited from class com.rubecula.darwin.domain.helper.Attribute_ |
---|
equals, getAttribute, getIdentifier, getValue, hashCode |
Methods inherited from class net.sf.tostring0.AToString |
---|
toString, toStringBrief, toStringId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.rubecula.darwin.domain.helper.Attribute |
---|
getAttribute, getValue |
Methods inherited from interface net.sf.tostring0.IToString |
---|
toStringBrief, toStringId |
Methods inherited from interface net.sf.tostring0.Identifiable |
---|
getIdentifier |
Constructor Detail |
---|
public Allele_Binary(java.lang.String identifier, boolean value)
identifier
- value
- Method Detail |
---|
public java.lang.String getBases()
getBases
in interface Basic
_bases
sub 0 or sub 1, according to which allele
we are.Basic.getBases()
public boolean getValueAsBoolean()
getValueAsBoolean
in interface EitherOr
EitherOr.getValueAsBoolean()
public void setBases(java.lang.String[] bases)
bases
- the base strings for the true- and false- valued allelespublic void setValue(java.lang.Object value)
Attribute_
Attribute_.value
.
setValue
in interface Attribute
setValue
in class Allele_
value
- the new value for the attribute.Attribute_.setValue(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |