Package edu.nps.moves.dis7.enumerations
Enum EnvironmentalProcessRecordType
java.lang.Object
java.lang.Enum<EnvironmentalProcessRecordType>
edu.nps.moves.dis7.enumerations.EnvironmentalProcessRecordType
- All Implemented Interfaces:
Serializable
,Comparable<EnvironmentalProcessRecordType>
,Constable
This
enum
type is generated from XML,
UID 250,
marshal size 32;
EnvironmentalProcessRecordType has 26 enumerations total.- 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 ConstantDescriptionBiological StateBounding Sphere RecordChemical Liquid StateChemical Vapor StateCOMBIC StateCone Record 1Cone Record 2Ellipsoid Record 1Ellipsoid Record 2Flare StateGaussian Plume RecordGaussian Puff Record 1Gaussian Puff Record 2Line Record 1Line Record 2Obscurant StatePoint Record 1Point Record 2Radiological StateRectangular Volume Record 1Rectangular Volume Record 2Rectangular Volume Record 3Rectangular Volume Record 4Sphere Record 1Sphere Record 2Uniform Geometry Record -
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 bytesint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffertoString()
Unmarshal value to DataInputStreamunmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferReturns the enum constant of this type with the specified name.static EnvironmentalProcessRecordType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMBIC_STATE
COMBIC State -
FLARE_STATE
Flare State -
BIOLOGICAL_STATE
Biological State -
CHEMICAL_VAPOR_STATE
Chemical Vapor State -
RADIOLOGICAL_STATE
Radiological State -
CHEMICAL_LIQUID_STATE
Chemical Liquid State -
OBSCURANT_STATE
Obscurant State -
BOUNDING_SPHERE_RECORD
Bounding Sphere Record -
UNIFORM_GEOMETRY_RECORD
Uniform Geometry Record -
POINT_RECORD_1
Point Record 1 -
LINE_RECORD_1
Line Record 1 -
SPHERE_RECORD_1
Sphere Record 1 -
ELLIPSOID_RECORD_1
Ellipsoid Record 1 -
CONE_RECORD_1
Cone Record 1 -
RECTANGULAR_VOLUME_RECORD_1
Rectangular Volume Record 1 -
RECTANGULAR_VOLUME_RECORD_3
Rectangular Volume Record 3 -
POINT_RECORD_2
Point Record 2 -
LINE_RECORD_2
Line Record 2 -
SPHERE_RECORD_2
Sphere Record 2 -
ELLIPSOID_RECORD_2
Ellipsoid Record 2 -
CONE_RECORD_2
Cone Record 2 -
RECTANGULAR_VOLUME_RECORD_2
Rectangular Volume Record 2 -
GAUSSIAN_PLUME_RECORD
Gaussian Plume Record -
GAUSSIAN_PUFF_RECORD_1
Gaussian Puff Record 1 -
GAUSSIAN_PUFF_RECORD_2
Gaussian Puff Record 2 -
RECTANGULAR_VOLUME_RECORD_4
Rectangular Volume Record 4
-
-
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
Provide enumeration description- Returns:
- description
-
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
-
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- 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
- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
toString
- Overrides:
toString
in classEnum<EnvironmentalProcessRecordType>
-