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_FEMALEAdolescent (10-12 years) (Female)ADOLESCENT_10_12_YEARS_MALEAdolescent (10-12 years) (Male)ADULT_25_55_YEARS_FEMALEAdult (25-55 years) (Female)ADULT_25_55_YEARS_MALEAdult (25-55 years) (Male)ARAB_FEMALEArab (Female)ARAB_MALEArab (Male)ASIAN_FEMALEAsian (Female)ASIAN_MALEAsian (Male)BLACK_FEMALEBlack (Female)BLACK_MALEBlack (Male)CHILD_3_10_YEARS_FEMALEChild (3-10 years) (Female)CHILD_3_10_YEARS_MALEChild (3-10 years) (Male)EAST_ASIAN_FEMALEEast Asian (Female)EAST_ASIAN_MALEEast Asian (Male)ELDERLY_71PLUS_YEARS_FEMALEElderly (71+ years) (Female)ELDERLY_71PLUS_YEARS_MALEElderly (71+ years) (Male)FEMALEFemaleHISPANIC_FEMALEHispanic (Female)HISPANIC_MALEHispanic (Male)HOMOGENOUS_COUNTRY_CODE_FEMALEHomogenous Country Code (Female)HOMOGENOUS_COUNTRY_CODE_MALEHomogenous Country Code (Male)INDIGENOUS_COUNTRY_CODE_FEMALEIndigenous Country Code (Female)INDIGENOUS_COUNTRY_CODE_MALEIndigenous Country Code (Male)INFANT_0_MONTHS_1_YEAR_FEMALEInfant (0 months-1 year) (Female)INFANT_0_MONTHS_1_YEAR_MALEInfant (0 months-1 year) (Male)NOT_SPECIFIED_MALENot Specified (Male)PACIFIC_ISLANDER_FEMALEPacific Islander (Female)PACIFIC_ISLANDER_MALEPacific Islander (Male)SENIOR_ADULT_55_70_YEARS_FEMALESenior Adult (55-70 years) (Female)SENIOR_ADULT_55_70_YEARS_MALESenior Adult (55-70 years) (Male)TEENAGER_13_16_YEARS_FEMALETeenager (13-16 years) (Female)TEENAGER_13_16_YEARS_MALETeenager (13-16 years) (Male)TODDLER_1_3_YEARS_FEMALEToddler (1-3 years) (Female)TODDLER_1_3_YEARS_MALEToddler (1-3 years) (Male)WHITE_FEMALEWhite (Female)WHITE_MALEWhite (Male)YOUNG_ADULT_17_25_YEARS_FEMALEYoung Adult (17-25 years) (Female)YOUNG_ADULT_17_25_YEARS_MALEYoung Adult (17-25 years) (Male) -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()static intgetEnumBitWidth()static LifeFormExtraPersonalDatagetEnumForValue(int i)intgetMarshalledSize()intgetValue()voidmarshal(java.io.DataOutputStream dos)voidmarshal(java.nio.ByteBuffer buff)java.lang.StringtoString()static LifeFormExtraPersonalDataunmarshalEnum(java.io.DataInputStream dis)static LifeFormExtraPersonalDataunmarshalEnum(java.nio.ByteBuffer buff)static LifeFormExtraPersonalDatavalueOf(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:
toStringin classjava.lang.Enum<LifeFormExtraPersonalData>
-