public class EntityAssociationVP
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityAssociationAssociationType |
associationStatus
Indicates association status between two entities uid 319
|
protected EntityAssociationPhysicalAssociationType |
associationType
Type of association; 8 bit enum uid 323
|
protected EntityVPRecordChangeIndicator |
changeIndicator
Indicates if this VP has changed since last issuance uid 320
|
protected EntityID |
entityID
Object ID of entity associated with this entity
|
protected EntityAssociationGroupMemberType |
groupMemberType
Type of member the entity is within the group uid 321
|
protected short |
groupNumber
Group if any to which the entity belongs
|
protected IsPartOfStationName |
ownStationLocation
Station location on one's own entity uid 212
|
protected EntityAssociationPhysicalConnectionType |
physicalConnectionType
Type of physical connection uid 324
|
protected VariableParameterRecordType |
recordType
the identification of the Variable Parameter record.
|
Constructor and Description |
---|
EntityAssociationVP()
Constructor
|
protected VariableParameterRecordType recordType
protected EntityVPRecordChangeIndicator changeIndicator
protected EntityAssociationAssociationType associationStatus
protected EntityAssociationPhysicalAssociationType associationType
protected EntityID entityID
protected IsPartOfStationName ownStationLocation
protected EntityAssociationPhysicalConnectionType physicalConnectionType
protected EntityAssociationGroupMemberType groupMemberType
protected short groupNumber
public int getMarshalledSize()
public EntityAssociationVP setRecordType(VariableParameterRecordType pRecordType)
recordType
public VariableParameterRecordType getRecordType()
recordType
public EntityAssociationVP setChangeIndicator(EntityVPRecordChangeIndicator pChangeIndicator)
changeIndicator
public EntityVPRecordChangeIndicator getChangeIndicator()
changeIndicator
public EntityAssociationVP setAssociationStatus(EntityAssociationAssociationType pAssociationStatus)
associationStatus
public EntityAssociationAssociationType getAssociationStatus()
associationStatus
public EntityAssociationVP setAssociationType(EntityAssociationPhysicalAssociationType pAssociationType)
associationType
public EntityAssociationPhysicalAssociationType getAssociationType()
associationType
public EntityAssociationVP setEntityID(EntityID pEntityID)
entityID
public EntityAssociationVP setOwnStationLocation(IsPartOfStationName pOwnStationLocation)
ownStationLocation
public IsPartOfStationName getOwnStationLocation()
ownStationLocation
public EntityAssociationVP setPhysicalConnectionType(EntityAssociationPhysicalConnectionType pPhysicalConnectionType)
physicalConnectionType
public EntityAssociationPhysicalConnectionType getPhysicalConnectionType()
physicalConnectionType
public EntityAssociationVP setGroupMemberType(EntityAssociationGroupMemberType pGroupMemberType)
groupMemberType
public EntityAssociationGroupMemberType getGroupMemberType()
groupMemberType
public EntityAssociationVP setGroupNumber(short pGroupNumber)
groupNumber
public short getGroupNumber()
groupNumber
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