Enum Class LifeFormExtraPersonalData
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormExtraPersonalData>
,Constable
This
enum
type is generated from XML,
UID 477, marshal size 8;
LifeFormExtraPersonalData has 38 enumerations total.
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.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdolescent (10-12 years) (Female)Adolescent (10-12 years) (Male)Adult (25-55 years) (Female)Adult (25-55 years) (Male)Arab (Female)Arab (Male)Asian (Female)Asian (Male)Black (Female)Black (Male)Child (3-10 years) (Female)Young Adult (17-25 years) (Male)East Asian (Female)East Asian (Male)Elderly (71+ years) (Female)Elderly (71+ years) (Male)FemaleHispanic (Female)Hispanic (Male)Homogenous Country Code (Female)Homogenous Country Code (Male)Indigenous Country Code (Female)Indigenous Country Code (Male)Infant (0 months-1 year) (Female)Infant (0 months-1 year) (Male)Teenager (13-16 years) (Male)Not Specified (Male)Pacific Islander (Female)Pacific Islander (Male)Senior Adult (55-70 years) (Female)Senior Adult (55-70 years) (Male)Child (3-10 years) (Male)Teenager (13-16 years) (Female)Toddler (1-3 years) (Female)Toddler (1-3 years) (Male)White (Female)White (Male)Young Adult (17-25 years) (Female) -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic LifeFormExtraPersonalData
getEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameboolean
getTRACE()
Whether tracing is on or off for this objectint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffervoid
setTRACE
(boolean value) Set tracing on/off for this objecttoString()
Provide simple identifierstatic LifeFormExtraPersonalData
Unmarshal value to DataInputStreamstatic LifeFormExtraPersonalData
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic LifeFormExtraPersonalData
Returns the enum constant of this class with the specified name.static LifeFormExtraPersonalData[]
values()
Returns an array containing the constants of this enum class, 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) -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
Child (3-10 years) (Male) -
ADOLESCENT_10_12_YEARS_MALE
Adolescent (10-12 years) (Male) -
LIVE_ENTITY_DETONATION
Teenager (13-16 years) (Male) -
DATA_RELIABLE
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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
-
getEnumBitWidth
public static int getEnumBitWidth()bit width for this enumeration- Returns:
- number of bits wide
-
getEnumForValue
Provide enumeration for a given value- Parameters:
value
- integer value of interest- Returns:
- enumeration corresponding to numeric value
-
setTRACE
public void setTRACE(boolean value) Set tracing on/off for this object- Parameters:
value
- whether tracing is on or off
-
getTRACE
public boolean getTRACE()Whether tracing is on or off for this object- Returns:
- whether tracing is on or off
-
marshal
Marshal value to DataOutputStream- Parameters:
dos
- DataOutputStream for output- Throws:
IOException
- input-output error- See Also:
-
marshal
Marshal value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for output- Throws:
IOException
- input-output errorException
- See Also:
-
unmarshalEnum
Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
Unmarshal enumeration value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
getName
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<LifeFormExtraPersonalData>
- Returns:
- class name, value and name
-