public class ChannelFreq extends AMetadata<ChannelFreq> implements Comparable<ChannelFreq>
Element of Channel
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
value
The value property; one frequency in the channel plan.
|
availability, cls, extReferences, idref, legacyReleasability, quality, recommendedValue, remarkRef
Constructor and Description |
---|
ChannelFreq()
Construct a new, empty ChannelFreq instance.
|
ChannelFreq(BigDecimal value)
Construct a new ChannelFreq instance with the given initial value.
|
ChannelFreq(Double value)
Construct a new ChannelFreq instance with the given initial value.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ChannelFreq obj)
Comparison and sorting.
|
boolean |
equals(Object obj)
Equality is based upon the value.
|
BigDecimal |
getValue()
Get the value of the value property.
|
int |
hashCode()
Hash code is based upon the value.
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetValue()
Determine if the value property is configured.
|
void |
setValue(BigDecimal value)
Set the value of the value property.
|
String |
toString()
Get a string representation of this data wrapper value.
|
ChannelFreq |
withValue(BigDecimal value)
Set the frequency in the channel plan.
|
getAvailability, getCls, getExtReferences, getIdref, getLegacyReleasability, getQuality, getRecommendedValue, getRemarkRef, isSetAvailability, isSetCls, isSetExtReferences, isSetIdref, isSetLegacyReleasability, isSetQuality, isSetRecommendedValue, isSetRemarkRef, setAvailability, setCls, setIdref, setLegacyReleasability, setQuality, setRecommendedValue, unsetExtReferences, unsetRemarkRef, withAvailability, withCls, withExtReferences, withExtReferences, withIdref, withLegacyReleasability, withQuality, withRecommendedValue, withRemarkRef, withRemarkRef
protected BigDecimal value
Format is UN(16,9) [0..1.0E9](MHz)
public ChannelFreq()
public ChannelFreq(BigDecimal value)
value
- The initial value.public ChannelFreq(Double value)
value
- The initial value.public BigDecimal getValue()
public void setValue(BigDecimal value)
the
- valuepublic boolean isSetValue()
public ChannelFreq withValue(BigDecimal value)
Format is FREQ / UN(16,9) [0..1.0E9](MHz)
value
- An instances of type BigDecimal
public String toString()
toString
in class AMetadata<ChannelFreq>
public boolean isSet()
ChannelFreq
requires cls
and
value
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
isSet
in class AMetadata<ChannelFreq>
public int hashCode()
public boolean equals(Object obj)
public int compareTo(ChannelFreq obj)
compareTo
in interface Comparable<ChannelFreq>
obj
- the other object to compareCopyright © 2016 OpenSSRF.org. All rights reserved.