public class AbstractMetricDescriptor extends AbstractDescriptor
Java class for AbstractMetricDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractMetricDescriptor">
<complexContent>
<extension base="{http://p11073-10207/draft6/pm/2016/12/08}AbstractDescriptor">
<sequence>
<element name="Unit" type="{http://p11073-10207/draft6/pm/2016/12/08}CodedValue"/>
<element name="BodySite" type="{http://p11073-10207/draft6/pm/2016/12/08}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="MetricCategory" use="required" type="{http://p11073-10207/draft6/pm/2016/12/08}MetricCategory" />
<attribute name="MetricAvailability" use="required" type="{http://p11073-10207/draft6/pm/2016/12/08}MetricAvailability" />
<attribute name="MaxMeasurementTime" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="MaxDelayTime" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="DeterminationPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CodedValue> |
bodySite |
protected Duration |
determinationPeriod |
protected Duration |
maxDelayTime |
protected Duration |
maxMeasurementTime |
protected MetricAvailability |
metricAvailability |
protected MetricCategory |
metricCategory |
protected CodedValue |
unit |
descriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
AbstractMetricDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<CodedValue> |
getBodySite()
Gets the value of the bodySite property.
|
Duration |
getDeterminationPeriod()
Gets the value of the determinationPeriod property.
|
Duration |
getMaxDelayTime()
Gets the value of the maxDelayTime property.
|
Duration |
getMaxMeasurementTime()
Gets the value of the maxMeasurementTime property.
|
MetricAvailability |
getMetricAvailability()
Gets the value of the metricAvailability property.
|
MetricCategory |
getMetricCategory()
Gets the value of the metricCategory property.
|
CodedValue |
getUnit()
Gets the value of the unit property.
|
int |
hashCode() |
void |
setBodySite(List<CodedValue> value) |
void |
setDeterminationPeriod(Duration value)
Sets the value of the determinationPeriod property.
|
void |
setMaxDelayTime(Duration value)
Sets the value of the maxDelayTime property.
|
void |
setMaxMeasurementTime(Duration value)
Sets the value of the maxMeasurementTime property.
|
void |
setMetricAvailability(MetricAvailability value)
Sets the value of the metricAvailability property.
|
void |
setMetricCategory(MetricCategory value)
Sets the value of the metricCategory property.
|
void |
setUnit(CodedValue value)
Sets the value of the unit property.
|
String |
toString() |
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected CodedValue unit
protected List<CodedValue> bodySite
protected MetricCategory metricCategory
protected MetricAvailability metricAvailability
protected Duration maxMeasurementTime
protected Duration maxDelayTime
protected Duration determinationPeriod
public CodedValue getUnit()
CodedValuepublic void setUnit(CodedValue value)
value - allowed object is
CodedValuepublic List<CodedValue> getBodySite()
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 bodySite property.
For example, to add a new item, do as follows:
getBodySite().add(newItem);
Objects of the following type(s) are allowed in the list
CodedValue
public MetricCategory getMetricCategory()
MetricCategorypublic void setMetricCategory(MetricCategory value)
value - allowed object is
MetricCategorypublic MetricAvailability getMetricAvailability()
MetricAvailabilitypublic void setMetricAvailability(MetricAvailability value)
value - allowed object is
MetricAvailabilitypublic Duration getMaxMeasurementTime()
Durationpublic void setMaxMeasurementTime(Duration value)
value - allowed object is
Durationpublic Duration getMaxDelayTime()
Durationpublic void setMaxDelayTime(Duration value)
value - allowed object is
Durationpublic Duration getDeterminationPeriod()
Durationpublic void setDeterminationPeriod(Duration value)
value - allowed object is
Durationpublic void setBodySite(List<CodedValue> value)
public String toString()
toString in class AbstractDescriptorpublic boolean equals(Object that)
equals in class AbstractDescriptorpublic int hashCode()
hashCode in class AbstractDescriptorCopyright © 2018. All rights reserved.