com.rubecula.darwin.domain.world
Class Expresser_Sex

java.lang.Object
  extended by com.rubecula.darwin.domain.environment.Expresser_
      extended by com.rubecula.darwin.domain.world.Expresser_Mendelian
          extended by com.rubecula.darwin.domain.world.Expresser_Sex
All Implemented Interfaces:
Expresser

public class Expresser_Sex
extends Expresser_Mendelian

Lifespan: permanent. Implementer of Expresser specifically for sex. TODO this seems wrong -- we should be extending Expresser_ instead of Expresser_Mendelian. Consider refactoring here.

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.domain.world.Expresser_Mendelian
_dominantAllele, _dominantVariant
 
Fields inherited from class com.rubecula.darwin.domain.environment.Expresser_
_character, LOG
 
Constructor Summary
Expresser_Sex()
           
 
Method Summary
protected  Trait expressHaploid(Gene gene)
          We can express the sex of a (haploid) gamete
 
Methods inherited from class com.rubecula.darwin.domain.world.Expresser_Mendelian
express, expressDiploid
 
Methods inherited from class com.rubecula.darwin.domain.environment.Expresser_
createTrait, createTrait, createTrait, createTrait, equals, express, getCharacter, getComplement, hashCode, isComplementary
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Expresser_Sex

public Expresser_Sex()
Method Detail

expressHaploid

protected Trait expressHaploid(Gene gene)
We can express the sex of a (haploid) gamete

Overrides:
expressHaploid in class Expresser_Mendelian
Parameters:
gene - XXX
Returns:
if all is OK, then we return a trait but this particular implementation always throws...
See Also:
Expresser_Mendelian.expressHaploid(com.rubecula.darwin.domain.helper.Gene)


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.