|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis7mobile.DataQueryDatumSpecification
public class DataQueryDatumSpecification
List of fixed and variable datum records. Section 6.2.18 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 java.util.List<UnsignedDISInteger> |
fixedDatumIDList
variable length list fixed datum IDs |
protected long |
numberOfFixedDatums
Number of fixed datums |
protected long |
numberOfVariableDatums
Number of variable datums |
protected java.util.List<UnsignedDISInteger> |
variableDatumIDList
variable length list variable datum IDs |
Constructor Summary | |
---|---|
DataQueryDatumSpecification()
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 |
java.util.List<UnsignedDISInteger> |
getFixedDatumIDList()
|
int |
getMarshalledSize()
|
long |
getNumberOfFixedDatums()
|
long |
getNumberOfVariableDatums()
|
java.util.List<UnsignedDISInteger> |
getVariableDatumIDList()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setFixedDatumIDList(java.util.List<UnsignedDISInteger> pFixedDatumIDList)
|
void |
setNumberOfFixedDatums(long pNumberOfFixedDatums)
Note that setting this value will not change the marshalled value. |
void |
setNumberOfVariableDatums(long pNumberOfVariableDatums)
Note that setting this value will not change the marshalled value. |
void |
setVariableDatumIDList(java.util.List<UnsignedDISInteger> pVariableDatumIDList)
|
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 long numberOfFixedDatums
protected long numberOfVariableDatums
protected java.util.List<UnsignedDISInteger> fixedDatumIDList
protected java.util.List<UnsignedDISInteger> variableDatumIDList
Constructor Detail |
---|
public DataQueryDatumSpecification()
Method Detail |
---|
public int getMarshalledSize()
public long getNumberOfFixedDatums()
public void setNumberOfFixedDatums(long pNumberOfFixedDatums)
public long getNumberOfVariableDatums()
public void setNumberOfVariableDatums(long pNumberOfVariableDatums)
public void setFixedDatumIDList(java.util.List<UnsignedDISInteger> pFixedDatumIDList)
public java.util.List<UnsignedDISInteger> getFixedDatumIDList()
public void setVariableDatumIDList(java.util.List<UnsignedDISInteger> pVariableDatumIDList)
public java.util.List<UnsignedDISInteger> getVariableDatumIDList()
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 |