public class AggregateType
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected AggregateStateAggregateKind |
aggregateKind
Grouping criterion used to group the aggregate.
|
protected byte |
category
category of entity
|
protected Country |
country
country to which the design of the entity is attributed uid 29
|
protected PlatformDomain |
domain
Domain of entity (air, surface, subsurface, space, etc) Zero means domain does not apply.
|
protected byte |
extra |
protected AggregateStateSpecific |
specificInfo
specific info based on subcategory field.
|
protected AggregateStateSubcategory |
subcategory
subcategory of entity uid 208
|
Constructor and Description |
---|
AggregateType()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
AggregateStateAggregateKind |
getAggregateKind()
Getter for
aggregateKind |
byte |
getCategory()
Getter for
category |
Country |
getCountry()
Getter for
country |
PlatformDomain |
getDomain()
Getter for
domain |
byte |
getExtra()
Getter for
extra |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
AggregateStateSpecific |
getSpecificInfo()
Getter for
specificInfo |
AggregateStateSubcategory |
getSubcategory()
Getter for
subcategory |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
AggregateType |
setAggregateKind(AggregateStateAggregateKind pAggregateKind)
Setter for
aggregateKind |
AggregateType |
setCategory(byte pCategory)
Setter for
category |
AggregateType |
setCountry(Country pCountry)
Setter for
country |
AggregateType |
setDomain(PlatformDomain pDomain)
Setter for
domain |
AggregateType |
setExtra(byte pExtra)
Setter for
extra |
AggregateType |
setSpecificInfo(AggregateStateSpecific pSpecificInfo)
Setter for
specificInfo |
AggregateType |
setSubcategory(AggregateStateSubcategory pSubcategory)
Setter for
subcategory |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
protected AggregateStateAggregateKind aggregateKind
protected PlatformDomain domain
protected Country country
protected byte category
protected AggregateStateSubcategory subcategory
protected AggregateStateSpecific specificInfo
protected byte extra
public int getMarshalledSize()
public AggregateType setAggregateKind(AggregateStateAggregateKind pAggregateKind)
aggregateKind
public AggregateStateAggregateKind getAggregateKind()
aggregateKind
public AggregateType setDomain(PlatformDomain pDomain)
domain
public PlatformDomain getDomain()
domain
public AggregateType setCountry(Country pCountry)
country
public AggregateType setCategory(byte pCategory)
category
public byte getCategory()
category
public AggregateType setSubcategory(AggregateStateSubcategory pSubcategory)
subcategory
public AggregateStateSubcategory getSubcategory()
subcategory
public AggregateType setSpecificInfo(AggregateStateSpecific pSpecificInfo)
specificInfo
public AggregateStateSpecific getSpecificInfo()
specificInfo
public AggregateType setExtra(byte pExtra)
extra
public byte getExtra()
extra
public void marshal(java.io.DataOutputStream dos)
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied objectobj
- the object to compare to