public class AntGain extends Object
Element of AntMode
Example: A basic gain, regardless of the frequency:
<AntGain> <Gain cls="U">0</Gain> </AntGain> A complete entry:* <AntGain> <Gain cls="U">6.1</Gain> <Freq cls="U">230.525</Freq> <FrontToBackRatio cls="U">2</FrontToBackRatio> </AntGain>
Constructor and Description |
---|
AntGain() |
Modifier and Type | Method and Description |
---|---|
TString |
getCalculated()
Get Yes to indicate that the data was calculated, or "No" if the data is
issued from measurement.
|
FreqM |
getFreq()
Get the frequency at which the gain is expressed..
|
Unsigned_DB_5_2 |
getFrontToBackRatio()
Get the front-to-back ratio of the main beam to the back lobe..
|
dBi |
getGain()
Get the antenna gain (in dBi - dB with reference to an isotropic source) in
the direction of maximum radiation.
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetCalculated()
Determine if the Calculated is configured.
|
boolean |
isSetFreq()
Determine if the Freq is configured.
|
boolean |
isSetFrontToBackRatio()
Determine if the FrontToBackRatio is configured.
|
boolean |
isSetGain()
Determine if the Gain is configured.
|
void |
setCalculated(TString value)
Set Yes to indicate that the data was calculated, or "No" if the data is
issued from measurement.
|
void |
setFreq(FreqM value)
Set the frequency at which the gain is expressed..
|
void |
setFrontToBackRatio(Unsigned_DB_5_2 value)
Set the front-to-back ratio of the main beam to the back lobe..
|
void |
setGain(dBi value)
Set the antenna gain (in dBi - dB with reference to an isotropic source) in
the direction of maximum radiation.
|
String |
toString()
Get a string representation of this AntGain instance configuration.
|
AntGain |
withCalculated(ListCBO value)
Set Yes to indicate that the data was calculated, or "No" if the data is
issued from measurement.
|
AntGain |
withFreq(Double value)
Set the frequency at which the gain is expressed.
|
AntGain |
withFrontToBackRatio(Double value)
Set the front-to-back ratio of the main beam to the back lobe.
|
AntGain |
withGain(Double value)
Set the antenna gain (in dBi - dB with reference to an isotropic source) in
the direction of maximum radiation.
|
public TString getCalculated()
TString
data typepublic void setCalculated(TString value)
value
- the Calculated value in a TString
data typepublic boolean isSetCalculated()
If configured this method also inspects the TString
wrapped value.
public dBi getGain()
dBi
instancepublic void setGain(dBi value)
value
- a dBi
instancepublic boolean isSetGain()
public FreqM getFreq()
FreqM
instancepublic void setFreq(FreqM value)
value
- a FreqM
instancepublic boolean isSetFreq()
public Unsigned_DB_5_2 getFrontToBackRatio()
Unsigned_DB_5_2
instancepublic void setFrontToBackRatio(Unsigned_DB_5_2 value)
value
- a Unsigned_DB_5_2
instancepublic boolean isSetFrontToBackRatio()
public AntGain withCalculated(ListCBO value)
value
- An instances of type ListCBO
.public AntGain withGain(Double value)
value
- An instances of type Double
.public AntGain withFreq(Double value)
value
- An instances of type Double
.public AntGain withFrontToBackRatio(Double value)
value
- An instances of type Double
.public 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.
Copyright © 2016 OpenSSRF.org. All rights reserved.