public class RxAntModeRef extends Object
Element of RxRef
Example:
<RxAntModeRef> <Serial cls="U">USA:NTIA:AN:123</Serial> <ModeID cls="U">TRACKING</ModeID> </RxAntModeRef>
Constructor and Description |
---|
RxAntModeRef() |
Modifier and Type | Method and Description |
---|---|
Antenna |
getAntenna()
Get the reference to an Antenna in this configuration.
|
dB |
getCouplingLoss()
Get the loss that occurs when energy is transferred between the
transmitter/receiver and the antenna..
|
S20 |
getModeID()
Get the unique name of an AntMode of the Antenna specified in the
corresponding Serial field.
|
Serial |
getSerial()
Deprecated.
SSRF references are managed automatically. Use
getAntenna() instead. |
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetAntenna()
Determine if the antenna field is configured.
|
boolean |
isSetCouplingLoss()
Determine if the CouplingLoss is configured.
|
boolean |
isSetModeID()
Determine if the ModeID is configured.
|
boolean |
isSetSerial()
Determine if the Serial is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this RxAntModeRef record after
loading from XML.
|
void |
prepare()
Update the SSRF data type references in this RxAntModeRef record.
|
void |
setCouplingLoss(dB value)
Set the loss that occurs when energy is transferred between the
transmitter/receiver and the antenna..
|
void |
setModeID(S20 value)
Set the unique name of an AntMode of the Antenna specified in the
corresponding Serial field.
|
void |
setSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
#setAntenna(Antenna) instead. |
String |
toString()
Get a string representation of this RxAntModeRef instance configuration.
|
RxAntModeRef |
withAntenna(Antenna value)
Set the reference to an Antenna in this configuration.
|
RxAntModeRef |
withCouplingLoss(Double value)
Set the loss that occurs when energy is transferred between the
transmitter/receiver and the antenna.
|
RxAntModeRef |
withModeID(String value)
Set the unique name of an AntMode of the Antenna specified in the
corresponding Serial field.
|
RxAntModeRef |
withSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
withAntenna(Antenna) instead. |
@Deprecated public Serial getSerial()
getAntenna()
instead.Serial
instance@Deprecated public void setSerial(Serial value)
#setAntenna(Antenna)
instead.value
- a Serial
instancepublic boolean isSetSerial()
public S20 getModeID()
S20
instancepublic void setModeID(S20 value)
value
- a S20
instancepublic boolean isSetModeID()
public dB getCouplingLoss()
dB
instancepublic void setCouplingLoss(dB value)
value
- a dB
instancepublic boolean isSetCouplingLoss()
@Deprecated public RxAntModeRef withSerial(Serial value)
withAntenna(Antenna)
instead.value
- An instances of type Serial
.public RxAntModeRef withModeID(String value)
value
- An instances of type String
.public RxAntModeRef withCouplingLoss(Double value)
value
- An instances of type Double
.public String toString()
public boolean isSet()
RxAntModeRef
requires Serial
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
public Antenna getAntenna()
Antenna
instancepublic boolean isSetAntenna()
public RxAntModeRef withAntenna(Antenna value)
value
- An instances of type Antenna
.public void prepare()
This method builds the exported serial
field with values from the
transient antenna
field. This method should typically be called
after the RxAntModeRef is configured and (optionally) before exporting an
SSRF message.
public void postLoad(SSRF root)
This method builds the transient antenna
with values from the
imported serial
field. This method should typically be called
after the RxAntModeRef is imported from XML. * @param root the SSRF root
instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.