com.rubecula.darwin.domain.environment
Class Pharacter_Sex

java.lang.Object
  extended by net.sf.tostring0.AToString
      extended by com.rubecula.darwin.domain.environment.Pharacter_
          extended by com.rubecula.darwin.domain.environment.Pharacter_Sex
All Implemented Interfaces:
Pharacter, SexLinked, net.sf.tostring0.Identifiable, net.sf.tostring0.IToString

public final class Pharacter_Sex
extends Pharacter_

Lifespan: permanent singleton. Implementer of Pharacter (Phenotypic Character) specifically for sex.

Author:
Robin Hillyard

Field Summary
static int INDEX_FEMALE
          1
static Pharacter_Sex instance
          the singleton instance
static java.lang.String KEY_F
          F
static java.lang.String KEY_M
          M
 
Fields inherited from interface com.rubecula.darwin.domain.helper.Pharacter
SEX
 
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
static Pharacter_Sex getInstance()
           
 
Methods inherited from class com.rubecula.darwin.domain.environment.Pharacter_
addVariant, equals, getIdentifier, getKey, getVariant, getVariantKeys, getVariants, hashCode, isSexLinked, setVariants
 
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
 

Field Detail

KEY_F

public static final java.lang.String KEY_F
F

See Also:
Constant Field Values

KEY_M

public static final java.lang.String KEY_M
M

See Also:
Constant Field Values

instance

public static Pharacter_Sex instance
the singleton instance


INDEX_FEMALE

public static final int INDEX_FEMALE
1

See Also:
Constant Field Values
Method Detail

getInstance

public static Pharacter_Sex getInstance()
Returns:
the singleton instance


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