public class SeparationVP
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected byte |
padding1
padding
|
protected short |
padding2
padding
|
protected EntityID |
parentEntityID
ID of parent
|
protected SeparationVPPreEntityIndicator |
preEntityIndicator
Whether the entity existed prior to separation EBV uid 283
|
protected SeparationVPReasonforSeparation |
reasonForSeparation
Reason for separation.
|
protected VariableParameterRecordType |
recordType
the identification of the Variable Parameter record.
|
protected NamedLocationIdentification |
stationLocation
Station separated from
|
Constructor and Description |
---|
SeparationVP()
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
|
byte |
getPadding1()
Getter for
padding1 |
short |
getPadding2()
Getter for
padding2 |
EntityID |
getParentEntityID()
Getter for
parentEntityID |
SeparationVPPreEntityIndicator |
getPreEntityIndicator()
Getter for
preEntityIndicator |
SeparationVPReasonforSeparation |
getReasonForSeparation()
Getter for
reasonForSeparation |
VariableParameterRecordType |
getRecordType()
Getter for
recordType |
NamedLocationIdentification |
getStationLocation()
Getter for
stationLocation |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
SeparationVP |
setPadding1(byte pPadding1)
Setter for
padding1 |
SeparationVP |
setPadding2(short pPadding2)
Setter for
padding2 |
SeparationVP |
setParentEntityID(EntityID pParentEntityID)
Setter for
parentEntityID |
SeparationVP |
setPreEntityIndicator(SeparationVPPreEntityIndicator pPreEntityIndicator)
Setter for
preEntityIndicator |
SeparationVP |
setReasonForSeparation(SeparationVPReasonforSeparation pReasonForSeparation)
Setter for
reasonForSeparation |
SeparationVP |
setRecordType(VariableParameterRecordType pRecordType)
Setter for
recordType |
SeparationVP |
setStationLocation(NamedLocationIdentification pStationLocation)
Setter for
stationLocation |
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 SeparationVPReasonforSeparation reasonForSeparation
protected SeparationVPPreEntityIndicator preEntityIndicator
protected byte padding1
protected EntityID parentEntityID
protected short padding2
protected NamedLocationIdentification stationLocation
public int getMarshalledSize()
public SeparationVP setRecordType(VariableParameterRecordType pRecordType)
recordType
public VariableParameterRecordType getRecordType()
recordType
public SeparationVP setReasonForSeparation(SeparationVPReasonforSeparation pReasonForSeparation)
reasonForSeparation
public SeparationVPReasonforSeparation getReasonForSeparation()
reasonForSeparation
public SeparationVP setPreEntityIndicator(SeparationVPPreEntityIndicator pPreEntityIndicator)
preEntityIndicator
public SeparationVPPreEntityIndicator getPreEntityIndicator()
preEntityIndicator
public SeparationVP setPadding1(byte pPadding1)
padding1
public byte getPadding1()
padding1
public SeparationVP setParentEntityID(EntityID pParentEntityID)
parentEntityID
public EntityID getParentEntityID()
parentEntityID
public SeparationVP setPadding2(short pPadding2)
padding2
public short getPadding2()
padding2
public SeparationVP setStationLocation(NamedLocationIdentification pStationLocation)
stationLocation
public NamedLocationIdentification getStationLocation()
stationLocation
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