public class VSWR extends Object
Element of AntMode
Example:
<VSWR> <Freq cls="U">225</Freq> <Ratio cls="U">1.2</Ratio> </VSWR>
Constructor and Description |
---|
VSWR() |
Modifier and Type | Method and Description |
---|---|
FreqM |
getFreq()
Get the specific frequency at which the VSWR measurement was taken.
|
UN2_1 |
getRatio()
Get the standing wave ratio referenced to the specific frequency, as a
number without unit (e.g., enter "2" to represent a ratio of 2:1)..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetFreq()
Determine if the Freq is configured.
|
boolean |
isSetRatio()
Determine if the Ratio is configured.
|
void |
setFreq(FreqM value)
Set the specific frequency at which the VSWR measurement was taken.
|
void |
setRatio(UN2_1 value)
Set the standing wave ratio referenced to the specific frequency, as a
number without unit (e.g., enter "2" to represent a ratio of 2:1)..
|
String |
toString()
Get a string representation of this VSWR instance configuration.
|
VSWR |
withFreq(Double value)
Set the specific frequency at which the VSWR measurement was taken.
|
VSWR |
withRatio(Double value)
Set the standing wave ratio referenced to the specific frequency, as a
number without unit (e.g., enter "2" to represent a ratio of 2:1).
|
public FreqM getFreq()
FreqM
instancepublic void setFreq(FreqM value)
value
- a FreqM
instancepublic boolean isSetFreq()
public UN2_1 getRatio()
UN2_1
instancepublic void setRatio(UN2_1 value)
value
- a UN2_1
instancepublic boolean isSetRatio()
public VSWR withFreq(Double value)
value
- An instances of type Double
.public VSWR withRatio(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.