public class CurrentAlertCondition extends AbstractAlertState
| Modifier and Type | Field and Description |
|---|---|
protected AlertConditionPriority |
degradationPrio |
protected boolean |
presence |
protected Integer |
rank |
protected BigInteger |
timeOfObservation |
statedescriptorVersion, extension, referencedDescriptor, stateVersion| Constructor and Description |
|---|
CurrentAlertCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
AlertConditionPriority |
getDegradationPrio()
The current priority of the ALERT CONDITION that has been modified by an escalation or de-escalation process.
|
Integer |
getRank()
The rank is an optional ATTRIBUTE allowing finer distinction of ALERT CONDITION priorities.
|
BigInteger |
getTimeOfObservation()
Timepoint when the ALERT CONDITION has changed its presence the last time.
|
int |
hashCode() |
boolean |
isPresence()
The Presence ATTRIBUTE is set to "true" if the ALERT CONDITION has been detected and is still present.
|
void |
setDegradationPrio(AlertConditionPriority value)
Sets the value of the degradationPrio property.
|
void |
setPresence(boolean value)
Sets the value of the presence property.
|
void |
setRank(Integer value)
Sets the value of the rank property.
|
void |
setTimeOfObservation(BigInteger value)
Sets the value of the timeOfObservation property.
|
String |
toString() |
getState, setStategetDescriptorVersion, getExtension, getReferencedDescriptor, getStateVersion, setDescriptorVersion, setExtension, setReferencedDescriptor, setStateVersionprotected AlertConditionPriority degradationPrio
protected Integer rank
protected boolean presence
protected BigInteger timeOfObservation
public AlertConditionPriority getDegradationPrio()
AlertConditionPrioritypublic void setDegradationPrio(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic Integer getRank()
Integerpublic void setRank(Integer value)
value - allowed object is
Integerpublic boolean isPresence()
public void setPresence(boolean value)
public BigInteger getTimeOfObservation()
BigIntegerpublic void setTimeOfObservation(BigInteger value)
value - allowed object is
BigIntegerpublic String toString()
toString in class AbstractAlertStatepublic boolean equals(Object that)
equals in class AbstractAlertStatepublic int hashCode()
hashCode in class AbstractAlertStateCopyright © 2018. All rights reserved.