public class RxRef extends Object
Element of Configuration
Sub-Elements are RxAntModeRef
, RxModeRef
Constructor and Description |
---|
RxRef() |
Modifier and Type | Method and Description |
---|---|
Receiver |
getReceiver()
Get the identifier of the related Receiver used in this configuration.
|
Set<RxAntModeRef> |
getRxAntModeRef()
Get the RxAntModeRef
|
Set<RxModeRef> |
getRxModeRef()
Get the RxModeRef
|
Serial |
getSerial()
Deprecated.
SSRF references are managed automatically. Use
getReceiver() instead. |
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetReceiver()
Determine if the receiver field is configured.
|
boolean |
isSetRxAntModeRef()
Determine if the RxAntModeRef is configured.
|
boolean |
isSetRxModeRef()
Determine if the RxModeRef is configured.
|
boolean |
isSetSerial()
Determine if the Serial is configured.
|
void |
postLoad(SSRF root)
Update the SSRF data type references in this RxRef record after loading
from XML.
|
void |
prepare()
Update the SSRF data type references in this RxRef record.
|
void |
setSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
#setReceiver(Receiver) instead. |
String |
toString()
Get a string representation of this RxRef instance configuration.
|
void |
unsetRxAntModeRef()
Clear the RxAntModeRef field.
|
void |
unsetRxModeRef()
Clear the RxModeRef field.
|
RxRef |
withReceiver(Receiver value)
Set the identifier of the related Receiver used in this configuration.
|
RxRef |
withRxAntModeRef(Collection<RxAntModeRef> values)
Set the RxAntModeRef
|
RxRef |
withRxAntModeRef(RxAntModeRef... values)
Set the RxAntModeRef
|
RxRef |
withRxModeRef(Collection<RxModeRef> values)
Set the RxModeRef
|
RxRef |
withRxModeRef(RxModeRef... values)
Set the RxModeRef
|
RxRef |
withSerial(Serial value)
Deprecated.
SSRF references are managed automatically. Use
withReceiver(Receiver) instead. |
@Deprecated public Serial getSerial()
getReceiver()
instead.Serial
instance@Deprecated public void setSerial(Serial value)
#setReceiver(Receiver)
instead.value
- a Serial
instancepublic boolean isSetSerial()
public Set<RxModeRef> getRxModeRef()
Complex element RxModeRef references a RxMode of the receiver used in a specific configuration..
RxModeRef
instancepublic boolean isSetRxModeRef()
public void unsetRxModeRef()
public Set<RxAntModeRef> getRxAntModeRef()
Complex element RxAntModeRef contains references to the Antenna and its AntMode, used to construct a Receiver Configuration..
RxAntModeRef
instancepublic boolean isSetRxAntModeRef()
public void unsetRxAntModeRef()
@Deprecated public RxRef withSerial(Serial value)
withReceiver(Receiver)
instead.value
- An instances of type Serial
.public RxRef withRxModeRef(RxModeRef... values)
Complex element RxModeRef references a RxMode of the receiver used in a specific configuration.
values
- One or more instances of type RxModeRef...
.public RxRef withRxModeRef(Collection<RxModeRef> values)
Complex element RxModeRef references a RxMode of the receiver used in a specific configuration.
values
- A collection of RxModeRef
instancespublic RxRef withRxAntModeRef(RxAntModeRef... values)
Complex element RxAntModeRef contains references to the Antenna and its AntMode, used to construct a Receiver Configuration.
values
- One or more instances of type RxAntModeRef...
.public RxRef withRxAntModeRef(Collection<RxAntModeRef> values)
Complex element RxAntModeRef contains references to the Antenna and its AntMode, used to construct a Receiver Configuration.
values
- A collection of RxAntModeRef
instancespublic String toString()
public boolean isSet()
Note that this method only checks for the presence of required information; this method does not validate the information format.
public Receiver getReceiver()
Receiver
instancepublic boolean isSetReceiver()
public RxRef withReceiver(Receiver value)
value
- An instances of type Receiver
.public void prepare()
This method builds the exported serial
field with values from the
transient receiver
field. This method should typically be called
after the RxRef is configured and (optionally) before exporting an SSRF
message.
public void postLoad(SSRF root)
This method builds the transient receiver
with values from the
imported serial
field. This method should typically be called
after the RxRef is imported from XML. * @param root the SSRF root instance.
Copyright © 2016 OpenSSRF.org. All rights reserved.