Package edu.nps.moves.dis7.enumerations
Enum LifeFormExtraPersonalData
java.lang.Object
java.lang.Enum<LifeFormExtraPersonalData>
edu.nps.moves.dis7.enumerations.LifeFormExtraPersonalData
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LifeFormExtraPersonalData>
,java.lang.constant.Constable
public enum LifeFormExtraPersonalData extends java.lang.Enum<LifeFormExtraPersonalData>
Generated from XML, SISO-REF-010-v25, 2018-08-29
UID 477 marshal size 8
Life Form Extra-Personal Data
The 1's digit is reserved for Race/Ethnicity and the enumerations are taken from the U.S. OMB. The 10's digit is reserved for general age group. The 100's digit is reserved for gender, where 0 is Male and 1 is Female.
UID 477 marshal size 8
Life Form Extra-Personal Data
The 1's digit is reserved for Race/Ethnicity and the enumerations are taken from the U.S. OMB. The 10's digit is reserved for general age group. The 100's digit is reserved for gender, where 0 is Male and 1 is Female.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ADOLESCENT_10_12_YEARS_FEMALE
Adolescent (10-12 years) (Female)ADOLESCENT_10_12_YEARS_MALE
Adolescent (10-12 years) (Male)ADULT_25_55_YEARS_FEMALE
Adult (25-55 years) (Female)ADULT_25_55_YEARS_MALE
Adult (25-55 years) (Male)ARAB_FEMALE
Arab (Female)ARAB_MALE
Arab (Male)ASIAN_FEMALE
Asian (Female)ASIAN_MALE
Asian (Male)BLACK_FEMALE
Black (Female)BLACK_MALE
Black (Male)CHILD_3_10_YEARS_FEMALE
Child (3-10 years) (Female)CHILD_3_10_YEARS_MALE
Child (3-10 years) (Male)EAST_ASIAN_FEMALE
East Asian (Female)EAST_ASIAN_MALE
East Asian (Male)ELDERLY_71PLUS_YEARS_FEMALE
Elderly (71+ years) (Female)ELDERLY_71PLUS_YEARS_MALE
Elderly (71+ years) (Male)FEMALE
FemaleHISPANIC_FEMALE
Hispanic (Female)HISPANIC_MALE
Hispanic (Male)HOMOGENOUS_COUNTRY_CODE_FEMALE
Homogenous Country Code (Female)HOMOGENOUS_COUNTRY_CODE_MALE
Homogenous Country Code (Male)INDIGENOUS_COUNTRY_CODE_FEMALE
Indigenous Country Code (Female)INDIGENOUS_COUNTRY_CODE_MALE
Indigenous Country Code (Male)INFANT_0_MONTHS_1_YEAR_FEMALE
Infant (0 months-1 year) (Female)INFANT_0_MONTHS_1_YEAR_MALE
Infant (0 months-1 year) (Male)NOT_SPECIFIED_MALE
Not Specified (Male)PACIFIC_ISLANDER_FEMALE
Pacific Islander (Female)PACIFIC_ISLANDER_MALE
Pacific Islander (Male)SENIOR_ADULT_55_70_YEARS_FEMALE
Senior Adult (55-70 years) (Female)SENIOR_ADULT_55_70_YEARS_MALE
Senior Adult (55-70 years) (Male)TEENAGER_13_16_YEARS_FEMALE
Teenager (13-16 years) (Female)TEENAGER_13_16_YEARS_MALE
Teenager (13-16 years) (Male)TODDLER_1_3_YEARS_FEMALE
Toddler (1-3 years) (Female)TODDLER_1_3_YEARS_MALE
Toddler (1-3 years) (Male)WHITE_FEMALE
White (Female)WHITE_MALE
White (Male)YOUNG_ADULT_17_25_YEARS_FEMALE
Young Adult (17-25 years) (Female)YOUNG_ADULT_17_25_YEARS_MALE
Young Adult (17-25 years) (Male) -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
static int
getEnumBitWidth()
static LifeFormExtraPersonalData
getEnumForValue(int i)
int
getMarshalledSize()
int
getValue()
void
marshal(java.io.DataOutputStream dos)
void
marshal(java.nio.ByteBuffer buff)
java.lang.String
toString()
static LifeFormExtraPersonalData
unmarshalEnum(java.io.DataInputStream dis)
static LifeFormExtraPersonalData
unmarshalEnum(java.nio.ByteBuffer buff)
static LifeFormExtraPersonalData
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LifeFormExtraPersonalData[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_SPECIFIED_MALE
Not Specified (Male) -
ASIAN_MALE
Asian (Male) -
PACIFIC_ISLANDER_MALE
Pacific Islander (Male) -
BLACK_MALE
Black (Male) -
EAST_ASIAN_MALE
East Asian (Male) -
HISPANIC_MALE
Hispanic (Male) -
WHITE_MALE
White (Male) -
ARAB_MALE
Arab (Male) -
HOMOGENOUS_COUNTRY_CODE_MALE
Homogenous Country Code (Male) -
INDIGENOUS_COUNTRY_CODE_MALE
Indigenous Country Code (Male) -
INFANT_0_MONTHS_1_YEAR_MALE
Infant (0 months-1 year) (Male) -
TODDLER_1_3_YEARS_MALE
Toddler (1-3 years) (Male) -
CHILD_3_10_YEARS_MALE
Child (3-10 years) (Male) -
ADOLESCENT_10_12_YEARS_MALE
Adolescent (10-12 years) (Male) -
TEENAGER_13_16_YEARS_MALE
Teenager (13-16 years) (Male) -
YOUNG_ADULT_17_25_YEARS_MALE
Young Adult (17-25 years) (Male) -
ADULT_25_55_YEARS_MALE
Adult (25-55 years) (Male) -
SENIOR_ADULT_55_70_YEARS_MALE
Senior Adult (55-70 years) (Male) -
ELDERLY_71PLUS_YEARS_MALE
Elderly (71+ years) (Male) -
FEMALE
Female -
ASIAN_FEMALE
Asian (Female) -
PACIFIC_ISLANDER_FEMALE
Pacific Islander (Female) -
BLACK_FEMALE
Black (Female) -
EAST_ASIAN_FEMALE
East Asian (Female) -
HISPANIC_FEMALE
Hispanic (Female) -
WHITE_FEMALE
White (Female) -
ARAB_FEMALE
Arab (Female) -
HOMOGENOUS_COUNTRY_CODE_FEMALE
Homogenous Country Code (Female) -
INDIGENOUS_COUNTRY_CODE_FEMALE
Indigenous Country Code (Female) -
INFANT_0_MONTHS_1_YEAR_FEMALE
Infant (0 months-1 year) (Female) -
TODDLER_1_3_YEARS_FEMALE
Toddler (1-3 years) (Female) -
CHILD_3_10_YEARS_FEMALE
Child (3-10 years) (Female) -
ADOLESCENT_10_12_YEARS_FEMALE
Adolescent (10-12 years) (Female) -
TEENAGER_13_16_YEARS_FEMALE
Teenager (13-16 years) (Female) -
YOUNG_ADULT_17_25_YEARS_FEMALE
Young Adult (17-25 years) (Female) -
ADULT_25_55_YEARS_FEMALE
Adult (25-55 years) (Female) -
SENIOR_ADULT_55_70_YEARS_FEMALE
Senior Adult (55-70 years) (Female) -
ELDERLY_71PLUS_YEARS_FEMALE
Elderly (71+ years) (Female)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue() -
getDescription
public java.lang.String getDescription() -
getEnumBitWidth
public static int getEnumBitWidth() -
getEnumForValue
-
marshal
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException- Throws:
java.io.IOException
-
marshal
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception- Throws:
java.lang.Exception
-
unmarshalEnum
public static LifeFormExtraPersonalData unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception- Throws:
java.lang.Exception
-
unmarshalEnum
public static LifeFormExtraPersonalData unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMarshalledSize
public int getMarshalledSize() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<LifeFormExtraPersonalData>
-