| Constructor and Description |
|---|
PanelStatus(boolean active,
java.util.Properties props)
Build the status
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Cloning method.
|
java.lang.String |
getSourceHostname()
Accessor method.
|
java.sql.Timestamp |
getSourceTimestamp()
Accessor method.
|
java.sql.Timestamp |
getSystemTimestamp()
Accessor method.
|
java.util.Properties |
getUserProperties()
Accessor method.
|
java.sql.Timestamp |
getUserTimestamp()
Accessor method.
|
boolean |
isActive()
Accessor method.
|
boolean |
isMasked()
Accessor method.
|
boolean |
isReduced()
Accessor method.
|
void |
setStatus(boolean active)
Set the status active/inactive and update
the time stamp
|
void |
setUserProps(java.util.Properties props)
Set the user properties of the alarm
|
public PanelStatus(boolean active,
java.util.Properties props)
active - true if the alarm is activeprops - The user propertiespublic java.lang.String getSourceHostname()
StatusgetSourceHostname in interface StatusStatus.getSourceHostname()public java.sql.Timestamp getSourceTimestamp()
StatusgetSourceTimestamp in interface StatusStatus.getSourceTimestamp()public java.sql.Timestamp getSystemTimestamp()
StatusgetSystemTimestamp in interface StatusStatus.getSystemTimestamp()public java.util.Properties getUserProperties()
StatusgetUserProperties in interface StatusStatus.getUserProperties()public java.sql.Timestamp getUserTimestamp()
StatusgetUserTimestamp in interface StatusStatus.getUserTimestamp()public boolean isActive()
StatusisActive in interface StatusStatus.isActive()public boolean isMasked()
StatusisMasked in interface StatusStatus.isMasked()public boolean isReduced()
StatusisReduced in interface StatusStatus.isReduced()public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Statuspublic void setStatus(boolean active)
active - public void setUserProps(java.util.Properties props)
props - The new properties