public class AlertConditionDescriptor extends AbstractAlertDescriptor
Java class for AlertConditionDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AlertConditionDescriptor">
<complexContent>
<extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractAlertDescriptor">
<sequence>
<element name="Source" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}HandleRef" maxOccurs="unbounded" minOccurs="0"/>
<element name="CauseInfo" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CauseInfo" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Kind" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AlertConditionKind" />
<attribute name="Priority" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AlertConditionPriority" />
<attribute name="DefaultConditionGenerationDelay" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="CanEscalate">
<simpleType>
<restriction base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AlertConditionPriority">
<enumeration value="Lo"/>
<enumeration value="Me"/>
<enumeration value="Hi"/>
</restriction>
</simpleType>
</attribute>
<attribute name="CanDeescalate">
<simpleType>
<restriction base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AlertConditionPriority">
<enumeration value="Me"/>
<enumeration value="Lo"/>
<enumeration value="None"/>
</restriction>
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AlertConditionPriority |
canDeescalate |
protected AlertConditionPriority |
canEscalate |
protected java.util.List<CauseInfo> |
causeInfo |
protected javax.xml.datatype.Duration |
defaultConditionGenerationDelay |
protected AlertConditionKind |
kind |
protected AlertConditionPriority |
priority |
protected java.util.List<java.lang.String> |
source |
descriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
AlertConditionDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object that) |
AlertConditionPriority |
getCanDeescalate()
Gets the value of the canDeescalate property.
|
AlertConditionPriority |
getCanEscalate()
Gets the value of the canEscalate property.
|
java.util.List<CauseInfo> |
getCauseInfo()
Gets the value of the causeInfo property.
|
javax.xml.datatype.Duration |
getDefaultConditionGenerationDelay()
Gets the value of the defaultConditionGenerationDelay property.
|
AlertConditionKind |
getKind()
Gets the value of the kind property.
|
AlertConditionPriority |
getPriority()
Gets the value of the priority property.
|
java.util.List<java.lang.String> |
getSource()
Gets the value of the source property.
|
int |
hashCode() |
void |
setCanDeescalate(AlertConditionPriority value)
Sets the value of the canDeescalate property.
|
void |
setCanEscalate(AlertConditionPriority value)
Sets the value of the canEscalate property.
|
void |
setCauseInfo(java.util.List<CauseInfo> value) |
void |
setDefaultConditionGenerationDelay(javax.xml.datatype.Duration value)
Sets the value of the defaultConditionGenerationDelay property.
|
void |
setKind(AlertConditionKind value)
Sets the value of the kind property.
|
void |
setPriority(AlertConditionPriority value)
Sets the value of the priority property.
|
void |
setSource(java.util.List<java.lang.String> value) |
java.lang.String |
toString() |
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected java.util.List<java.lang.String> source
protected java.util.List<CauseInfo> causeInfo
protected AlertConditionKind kind
protected AlertConditionPriority priority
protected javax.xml.datatype.Duration defaultConditionGenerationDelay
protected AlertConditionPriority canEscalate
protected AlertConditionPriority canDeescalate
public java.util.List<java.lang.String> getSource()
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 source property.
For example, to add a new item, do as follows:
getSource().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.util.List<CauseInfo> getCauseInfo()
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 causeInfo property.
For example, to add a new item, do as follows:
getCauseInfo().add(newItem);
Objects of the following type(s) are allowed in the list
CauseInfo
public AlertConditionKind getKind()
AlertConditionKindpublic void setKind(AlertConditionKind value)
value - allowed object is
AlertConditionKindpublic AlertConditionPriority getPriority()
AlertConditionPrioritypublic void setPriority(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic javax.xml.datatype.Duration getDefaultConditionGenerationDelay()
Durationpublic void setDefaultConditionGenerationDelay(javax.xml.datatype.Duration value)
value - allowed object is
Durationpublic AlertConditionPriority getCanEscalate()
AlertConditionPrioritypublic void setCanEscalate(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic AlertConditionPriority getCanDeescalate()
AlertConditionPrioritypublic void setCanDeescalate(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic java.lang.String toString()
toString in class AbstractAlertDescriptorpublic boolean equals(java.lang.Object that)
equals in class AbstractAlertDescriptorpublic int hashCode()
hashCode in class AbstractAlertDescriptorpublic void setSource(java.util.List<java.lang.String> value)
public void setCauseInfo(java.util.List<CauseInfo> value)