public class IsPartOfPdu extends EntityManagementFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected NamedLocationIdentification |
namedLocationID
named location
|
protected EntityID |
orginatingEntityID
ID of entity originating PDU
|
protected EntityType |
partEntityType
entity type
|
protected Vector3Float |
partLocation
location of part; centroid of part in host's coordinate system.
|
protected EntityID |
receivingEntityID
ID of entity receiving PDU
|
protected Relationship |
relationship
relationship of joined parts
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
IsPartOfPdu()
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 |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
NamedLocationIdentification |
getNamedLocationID()
Getter for
namedLocationID |
EntityID |
getOrginatingEntityID()
Getter for
orginatingEntityID |
EntityType |
getPartEntityType()
Getter for
partEntityType |
Vector3Float |
getPartLocation()
Getter for
partLocation |
EntityID |
getReceivingEntityID()
Getter for
receivingEntityID |
Relationship |
getRelationship()
Getter for
relationship |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
IsPartOfPdu |
setNamedLocationID(NamedLocationIdentification pNamedLocationID)
Setter for
namedLocationID |
IsPartOfPdu |
setOrginatingEntityID(EntityID pOrginatingEntityID)
Setter for
orginatingEntityID |
IsPartOfPdu |
setPartEntityType(EntityType pPartEntityType)
Setter for
partEntityType |
IsPartOfPdu |
setPartLocation(Vector3Float pPartLocation)
Setter for
partLocation |
IsPartOfPdu |
setReceivingEntityID(EntityID pReceivingEntityID)
Setter for
receivingEntityID |
IsPartOfPdu |
setRelationship(Relationship pRelationship)
Setter for
relationship |
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.
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID orginatingEntityID
protected EntityID receivingEntityID
protected Relationship relationship
protected Vector3Float partLocation
protected NamedLocationIdentification namedLocationID
protected EntityType partEntityType
public int getMarshalledSize()
getMarshalledSize
in class EntityManagementFamilyPdu
public IsPartOfPdu setOrginatingEntityID(EntityID pOrginatingEntityID)
orginatingEntityID
public EntityID getOrginatingEntityID()
orginatingEntityID
public IsPartOfPdu setReceivingEntityID(EntityID pReceivingEntityID)
receivingEntityID
public EntityID getReceivingEntityID()
receivingEntityID
public IsPartOfPdu setRelationship(Relationship pRelationship)
relationship
public Relationship getRelationship()
relationship
public IsPartOfPdu setPartLocation(Vector3Float pPartLocation)
partLocation
public Vector3Float getPartLocation()
partLocation
public IsPartOfPdu setNamedLocationID(NamedLocationIdentification pNamedLocationID)
namedLocationID
public NamedLocationIdentification getNamedLocationID()
namedLocationID
public IsPartOfPdu setPartEntityType(EntityType pPartEntityType)
partEntityType
public EntityType getPartEntityType()
partEntityType
public void marshal(java.io.DataOutputStream dos)
marshal
in class EntityManagementFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class EntityManagementFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class EntityManagementFamilyPdu
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
unmarshal
in class EntityManagementFamilyPdu
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 EntityManagementFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class EntityManagementFamilyPdu
obj
- the object to compare to