public class EngineFuelReload
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected FuelLocation |
fuelLocation
fuel location as related to the entity uid 329
|
protected FuelMeasurementUnits |
fuelMeasurmentUnits
Units of measure uid 328
|
protected SupplyFuelType |
fuelType
uid 413
|
protected int |
maximumQuantity
maximum quantity of fuel loaded
|
protected int |
maximumQuantityReloadTime
seconds normally required to to reload maximum qty
|
protected byte |
padding
padding
|
protected int |
standardQuantity
standard quantity of fuel loaded
|
protected int |
standardQuantityReloadTime
seconds normally required to to reload standard qty
|
Constructor and Description |
---|
EngineFuelReload()
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 |
FuelLocation |
getFuelLocation()
Getter for
fuelLocation |
FuelMeasurementUnits |
getFuelMeasurmentUnits()
Getter for
fuelMeasurmentUnits |
SupplyFuelType |
getFuelType()
Getter for
fuelType |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
int |
getMaximumQuantity()
Getter for
maximumQuantity |
int |
getMaximumQuantityReloadTime()
Getter for
maximumQuantityReloadTime |
byte |
getPadding()
Getter for
padding |
int |
getStandardQuantity()
Getter for
standardQuantity |
int |
getStandardQuantityReloadTime()
Getter for
standardQuantityReloadTime |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
EngineFuelReload |
setFuelLocation(FuelLocation pFuelLocation)
Setter for
fuelLocation |
EngineFuelReload |
setFuelMeasurmentUnits(FuelMeasurementUnits pFuelMeasurmentUnits)
Setter for
fuelMeasurmentUnits |
EngineFuelReload |
setFuelType(SupplyFuelType pFuelType)
Setter for
fuelType |
EngineFuelReload |
setMaximumQuantity(int pMaximumQuantity)
Setter for
maximumQuantity |
EngineFuelReload |
setMaximumQuantityReloadTime(int pMaximumQuantityReloadTime)
Setter for
maximumQuantityReloadTime |
EngineFuelReload |
setPadding(byte pPadding)
Setter for
padding |
EngineFuelReload |
setStandardQuantity(int pStandardQuantity)
Setter for
standardQuantity |
EngineFuelReload |
setStandardQuantityReloadTime(int pStandardQuantityReloadTime)
Setter for
standardQuantityReloadTime |
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.
|
protected int standardQuantity
protected int maximumQuantity
protected int standardQuantityReloadTime
protected int maximumQuantityReloadTime
protected FuelMeasurementUnits fuelMeasurmentUnits
protected SupplyFuelType fuelType
protected FuelLocation fuelLocation
protected byte padding
public int getMarshalledSize()
public EngineFuelReload setStandardQuantity(int pStandardQuantity)
standardQuantity
public int getStandardQuantity()
standardQuantity
public EngineFuelReload setMaximumQuantity(int pMaximumQuantity)
maximumQuantity
public int getMaximumQuantity()
maximumQuantity
public EngineFuelReload setStandardQuantityReloadTime(int pStandardQuantityReloadTime)
standardQuantityReloadTime
public int getStandardQuantityReloadTime()
standardQuantityReloadTime
public EngineFuelReload setMaximumQuantityReloadTime(int pMaximumQuantityReloadTime)
maximumQuantityReloadTime
public int getMaximumQuantityReloadTime()
maximumQuantityReloadTime
public EngineFuelReload setFuelMeasurmentUnits(FuelMeasurementUnits pFuelMeasurmentUnits)
fuelMeasurmentUnits
public FuelMeasurementUnits getFuelMeasurmentUnits()
fuelMeasurmentUnits
public EngineFuelReload setFuelType(SupplyFuelType pFuelType)
fuelType
public SupplyFuelType getFuelType()
fuelType
public EngineFuelReload setFuelLocation(FuelLocation pFuelLocation)
fuelLocation
public FuelLocation getFuelLocation()
fuelLocation
public EngineFuelReload setPadding(byte pPadding)
padding
public byte getPadding()
padding
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