public class ModulationType
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short |
detail
provide certain detailed information depending upon the major modulation type, uid 156-162
|
protected TransmitterMajorModulation |
majorModulation
the major classification of the modulation type.
|
protected TransmitterModulationTypeSystem |
radioSystem
the radio system associated with this Transmitter PDU and shall be used as the basis to interpret other fields whose values depend on a specific radio system.
|
protected short |
spreadSpectrum
This field shall indicate the spread spectrum technique or combination of spread spectrum techniques in use.
|
Constructor and Description |
---|
ModulationType()
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 |
getDetail()
Getter for
detail |
TransmitterMajorModulation |
getMajorModulation()
Getter for
majorModulation |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
TransmitterModulationTypeSystem |
getRadioSystem()
Getter for
radioSystem |
short |
getSpreadSpectrum()
Getter for
spreadSpectrum |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
ModulationType |
setDetail(short pDetail)
Setter for
detail |
ModulationType |
setMajorModulation(TransmitterMajorModulation pMajorModulation)
Setter for
majorModulation |
ModulationType |
setRadioSystem(TransmitterModulationTypeSystem pRadioSystem)
Setter for
radioSystem |
ModulationType |
setSpreadSpectrum(short pSpreadSpectrum)
Setter for
spreadSpectrum |
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 short spreadSpectrum
protected TransmitterMajorModulation majorModulation
protected short detail
protected TransmitterModulationTypeSystem radioSystem
public int getMarshalledSize()
public ModulationType setSpreadSpectrum(short pSpreadSpectrum)
spreadSpectrum
public short getSpreadSpectrum()
spreadSpectrum
public ModulationType setMajorModulation(TransmitterMajorModulation pMajorModulation)
majorModulation
public TransmitterMajorModulation getMajorModulation()
majorModulation
public ModulationType setDetail(short pDetail)
detail
public short getDetail()
detail
public ModulationType setRadioSystem(TransmitterModulationTypeSystem pRadioSystem)
radioSystem
public TransmitterModulationTypeSystem getRadioSystem()
radioSystem
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