public class GridAxisDescriptorFixed extends GridAxisDescriptor implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short |
initialIndex
initial grid point for the current pdu
|
protected short |
numberOfPointsOnXiAxis
Number of grid locations along Xi axis
|
axisType, domainFinalXi, domainInitialXi, domainPointsXi, interleafFactor
Constructor and Description |
---|
GridAxisDescriptorFixed()
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 |
short |
getInitialIndex()
Getter for
initialIndex |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
short |
getNumberOfPointsOnXiAxis()
Getter for
numberOfPointsOnXiAxis |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
GridAxisDescriptorFixed |
setInitialIndex(short pInitialIndex)
Setter for
initialIndex |
GridAxisDescriptorFixed |
setNumberOfPointsOnXiAxis(short pNumberOfPointsOnXiAxis)
Setter for
numberOfPointsOnXiAxis |
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.
|
getAxisType, getDomainFinalXi, getDomainInitialXi, getDomainPointsXi, getInterleafFactor, setAxisType, setDomainFinalXi, setDomainInitialXi, setDomainPointsXi, setInterleafFactor
protected short numberOfPointsOnXiAxis
protected short initialIndex
public int getMarshalledSize()
getMarshalledSize
in class GridAxisDescriptor
public GridAxisDescriptorFixed setNumberOfPointsOnXiAxis(short pNumberOfPointsOnXiAxis)
numberOfPointsOnXiAxis
public short getNumberOfPointsOnXiAxis()
numberOfPointsOnXiAxis
public GridAxisDescriptorFixed setInitialIndex(short pInitialIndex)
initialIndex
public short getInitialIndex()
initialIndex
public void marshal(java.io.DataOutputStream dos)
marshal
in class GridAxisDescriptor
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class GridAxisDescriptor
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class GridAxisDescriptor
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
unmarshal
in class GridAxisDescriptor
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 GridAxisDescriptor
public boolean equalsImpl(java.lang.Object obj)
GridAxisDescriptor
this
and the supplied objectequalsImpl
in class GridAxisDescriptor
obj
- the object to compare to