org.hyperic.hq.ui.beans
Class AlertBean
java.lang.Object
org.hyperic.hq.ui.beans.AlertBean
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RecentAlertBean
public class AlertBean
- extends java.lang.Object
- implements java.io.Serializable
Bean to hold alert values from AlertValue and AlertDefinitionValue.
- See Also:
- Serialized Form
Constructor Summary |
AlertBean()
|
AlertBean(java.lang.Integer id,
long ctime,
java.lang.Integer alertDefId,
java.lang.String name,
int priority,
java.lang.Integer rid,
java.lang.Integer type,
boolean fixed,
boolean acknowledgeable)
|
AlertBean(java.lang.Integer id,
long ctime,
java.lang.Integer alertDefId,
java.lang.String name,
int priority,
java.lang.Integer rid,
java.lang.Integer type,
boolean fixed,
boolean acknowledgeable,
boolean canTakeAction)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AlertBean
public AlertBean()
AlertBean
public AlertBean(java.lang.Integer id,
long ctime,
java.lang.Integer alertDefId,
java.lang.String name,
int priority,
java.lang.Integer rid,
java.lang.Integer type,
boolean fixed,
boolean acknowledgeable)
AlertBean
public AlertBean(java.lang.Integer id,
long ctime,
java.lang.Integer alertDefId,
java.lang.String name,
int priority,
java.lang.Integer rid,
java.lang.Integer type,
boolean fixed,
boolean acknowledgeable,
boolean canTakeAction)
getId
public java.lang.Integer getId()
setId
public void setId(java.lang.Integer id)
getCtime
public long getCtime()
setCtime
public void setCtime(long ctime)
getAlertDefId
public java.lang.Integer getAlertDefId()
setAlertDefId
public void setAlertDefId(java.lang.Integer alertDefId)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getPriority
public int getPriority()
setPriority
public void setPriority(int priority)
getConditionName
public java.lang.String getConditionName()
setConditionName
public void setConditionName(java.lang.String conditionName)
getComparator
public java.lang.String getComparator()
setComparator
public void setComparator(java.lang.String comparator)
getThreshold
public java.lang.String getThreshold()
setThreshold
public void setThreshold(java.lang.String threshold)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
isMultiCondition
public boolean isMultiCondition()
setMultiCondition
public void setMultiCondition(boolean multiCondition)
getRid
public java.lang.Integer getRid()
setRid
public void setRid(java.lang.Integer rid)
getType
public java.lang.Integer getType()
setType
public void setType(java.lang.Integer type)
getConditionFmt
public java.lang.String getConditionFmt()
- Return the formatted alert condition.
isFixed
public boolean isFixed()
setFixed
public void setFixed(boolean fixed)
isAcknowledgeableAndCanTakeAction
public boolean isAcknowledgeableAndCanTakeAction()
isAcknowledgeable
public boolean isAcknowledgeable()
setAcknowledgeable
public void setAcknowledgeable(boolean acknowledgeable)
getMaxPauseTime
public long getMaxPauseTime()
setMaxPauseTime
public void setMaxPauseTime(long maxPauseTime)
isViewable
public boolean isViewable()
setViewable
public void setViewable(boolean viewable)
isCanTakeAction
public boolean isCanTakeAction()
setCanTakeAction
public void setCanTakeAction(boolean canTakeAction)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.