|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis7mobile.EntityAssociation
public class EntityAssociation
Association or disassociation of two entities. Section 6.2.93.4 Copyright (c) 2008-2010, MOVES Institute, Naval Postgraduate School. All rights reserved. This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html
Field Summary | |
---|---|
protected short |
associationStatus
Indicates association status between two entities; 8 bit enum |
protected short |
associationType
Type of association; 8 bit enum |
protected short |
changeIndicator
Indicates if this VP has changed since last issuance |
protected EntityID |
entityID
Object ID of entity associated with this entity |
protected short |
groupMemberType
Type of member the entity is within th egroup |
protected int |
groupNumber
Group if any to which the entity belongs |
protected int |
owsSttionLocation
Station location on one's own entity. |
protected int |
physicalConnectionType
Type of physical connection. |
protected short |
recordType
the identification of the Variable Parameter record. |
Constructor Summary | |
---|---|
EntityAssociation()
Constructor |
Method Summary | |
---|---|
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 |
short |
getAssociationStatus()
|
short |
getAssociationType()
|
short |
getChangeIndicator()
|
EntityID |
getEntityID()
|
short |
getGroupMemberType()
|
int |
getGroupNumber()
|
int |
getMarshalledSize()
|
int |
getOwsSttionLocation()
|
int |
getPhysicalConnectionType()
|
short |
getRecordType()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setAssociationStatus(short pAssociationStatus)
|
void |
setAssociationType(short pAssociationType)
|
void |
setChangeIndicator(short pChangeIndicator)
|
void |
setEntityID(EntityID pEntityID)
|
void |
setGroupMemberType(short pGroupMemberType)
|
void |
setGroupNumber(int pGroupNumber)
|
void |
setOwsSttionLocation(int pOwsSttionLocation)
|
void |
setPhysicalConnectionType(int pPhysicalConnectionType)
|
void |
setRecordType(short pRecordType)
|
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data. |
void |
unmarshal(java.io.DataInputStream dis)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected short recordType
protected short changeIndicator
protected short associationStatus
protected short associationType
protected EntityID entityID
protected int owsSttionLocation
protected int physicalConnectionType
protected short groupMemberType
protected int groupNumber
Constructor Detail |
---|
public EntityAssociation()
Method Detail |
---|
public int getMarshalledSize()
public void setRecordType(short pRecordType)
public short getRecordType()
public void setChangeIndicator(short pChangeIndicator)
public short getChangeIndicator()
public void setAssociationStatus(short pAssociationStatus)
public short getAssociationStatus()
public void setAssociationType(short pAssociationType)
public short getAssociationType()
public void setEntityID(EntityID pEntityID)
public EntityID getEntityID()
public void setOwsSttionLocation(int pOwsSttionLocation)
public int getOwsSttionLocation()
public void setPhysicalConnectionType(int pPhysicalConnectionType)
public int getPhysicalConnectionType()
public void setGroupMemberType(short pGroupMemberType)
public short getGroupMemberType()
public void setGroupNumber(int pGroupNumber)
public int getGroupNumber()
public void marshal(java.io.DataOutputStream dos)
public void unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin writing
java.nio.BufferOverflowException
- if buff is too small
java.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin reading
java.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied object
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |