public class MetricDescriptor extends Descriptor
Java-Klasse für AbstractMetricDescriptor complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="AbstractMetricDescriptor">
<complexContent>
<extension base="{http://domain-model-uri/15/04}AbstractDescriptor">
<sequence>
<element ref="{http://domain-model-uri/15/04}Unit"/>
<element ref="{http://domain-model-uri/15/04}BodySite" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://domain-model-uri/15/04}MetricCategory"/>
<element ref="{http://domain-model-uri/15/04}Availability"/>
</sequence>
<attribute name="MaxDelayTime" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected MetricAvailability |
availability |
protected java.util.List<CodedValue> |
bodySites |
protected MetricCategory |
category |
protected javax.xml.datatype.Duration |
maxDelayTime |
protected CodedValue |
unit |
descriptorVersion, extension, handle, intendedUse, type| Constructor and Description |
|---|
MetricDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
MetricAvailability |
getAvailability()
Ruft den Wert der availability-Eigenschaft ab.
|
java.util.List<CodedValue> |
getBodySites()
Optional list of codes that describe the body sites.Gets the value of the bodySites property.
|
MetricCategory |
getCategory()
Ruft den Wert der category-Eigenschaft ab.
|
javax.xml.datatype.Duration |
getMaxDelayTime()
Ruft den Wert der maxDelayTime-Eigenschaft ab.
|
CodedValue |
getUnit()
Ruft den Wert der unit-Eigenschaft ab.
|
void |
setAvailability(MetricAvailability value)
Legt den Wert der availability-Eigenschaft fest.
|
void |
setCategory(MetricCategory value)
Legt den Wert der category-Eigenschaft fest.
|
void |
setMaxDelayTime(javax.xml.datatype.Duration value)
Legt den Wert der maxDelayTime-Eigenschaft fest.
|
void |
setUnit(CodedValue value)
Legt den Wert der unit-Eigenschaft fest.
|
getDescriptorVersion, getExtension, getHandle, getIntendedUse, getType, setDescriptorVersion, setExtension, setHandle, setIntendedUse, setTypeprotected CodedValue unit
protected java.util.List<CodedValue> bodySites
protected MetricCategory category
protected MetricAvailability availability
protected javax.xml.datatype.Duration maxDelayTime
public CodedValue getUnit()
CodedValuepublic void setUnit(CodedValue value)
value - allowed object is
CodedValuepublic java.util.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 getAvailability()
MetricAvailabilitypublic void setAvailability(MetricAvailability value)
value - allowed object is
MetricAvailabilitypublic javax.xml.datatype.Duration getMaxDelayTime()
Durationpublic void setMaxDelayTime(javax.xml.datatype.Duration value)
value - allowed object is
Duration