edu.nps.moves.dis7mobile
Class FundamentalOperationalData

java.lang.Object
  extended by edu.nps.moves.dis7mobile.FundamentalOperationalData
All Implemented Interfaces:
java.io.Serializable

public class FundamentalOperationalData
extends java.lang.Object
implements java.io.Serializable

Basic operational data for IFF. Section 6.2.40. 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

Author:
DMcG
See Also:
Serialized Form

Field Summary
protected  short dataField1
          data field 1
protected  short dataField2
          enumeration
protected  short informationLayers
          eight boolean fields
protected  int parameter1
          parameter, enumeration
protected  int parameter2
          parameter, enumeration
protected  int parameter3
          parameter, enumeration
protected  int parameter4
          parameter, enumeration
protected  int parameter5
          parameter, enumeration
protected  int parameter6
          parameter, enumeration
protected  short systemStatus
          system status
 
Constructor Summary
FundamentalOperationalData()
          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 getDataField1()
           
 short getDataField2()
           
 short getInformationLayers()
           
 int getMarshalledSize()
           
 int getParameter1()
           
 int getParameter2()
           
 int getParameter3()
           
 int getParameter4()
           
 int getParameter5()
           
 int getParameter6()
           
 short getSystemStatus()
           
 void marshal(java.nio.ByteBuffer buff)
          Packs a Pdu into the ByteBuffer.
 void marshal(java.io.DataOutputStream dos)
           
 void setDataField1(short pDataField1)
           
 void setDataField2(short pDataField2)
           
 void setInformationLayers(short pInformationLayers)
           
 void setParameter1(int pParameter1)
           
 void setParameter2(int pParameter2)
           
 void setParameter3(int pParameter3)
           
 void setParameter4(int pParameter4)
           
 void setParameter5(int pParameter5)
           
 void setParameter6(int pParameter6)
           
 void setSystemStatus(short pSystemStatus)
           
 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

systemStatus

protected short systemStatus
system status


dataField1

protected short dataField1
data field 1


informationLayers

protected short informationLayers
eight boolean fields


dataField2

protected short dataField2
enumeration


parameter1

protected int parameter1
parameter, enumeration


parameter2

protected int parameter2
parameter, enumeration


parameter3

protected int parameter3
parameter, enumeration


parameter4

protected int parameter4
parameter, enumeration


parameter5

protected int parameter5
parameter, enumeration


parameter6

protected int parameter6
parameter, enumeration

Constructor Detail

FundamentalOperationalData

public FundamentalOperationalData()
Constructor

Method Detail

getMarshalledSize

public int getMarshalledSize()

setSystemStatus

public void setSystemStatus(short pSystemStatus)

getSystemStatus

public short getSystemStatus()

setDataField1

public void setDataField1(short pDataField1)

getDataField1

public short getDataField1()

setInformationLayers

public void setInformationLayers(short pInformationLayers)

getInformationLayers

public short getInformationLayers()

setDataField2

public void setDataField2(short pDataField2)

getDataField2

public short getDataField2()

setParameter1

public void setParameter1(int pParameter1)

getParameter1

public int getParameter1()

setParameter2

public void setParameter2(int pParameter2)

getParameter2

public int getParameter2()

setParameter3

public void setParameter3(int pParameter3)

getParameter3

public int getParameter3()

setParameter4

public void setParameter4(int pParameter4)

getParameter4

public int getParameter4()

setParameter5

public void setParameter5(int pParameter5)

getParameter5

public int getParameter5()

setParameter6

public void setParameter6(int pParameter6)

getParameter6

public int getParameter6()

marshal

public void marshal(java.io.DataOutputStream dos)

unmarshal

public void unmarshal(java.io.DataInputStream dis)

marshal

public void marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.

Parameters:
buff - The ByteBuffer at the position to begin writing
Throws:
java.nio.BufferOverflowException - if buff is too small
java.nio.ReadOnlyBufferException - if buff is read only
Since:
??
See Also:
ByteBuffer

unmarshal

public void unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.

Parameters:
buff - The ByteBuffer at the position to begin reading
Throws:
java.nio.BufferUnderflowException - if buff is too small
Since:
??
See Also:
ByteBuffer

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

equalsImpl

public 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

Parameters:
obj - the object to compare to
Returns:
true if the objects are equal, false otherwise.