public class AttachedPartVP
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityType |
attachedPartType
The definition of the 64 bits shall be determined based on the type of parameter specified in the Parameter Type field
|
protected AttachedPartDetachedIndicator |
detachedIndicator
0 = attached, 1 = detached.
|
protected AttachedParts |
parameterType
The location or station to which the part is attached uid 57
|
protected short |
partAttachedTo
the identification of the articulated part to which this articulation parameter is attached.
|
protected VariableParameterRecordType |
recordType
the identification of the Variable Parameter record.
|
Constructor and Description |
---|
AttachedPartVP()
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 |
EntityType |
getAttachedPartType()
Getter for
attachedPartType |
AttachedPartDetachedIndicator |
getDetachedIndicator()
Getter for
detachedIndicator |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
AttachedParts |
getParameterType()
Getter for
parameterType |
short |
getPartAttachedTo()
Getter for
partAttachedTo |
VariableParameterRecordType |
getRecordType()
Getter for
recordType |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
AttachedPartVP |
setAttachedPartType(EntityType pAttachedPartType)
Setter for
attachedPartType |
AttachedPartVP |
setDetachedIndicator(AttachedPartDetachedIndicator pDetachedIndicator)
Setter for
detachedIndicator |
AttachedPartVP |
setParameterType(AttachedParts pParameterType)
Setter for
parameterType |
AttachedPartVP |
setPartAttachedTo(short pPartAttachedTo)
Setter for
partAttachedTo |
AttachedPartVP |
setRecordType(VariableParameterRecordType pRecordType)
Setter for
recordType |
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 VariableParameterRecordType recordType
protected AttachedPartDetachedIndicator detachedIndicator
protected short partAttachedTo
protected AttachedParts parameterType
protected EntityType attachedPartType
public int getMarshalledSize()
public AttachedPartVP setRecordType(VariableParameterRecordType pRecordType)
recordType
public VariableParameterRecordType getRecordType()
recordType
public AttachedPartVP setDetachedIndicator(AttachedPartDetachedIndicator pDetachedIndicator)
detachedIndicator
public AttachedPartDetachedIndicator getDetachedIndicator()
detachedIndicator
public AttachedPartVP setPartAttachedTo(short pPartAttachedTo)
partAttachedTo
public short getPartAttachedTo()
partAttachedTo
public AttachedPartVP setParameterType(AttachedParts pParameterType)
parameterType
public AttachedParts getParameterType()
parameterType
public AttachedPartVP setAttachedPartType(EntityType pAttachedPartType)
attachedPartType
public EntityType getAttachedPartType()
attachedPartType
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