public class NumericMetricDescriptor extends AbstractMetricDescriptor
Java class for NumericMetricDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NumericMetricDescriptor">
<complexContent>
<extension base="{http://p11073-10207/draft10/pm/2017/10/05}AbstractMetricDescriptor">
<sequence>
<element name="TechnicalRange" type="{http://p11073-10207/draft10/pm/2017/10/05}Range" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Resolution" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="AveragingPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
AbstractMetricDescriptor.Relation| Modifier and Type | Field and Description |
|---|---|
protected Duration |
averagingPeriod |
protected BigDecimal |
resolution |
protected List<Range> |
technicalRange |
activationDuration, bodySite, derivationMethod, determinationPeriod, lifeTimePeriod, maxDelayTime, maxMeasurementTime, metricAvailability, metricCategory, relation, unitdescriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
NumericMetricDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Duration |
getAveragingPeriod()
Gets the value of the averagingPeriod property.
|
BigDecimal |
getResolution()
Gets the value of the resolution property.
|
List<Range> |
getTechnicalRange()
Gets the value of the technicalRange property.
|
int |
hashCode() |
void |
setAveragingPeriod(Duration value)
Sets the value of the averagingPeriod property.
|
void |
setResolution(BigDecimal value)
Sets the value of the resolution property.
|
void |
setTechnicalRange(List<Range> value) |
String |
toString() |
getActivationDuration, getBodySite, getDerivationMethod, getDeterminationPeriod, getLifeTimePeriod, getMaxDelayTime, getMaxMeasurementTime, getMetricAvailability, getMetricCategory, getRelation, getUnit, setActivationDuration, setBodySite, setDerivationMethod, setDeterminationPeriod, setLifeTimePeriod, setMaxDelayTime, setMaxMeasurementTime, setMetricAvailability, setMetricCategory, setRelation, setUnitgetDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected BigDecimal resolution
protected Duration averagingPeriod
public List<Range> getTechnicalRange()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the technicalRange property.
For example, to add a new item, do as follows:
getTechnicalRange().add(newItem);
Objects of the following type(s) are allowed in the list
Range
public BigDecimal getResolution()
BigDecimalpublic void setResolution(BigDecimal value)
value - allowed object is
BigDecimalpublic Duration getAveragingPeriod()
Durationpublic void setAveragingPeriod(Duration value)
value - allowed object is
Durationpublic String toString()
toString in class AbstractMetricDescriptorpublic boolean equals(Object that)
equals in class AbstractMetricDescriptorpublic int hashCode()
hashCode in class AbstractMetricDescriptorCopyright © 2018. All rights reserved.