|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rubecula.darwin.domain.environment.ExPhenFactory
public final class ExPhenFactory
Factory Class to create ExPhen
objects.
Applications can't change this class (it is final) but they can override the
methods which call these methods.
Method Summary | |
---|---|
static ExPhen |
makeExtendedPhenotype(java.lang.Class<? extends ExPhen> clazz,
EcoFactor factor,
java.lang.Object value)
|
static ExPhen |
makeExtendedPhenotype(EcoFactor factor,
java.lang.Object value)
Consruct a new ExPhen object, of the default class: ExPhen_Castor
. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ExPhen makeExtendedPhenotype(java.lang.Class<? extends ExPhen> clazz, EcoFactor factor, java.lang.Object value)
clazz
- the class of ExPhen to instantiate, which must have a
constructor of form ExPhen(EcoFactor,Object).factor
- the eco factorvalue
- the value of the extended phenotype
ExPhen
.public static ExPhen makeExtendedPhenotype(EcoFactor factor, java.lang.Object value)
ExPhen_Castor
.
TEST
factor
- the eco factorvalue
- the value of the extended phenotype
ExPhen
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |