public class ChannelDescriptor extends DeviceComponent
Java-Klasse für ChannelDescriptor complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<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 java.util.List<MetricDescriptor> |
metrics |
productionSpecificationdescriptorVersion, extension, handle, intendedUse, type| Constructor and Description |
|---|
ChannelDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
AlertSystemDescriptor |
getAlertSystem()
Ruft den Wert der alertSystem-Eigenschaft ab.
|
java.util.List<MetricDescriptor> |
getMetrics()
Gets the value of the metrics property.
|
void |
setAlertSystem(AlertSystemDescriptor value)
Legt den Wert der alertSystem-Eigenschaft fest.
|
getProductionSpecificationgetDescriptorVersion, getExtension, getHandle, getIntendedUse, getType, setDescriptorVersion, setExtension, setHandle, setIntendedUse, setTypeprotected java.util.List<MetricDescriptor> metrics
protected AlertSystemDescriptor alertSystem
public java.util.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
AlertSystemDescriptor