Enum Class AnimalLifeformGroupSizeRangeEnumerationforallDomains
java.lang.Object
java.lang.Enum<AnimalLifeformGroupSizeRangeEnumerationforallDomains>
edu.nps.moves.dis7.enumerations.AnimalLifeformGroupSizeRangeEnumerationforallDomains
- All Implemented Interfaces:
Serializable
,Comparable<AnimalLifeformGroupSizeRangeEnumerationforallDomains>
,Constable
public enum AnimalLifeformGroupSizeRangeEnumerationforallDomains
extends Enum<AnimalLifeformGroupSizeRangeEnumerationforallDomains>
This
enum
type is generated from XML,
UID 130, marshal size 8;
AnimalLifeFormGroupSizeRangeEnumerationforallDomains has 14 enumerations total.
The gaps in enumeration values are intentional and are reserved for future additions.- 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 ConstantDescriptionNumber of animals range from 1,000 to 1,499Number of animals range from 1,500 to 1,999Number of animals range from 10,000 to 19,999Number of animals range from 2,000 to 2,999Number of animals range from 20,000 to 50,000Number of animals range from 201 to 249Number of animals range from 250 to 299Number of animals range from 3,000 to 4,999Number of animals range from 300 to 399Number of animals range from 400 to 499Number of animals range from 5,000 to 6,999Number of animals range from 500 to 999Number of animals range from 7,000 to 9,999Number of animals range greater than 50,000 -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationgetEnumForValue
(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 identifierUnmarshal value to DataInputStreamunmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NUMBER_OF_ANIMALS_RANGE_FROM_201_TO_249
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_201_TO_249Number of animals range from 201 to 249 -
NUMBER_OF_ANIMALS_RANGE_FROM_250_TO_299
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_250_TO_299Number of animals range from 250 to 299 -
NUMBER_OF_ANIMALS_RANGE_FROM_300_TO_399
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_300_TO_399Number of animals range from 300 to 399 -
NUMBER_OF_ANIMALS_RANGE_FROM_400_TO_499
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_400_TO_499Number of animals range from 400 to 499 -
NUMBER_OF_ANIMALS_RANGE_FROM_500_TO_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_500_TO_999Number of animals range from 500 to 999 -
NUMBER_OF_ANIMALS_RANGE_FROM_1_000_TO_1_499
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_1_000_TO_1_499Number of animals range from 1,000 to 1,499 -
NUMBER_OF_ANIMALS_RANGE_FROM_1_500_TO_1_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_1_500_TO_1_999Number of animals range from 1,500 to 1,999 -
NUMBER_OF_ANIMALS_RANGE_FROM_2_000_TO_2_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_2_000_TO_2_999Number of animals range from 2,000 to 2,999 -
NUMBER_OF_ANIMALS_RANGE_FROM_3_000_TO_4_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_3_000_TO_4_999Number of animals range from 3,000 to 4,999 -
NUMBER_OF_ANIMALS_RANGE_FROM_5_000_TO_6_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_5_000_TO_6_999Number of animals range from 5,000 to 6,999 -
NUMBER_OF_ANIMALS_RANGE_FROM_7_000_TO_9_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_7_000_TO_9_999Number of animals range from 7,000 to 9,999 -
NUMBER_OF_ANIMALS_RANGE_FROM_10_000_TO_19_999
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_10_000_TO_19_999Number of animals range from 10,000 to 19,999 -
NUMBER_OF_ANIMALS_RANGE_FROM_20_000_TO_50_000
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_FROM_20_000_TO_50_000Number of animals range from 20,000 to 50,000 -
NUMBER_OF_ANIMALS_RANGE_GREATER_THAN_50_000
public static final AnimalLifeformGroupSizeRangeEnumerationforallDomains NUMBER_OF_ANIMALS_RANGE_GREATER_THAN_50_000Number of animals range greater than 50,000
-
-
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
public static AnimalLifeformGroupSizeRangeEnumerationforallDomains unmarshalEnum(DataInputStream dis) throws Exception Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
public static AnimalLifeformGroupSizeRangeEnumerationforallDomains unmarshalEnum(ByteBuffer byteBuffer) throws Exception 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<AnimalLifeformGroupSizeRangeEnumerationforallDomains>
- Returns:
- class name, value and name
-