babase.db
Enum Individual.IndividualClassification

java.lang.Object
  extended by java.lang.Enum<Individual.IndividualClassification>
      extended by babase.db.Individual.IndividualClassification
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Individual.IndividualClassification>
Enclosing class:
Individual

public static enum Individual.IndividualClassification
extends java.lang.Enum<Individual.IndividualClassification>

With respect to the particular date d, we classify individuals as follows: ADULT_FEMALE: sex == 'F' and matured <= d. JUV_FEMALE: sex == 'F', but not ADULT_FEMALE. ADULT_MALE: sex == 'M' and rankd (rank attainment date) <= d. SUBADULT_MALE: sex == 'M' and matured <= d, but not ADULT_MALE. JUV_MALE: sex == 'M', but not ADULT_MALE or SUBADULT_MALE. UNKNOWN: none of the above.

Author:
junyang

Enum Constant Summary
ADULT_FEMALE
           
ADULT_MALE
           
JUV_FEMALE
           
JUV_MALE
           
SUBADULT_MALE
           
UNKNOWN
           
 
Method Summary
static Individual.IndividualClassification valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Individual.IndividualClassification[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADULT_FEMALE

public static final Individual.IndividualClassification ADULT_FEMALE

JUV_FEMALE

public static final Individual.IndividualClassification JUV_FEMALE

ADULT_MALE

public static final Individual.IndividualClassification ADULT_MALE

SUBADULT_MALE

public static final Individual.IndividualClassification SUBADULT_MALE

JUV_MALE

public static final Individual.IndividualClassification JUV_MALE

UNKNOWN

public static final Individual.IndividualClassification UNKNOWN
Method Detail

values

public static Individual.IndividualClassification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Individual.IndividualClassification c : Individual.IndividualClassification.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Individual.IndividualClassification valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null