public class Curve extends Object
Element of Receiver
, Transmitter
Sub-Element is CurvePoint
Example:
<Curve idx="1"> <Type cls="U">Tx RF Spectrum</Type> <Calculated cls="U">No</Calculated> <FreqFactor cls="U">1</FreqFactor> <FreqConst cls="U">0</FreqConst> <Bw cls="U">0.001</Bw> <CurvePoint> <Offset cls="U">0.025</Offset> <Level cls="U">-3</Level> </CurvePoint> <CurvePoint> <Offset cls="U">0.05</Offset> <Level cls="U">-20</Level> </CurvePoint> <CurvePoint> <Offset cls="U">0.1</Offset> <Level cls="U">-40</Level> </CurvePoint> <CurvePoint> <Offset cls="U">1</Offset> <Level cls="U">-60</Level> </CurvePoint> </Curve>
Constructor and Description |
---|
Curve() |
Modifier and Type | Method and Description |
---|---|
FreqM |
getBw()
Get the bandwidth measurement of the curve values..
|
TString |
getCalculated()
Get Yes to indicate that the data was calculated, or "No" if the data is
issued from measurement.
|
Set<CurvePoint> |
getCurvePoint()
Get the CurvePoint
|
FreqOffset |
getFreqConst()
Get a frequency offset (positive or negative)..
|
UN3_1 |
getFreqFactor()
Get a positive numeric multiplier of the carrier frequency.
|
FreqM |
getFreqMax()
Get the highest value of the curve frequency range.
|
FreqM |
getFreqMin()
Get the lowest value of the curve frequency range..
|
BigInteger |
getIdx()
Get a unique index for each Curve used by this Dataset.
|
TString |
getType()
Get a code defining the type of curve..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetBw()
Determine if the Bw is configured.
|
boolean |
isSetCalculated()
Determine if the Calculated is configured.
|
boolean |
isSetCurvePoint()
Determine if the CurvePoint is configured.
|
boolean |
isSetFreqConst()
Determine if the FreqConst is configured.
|
boolean |
isSetFreqFactor()
Determine if the FreqFactor is configured.
|
boolean |
isSetFreqMax()
Determine if the FreqMax is configured.
|
boolean |
isSetFreqMin()
Determine if the FreqMin is configured.
|
boolean |
isSetIdx()
Determine if the Idx is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
void |
setBw(FreqM value)
Set the bandwidth measurement of the curve values..
|
void |
setCalculated(TString value)
Set Yes to indicate that the data was calculated, or "No" if the data is
issued from measurement.
|
void |
setFreqConst(FreqOffset value)
Set a frequency offset (positive or negative)..
|
void |
setFreqFactor(UN3_1 value)
Set a positive numeric multiplier of the carrier frequency.
|
void |
setFreqMax(FreqM value)
Set the highest value of the curve frequency range.
|
void |
setFreqMin(FreqM value)
Set the lowest value of the curve frequency range..
|
void |
setIdx(BigInteger value)
Set a unique index for each Curve used by this Dataset.
|
void |
setType(TString value)
Set a code defining the type of curve..
|
String |
toString()
Get a string representation of this Curve instance configuration.
|
void |
unsetCurvePoint()
Clear the CurvePoint field.
|
Curve |
withBw(Double value)
Set the bandwidth measurement of the curve values.
|
Curve |
withCalculated(ListCBO value)
Set Yes to indicate that the data was calculated, or "No" if the data is
issued from measurement.
|
Curve |
withCurvePoint(Collection<CurvePoint> values)
Set the CurvePoint
|
Curve |
withCurvePoint(CurvePoint... values)
Set the CurvePoint
|
Curve |
withFreqConst(Double value)
Set a frequency offset (positive or negative).
|
Curve |
withFreqFactor(Double value)
Set a positive numeric multiplier of the carrier frequency.
|
Curve |
withFreqMax(Double value)
Set the highest value of the curve frequency range.
|
Curve |
withFreqMin(Double value)
Set the lowest value of the curve frequency range.
|
Curve |
withIdx(BigInteger value)
Set a unique index for each Curve used by this Dataset.
|
Curve |
withType(ListCCT value)
Set a code defining the type of curve.
|
public TString getType()
TString
data typepublic void setType(TString value)
value
- the Type value in a TString
data typepublic boolean isSetType()
If configured this method also inspects the TString
wrapped value.
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 UN3_1 getFreqFactor()
UN3_1
instancepublic void setFreqFactor(UN3_1 value)
value
- a UN3_1
instancepublic boolean isSetFreqFactor()
public FreqOffset getFreqConst()
FreqOffset
instancepublic void setFreqConst(FreqOffset value)
value
- a FreqOffset
instancepublic boolean isSetFreqConst()
public FreqM getBw()
FreqM
instancepublic void setBw(FreqM value)
value
- a FreqM
instancepublic boolean isSetBw()
public FreqM getFreqMin()
FreqM
instancepublic void setFreqMin(FreqM value)
value
- a FreqM
instancepublic boolean isSetFreqMin()
public FreqM getFreqMax()
[XSL ERR MINMAX] If FreqMax is used, it MUST be greater than FreqMin..
FreqM
instancepublic void setFreqMax(FreqM value)
[XSL ERR MINMAX] If FreqMax is used, it MUST be greater than FreqMin..
value
- a FreqM
instancepublic boolean isSetFreqMax()
public Set<CurvePoint> getCurvePoint()
Complex element CurvePoint contains the relative frequency to add to the curve origin to obtain the absolute frequency point on the curve, and the value in dB (relative to the carrier for a Tx characteristic, or relative to sensitivity for a Rx characteristic)..
CurvePoint
instancepublic boolean isSetCurvePoint()
public void unsetCurvePoint()
public BigInteger getIdx()
BigInteger
instancepublic void setIdx(BigInteger value)
value
- a BigInteger
instancepublic boolean isSetIdx()
public Curve withType(ListCCT value)
value
- An instances of type ListCCT
.public Curve withCalculated(ListCBO value)
value
- An instances of type ListCBO
.public Curve withFreqFactor(Double value)
value
- An instances of type Double
.public Curve withFreqConst(Double value)
value
- An instances of type Double
.public Curve withBw(Double value)
value
- An instances of type Double
.public Curve withFreqMin(Double value)
value
- An instances of type Double
.public Curve withFreqMax(Double value)
[XSL ERR MINMAX] If FreqMax is used, it MUST be greater than FreqMin.
value
- An instances of type Double
.public Curve withCurvePoint(CurvePoint... values)
Complex element CurvePoint contains the relative frequency to add to the curve origin to obtain the absolute frequency point on the curve, and the value in dB (relative to the carrier for a Tx characteristic, or relative to sensitivity for a Rx characteristic).
values
- One or more instances of type CurvePoint...
.public Curve withCurvePoint(Collection<CurvePoint> values)
Complex element CurvePoint contains the relative frequency to add to the curve origin to obtain the absolute frequency point on the curve, and the value in dB (relative to the carrier for a Tx characteristic, or relative to sensitivity for a Rx characteristic).
values
- A collection of CurvePoint
instancespublic Curve withIdx(BigInteger value)
value
- An instances of type BigInteger
.public String toString()
public boolean isSet()
Curve
requires CurvePoint
,
FreqConst
, FreqFactor
, Type
, idx
.
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.