public class EnumStringMetricDescriptor extends StringMetricDescriptor
Java class for EnumStringMetricDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnumStringMetricDescriptor">
<complexContent>
<extension base="{http://p11073-10207/draft6/pm/2016/12/08}StringMetricDescriptor">
<sequence>
<element name="AllowedValue" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Type" type="{http://p11073-10207/draft6/pm/2016/12/08}CodedValue" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
EnumStringMetricDescriptor.AllowedValue
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<EnumStringMetricDescriptor.AllowedValue> |
allowedValues |
bodySites, category, determinationPeriod, maxDelayTime, maxMeasurementTime, metricAvailability, unitdescriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
EnumStringMetricDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<EnumStringMetricDescriptor.AllowedValue> |
getAllowedValues()
List of values that the enumerated string METRIC accepts as a valid
value.
|
int |
hashCode() |
void |
setAllowedValues(List<EnumStringMetricDescriptor.AllowedValue> value) |
String |
toString() |
getBodySites, getCategory, getDeterminationPeriod, getMaxDelayTime, getMaxMeasurementTime, getMetricAvailability, getUnit, setBodySites, setCategory, setDeterminationPeriod, setMaxDelayTime, setMaxMeasurementTime, setMetricAvailability, setUnitgetDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected List<EnumStringMetricDescriptor.AllowedValue> allowedValues
public List<EnumStringMetricDescriptor.AllowedValue> getAllowedValues()
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 allowedValues property.
For example, to add a new item, do as follows:
getAllowedValues().add(newItem);
Objects of the following type(s) are allowed in the list
EnumStringMetricDescriptor.AllowedValue
public void setAllowedValues(List<EnumStringMetricDescriptor.AllowedValue> value)
public String toString()
toString in class StringMetricDescriptorpublic boolean equals(Object that)
equals in class StringMetricDescriptorpublic int hashCode()
hashCode in class StringMetricDescriptorCopyright © 2017. All rights reserved.