public class ChannelDescriptor extends DeviceComponent
Java class for ChannelDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ChannelDescriptor">
<complexContent>
<extension base="{http://domain-model-uri/15/04}AbstractDeviceComponent">
<sequence>
<element name="Metric" type="{http://domain-model-uri/15/04}AbstractMetricDescriptor" maxOccurs="unbounded" minOccurs="0"/>
<element name="AlertSystem" type="{http://domain-model-uri/15/04}AlertSystemDescriptor" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AlertSystemDescriptor |
alertSystem |
protected List<MetricDescriptor> |
metrics |
productionSpecificationdescriptorVersion, extension, handle, intendedUse, type| Constructor and Description |
|---|
ChannelDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
AlertSystemDescriptor |
getAlertSystem()
Gets the value of the alertSystem property.
|
List<MetricDescriptor> |
getMetrics()
List of Metrics that are grouped in this channel.Gets the value of the metrics property.
|
void |
setAlertSystem(AlertSystemDescriptor value)
Sets the value of the alertSystem property.
|
void |
setMetrics(List<MetricDescriptor> value) |
getProductionSpecification, setProductionSpecificationgetDescriptorVersion, getExtension, getHandle, getIntendedUse, getType, setDescriptorVersion, setExtension, setHandle, setIntendedUse, setTypeprotected List<MetricDescriptor> metrics
protected AlertSystemDescriptor alertSystem
public List<MetricDescriptor> getMetrics()
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 metrics property.
For example, to add a new item, do as follows:
getMetrics().add(newItem);
Objects of the following type(s) are allowed in the list
MetricDescriptor
public AlertSystemDescriptor getAlertSystem()
AlertSystemDescriptorpublic void setAlertSystem(AlertSystemDescriptor value)
value - allowed object is
AlertSystemDescriptorpublic void setMetrics(List<MetricDescriptor> value)
Copyright © 2016. All rights reserved.