Class AlertConditionDescriptor
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractDescriptor
-
- org.somda.sdc.biceps.model.participant.AbstractAlertDescriptor
-
- org.somda.sdc.biceps.model.participant.AlertConditionDescriptor
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
LimitAlertConditionDescriptor
public class AlertConditionDescriptor extends AbstractAlertDescriptor implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
An ALERT CONDITION contains the information about a potentially or actually HAZARDOUS SITUATION. Examples: a physiological alarm limit has been exceeded or a sensor has been unplugged.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AlertConditionPrioritycanDeescalateprotected AlertConditionPrioritycanEscalateprotected List<CauseInfo>causeInfoprotected DurationdefaultConditionGenerationDelayprotected AlertConditionKindkindprotected AlertConditionPrioritypriorityprotected List<String>source-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractDescriptor
descriptorVersion, extension, handle, safetyClassification, type
-
-
Constructor Summary
Constructors Constructor Description AlertConditionDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)AlertConditionPrioritygetCanDeescalate()Gets the value of the canDeescalate property.AlertConditionPrioritygetCanEscalate()Gets the value of the canEscalate property.List<CauseInfo>getCauseInfo()Gets the value of the causeInfo property.DurationgetDefaultConditionGenerationDelay()Gets the value of the defaultConditionGenerationDelay property.AlertConditionKindgetKind()Gets the value of the kind property.AlertConditionPrioritygetPriority()Gets the value of the priority property.List<String>getSource()Gets the value of the source property.inthashCode()voidsetCanDeescalate(AlertConditionPriority value)Sets the value of the canDeescalate property.voidsetCanEscalate(AlertConditionPriority value)Sets the value of the canEscalate property.voidsetCauseInfo(List<CauseInfo> value)voidsetDefaultConditionGenerationDelay(Duration value)Sets the value of the defaultConditionGenerationDelay property.voidsetKind(AlertConditionKind value)Sets the value of the kind property.voidsetPriority(AlertConditionPriority value)Sets the value of the priority property.voidsetSource(List<String> value)StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractDescriptor
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setType
-
-
-
-
Field Detail
-
kind
protected AlertConditionKind kind
-
priority
protected AlertConditionPriority priority
-
defaultConditionGenerationDelay
protected Duration defaultConditionGenerationDelay
-
canEscalate
protected AlertConditionPriority canEscalate
-
canDeescalate
protected AlertConditionPriority canDeescalate
-
-
Method Detail
-
getSource
public List<String> getSource()
Gets the value of the source property.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
setmethod 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
-
getCauseInfo
public List<CauseInfo> getCauseInfo()
Gets the value of the causeInfo property.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
setmethod 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
-
getKind
public AlertConditionKind getKind()
Gets the value of the kind property.- Returns:
- possible object is
AlertConditionKind
-
setKind
public void setKind(AlertConditionKind value)
Sets the value of the kind property.- Parameters:
value- allowed object isAlertConditionKind
-
getPriority
public AlertConditionPriority getPriority()
Gets the value of the priority property.- Returns:
- possible object is
AlertConditionPriority
-
setPriority
public void setPriority(AlertConditionPriority value)
Sets the value of the priority property.- Parameters:
value- allowed object isAlertConditionPriority
-
getDefaultConditionGenerationDelay
public Duration getDefaultConditionGenerationDelay()
Gets the value of the defaultConditionGenerationDelay property.- Returns:
- possible object is
String
-
setDefaultConditionGenerationDelay
public void setDefaultConditionGenerationDelay(Duration value)
Sets the value of the defaultConditionGenerationDelay property.- Parameters:
value- allowed object isString
-
getCanEscalate
public AlertConditionPriority getCanEscalate()
Gets the value of the canEscalate property.- Returns:
- possible object is
AlertConditionPriority
-
setCanEscalate
public void setCanEscalate(AlertConditionPriority value)
Sets the value of the canEscalate property.- Parameters:
value- allowed object isAlertConditionPriority
-
getCanDeescalate
public AlertConditionPriority getCanDeescalate()
Gets the value of the canDeescalate property.- Returns:
- possible object is
AlertConditionPriority
-
setCanDeescalate
public void setCanDeescalate(AlertConditionPriority value)
Sets the value of the canDeescalate property.- Parameters:
value- allowed object isAlertConditionPriority
-
clone
public Object clone()
- Overrides:
clonein classAbstractAlertDescriptor
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractAlertDescriptor
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractAlertDescriptor
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractAlertDescriptor
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractAlertDescriptor
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractAlertDescriptor
-
toString
public String toString()
- Overrides:
toStringin classAbstractAlertDescriptor
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classAbstractAlertDescriptor
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classAbstractAlertDescriptor
-
-