org.hyperic.hq.events.shared
Class AlertValue
java.lang.Object
org.hyperic.hq.events.shared.AlertValue
- All Implemented Interfaces:
- java.io.Serializable
public class AlertValue
- extends java.lang.Object
- implements java.io.Serializable
Value object for Alert.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
addedConditionLogs
protected java.util.Collection addedConditionLogs
removedConditionLogs
protected java.util.Collection removedConditionLogs
updatedConditionLogs
protected java.util.Collection updatedConditionLogs
addedActionLogs
protected java.util.Collection addedActionLogs
removedActionLogs
protected java.util.Collection removedActionLogs
updatedActionLogs
protected java.util.Collection updatedActionLogs
addedEscalationLogs
protected java.util.Collection addedEscalationLogs
removedEscalationLogs
protected java.util.Collection removedEscalationLogs
updatedEscalationLogs
protected java.util.Collection updatedEscalationLogs
AlertValue
public AlertValue()
AlertValue
public AlertValue(java.lang.Integer id,
java.lang.Integer alertDefId,
long ctime)
AlertValue
public AlertValue(AlertValue otherValue)
isFixed
public boolean isFixed()
setFixed
public void setFixed(boolean fixed)
isAcknowledgeable
public boolean isAcknowledgeable()
setAcknowledgeable
public void setAcknowledgeable(boolean acknowledgeable)
getId
public java.lang.Integer getId()
setId
public void setId(java.lang.Integer id)
idHasBeenSet
public boolean idHasBeenSet()
getAlertDefId
public java.lang.Integer getAlertDefId()
setAlertDefId
public void setAlertDefId(java.lang.Integer alertDefId)
alertDefIdHasBeenSet
public boolean alertDefIdHasBeenSet()
getCtime
public long getCtime()
setCtime
public void setCtime(long ctime)
ctimeHasBeenSet
public boolean ctimeHasBeenSet()
getAddedConditionLogs
public java.util.Collection getAddedConditionLogs()
getRemovedConditionLogs
public java.util.Collection getRemovedConditionLogs()
getUpdatedConditionLogs
public java.util.Collection getUpdatedConditionLogs()
getConditionLogs
public AlertConditionLogValue[] getConditionLogs()
addConditionLog
public void addConditionLog(AlertConditionLogValue added)
removeConditionLog
public void removeConditionLog(AlertConditionLogValue removed)
removeAllConditionLogs
public void removeAllConditionLogs()
updateConditionLog
public void updateConditionLog(AlertConditionLogValue updated)
cleanConditionLog
public void cleanConditionLog()
copyConditionLogsFrom
public void copyConditionLogsFrom(AlertValue from)
getAddedActionLogs
public java.util.Collection getAddedActionLogs()
getRemovedActionLogs
public java.util.Collection getRemovedActionLogs()
getUpdatedActionLogs
public java.util.Collection getUpdatedActionLogs()
getActionLogs
public AlertActionLog[] getActionLogs()
addActionLog
public void addActionLog(AlertActionLog added)
removeActionLog
public void removeActionLog(AlertActionLog removed)
removeAllActionLogs
public void removeAllActionLogs()
updateActionLog
public void updateActionLog(AlertActionLog updated)
cleanActionLog
public void cleanActionLog()
copyActionLogsFrom
public void copyActionLogsFrom(AlertValue from)
getAddedEscalationLogs
public java.util.Collection getAddedEscalationLogs()
getRemovedEscalationLogs
public java.util.Collection getRemovedEscalationLogs()
getUpdatedEscalationLogs
public java.util.Collection getUpdatedEscalationLogs()
getEscalationLogs
public AlertActionLog[] getEscalationLogs()
addEscalationLog
public void addEscalationLog(AlertActionLog added)
removeEscalationLog
public void removeEscalationLog(AlertActionLog removed)
removeAllEscalationLogs
public void removeAllEscalationLogs()
updateEscalationLog
public void updateEscalationLog(AlertActionLog updated)
cleanEscalationLog
public void cleanEscalationLog()
copyEscalationLogsFrom
public void copyEscalationLogsFrom(AlertValue from)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hasIdentity
protected boolean hasIdentity()
- A Value object have an identity if its attributes making its Primary Key
has all been set. One object without identity is never equal to any other
object.
- Returns:
- true if this instance have an identity.
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
isIdentical
public boolean isIdentical(java.lang.Object other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.