public class MetricDescriptor extends Descriptor
| Modifier and Type | Field and Description |
|---|---|
protected List<CodedValue> |
bodySites |
protected MetricCategory |
category |
protected Duration |
determinationPeriod |
protected Duration |
maxDelayTime |
protected Duration |
maxMeasurementTime |
protected MetricAvailability |
metricAvailability |
protected CodedValue |
unit |
descriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
MetricDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<CodedValue> |
getBodySites()
OPTIONAL list of CODED VALUEs that describe the body sites where the
METRIC is derived from or where it is applied to.
|
MetricCategory |
getCategory()
See pm:MetricCategory.
|
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.
|
CodedValue |
getUnit()
Gets the value of the unit property.
|
int |
hashCode() |
void |
setBodySites(List<CodedValue> value) |
void |
setCategory(MetricCategory value)
Sets the value of the category property.
|
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 |
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> bodySites
protected MetricCategory category
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> getBodySites()
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 bodySites property.
For example, to add a new item, do as follows:
getBodySites().add(newItem);
Objects of the following type(s) are allowed in the list
CodedValue
public MetricCategory getCategory()
MetricCategorypublic void setCategory(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 setBodySites(List<CodedValue> value)
public String toString()
toString in class Descriptorpublic boolean equals(Object that)
equals in class Descriptorpublic int hashCode()
hashCode in class DescriptorCopyright © 2017. All rights reserved.