org.hyperic.hq.events.shared
Class AlertDefinitionValue
java.lang.Object
org.hyperic.hq.events.shared.AlertDefinitionValue
- All Implemented Interfaces:
- java.io.Serializable
public class AlertDefinitionValue
- extends java.lang.Object
- implements java.io.Serializable
Value object for AlertDefinition.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
addedTriggers
protected java.util.Collection addedTriggers
removedTriggers
protected java.util.Collection removedTriggers
updatedTriggers
protected java.util.Collection updatedTriggers
addedConditions
protected java.util.Collection addedConditions
removedConditions
protected java.util.Collection removedConditions
updatedConditions
protected java.util.Collection updatedConditions
addedActions
protected java.util.Collection addedActions
removedActions
protected java.util.Collection removedActions
updatedActions
protected java.util.Collection updatedActions
AlertDefinitionValue
public AlertDefinitionValue()
AlertDefinitionValue
public AlertDefinitionValue(AlertDefinitionValue otherValue)
getId
public java.lang.Integer getId()
setId
public void setId(java.lang.Integer id)
idHasBeenSet
public boolean idHasBeenSet()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
nameHasBeenSet
public boolean nameHasBeenSet()
getCtime
public long getCtime()
setCtime
public void setCtime(long ctime)
ctimeHasBeenSet
public boolean ctimeHasBeenSet()
initializeMTimeToNow
public void initializeMTimeToNow()
- Set the mtime to the current time if it has not been set yet.
getMtime
public long getMtime()
setMtime
public void setMtime(long mtime)
mtimeHasBeenSet
public boolean mtimeHasBeenSet()
getParentId
public java.lang.Integer getParentId()
setParentId
public void setParentId(java.lang.Integer parentId)
parentIdHasBeenSet
public boolean parentIdHasBeenSet()
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
descriptionHasBeenSet
public boolean descriptionHasBeenSet()
getActive
public boolean getActive()
setActive
public void setActive(boolean active)
activeHasBeenSet
public boolean activeHasBeenSet()
getEnabled
public boolean getEnabled()
setEnabled
public void setEnabled(boolean enabled)
enabledHasBeenSet
public boolean enabledHasBeenSet()
getWillRecover
public boolean getWillRecover()
setWillRecover
public void setWillRecover(boolean willRecover)
willRecoverHasBeenSet
public boolean willRecoverHasBeenSet()
getNotifyFiltered
public boolean getNotifyFiltered()
setNotifyFiltered
public void setNotifyFiltered(boolean notifyFiltered)
notifyFilteredHasBeenSet
public boolean notifyFilteredHasBeenSet()
getControlFiltered
public boolean getControlFiltered()
setControlFiltered
public void setControlFiltered(boolean controlFiltered)
controlFilteredHasBeenSet
public boolean controlFilteredHasBeenSet()
getPriority
public int getPriority()
setPriority
public void setPriority(int priority)
priorityHasBeenSet
public boolean priorityHasBeenSet()
getAppdefId
public java.lang.Integer getAppdefId()
setAppdefId
public void setAppdefId(java.lang.Integer appdefId)
appdefIdHasBeenSet
public boolean appdefIdHasBeenSet()
getAppdefType
public int getAppdefType()
setAppdefType
public void setAppdefType(int appdefType)
appdefTypeHasBeenSet
public boolean appdefTypeHasBeenSet()
getFrequencyType
public int getFrequencyType()
setFrequencyType
public void setFrequencyType(int frequencyType)
frequencyTypeHasBeenSet
public boolean frequencyTypeHasBeenSet()
getCount
public long getCount()
setCount
public void setCount(long count)
countHasBeenSet
public boolean countHasBeenSet()
getRange
public long getRange()
setRange
public void setRange(long range)
rangeHasBeenSet
public boolean rangeHasBeenSet()
getDeleted
public boolean getDeleted()
setDeleted
public void setDeleted(boolean deleted)
deletedHasBeenSet
public boolean deletedHasBeenSet()
getAddedTriggers
public java.util.Collection getAddedTriggers()
getRemovedTriggers
public java.util.Collection getRemovedTriggers()
getUpdatedTriggers
public java.util.Collection getUpdatedTriggers()
getTriggers
public RegisteredTriggerValue[] getTriggers()
addTrigger
public void addTrigger(RegisteredTriggerValue added)
removeTrigger
public void removeTrigger(RegisteredTriggerValue removed)
removeAllTriggers
public void removeAllTriggers()
updateTrigger
public void updateTrigger(RegisteredTriggerValue updated)
cleanTrigger
public void cleanTrigger()
copyTriggersFrom
public void copyTriggersFrom(AlertDefinitionValue from)
getAddedConditions
public java.util.Collection getAddedConditions()
getRemovedConditions
public java.util.Collection getRemovedConditions()
getUpdatedConditions
public java.util.Collection getUpdatedConditions()
getConditions
public AlertConditionValue[] getConditions()
addCondition
public void addCondition(AlertConditionValue added)
removeCondition
public void removeCondition(AlertConditionValue removed)
removeAllConditions
public void removeAllConditions()
updateCondition
public void updateCondition(AlertConditionValue updated)
cleanCondition
public void cleanCondition()
copyConditionsFrom
public void copyConditionsFrom(AlertDefinitionValue from)
getAddedActions
public java.util.Collection getAddedActions()
getRemovedActions
public java.util.Collection getRemovedActions()
getUpdatedActions
public java.util.Collection getUpdatedActions()
getActions
public ActionValue[] getActions()
addAction
public void addAction(ActionValue added)
removeAction
public void removeAction(ActionValue removed)
isEscalationIdHasBeenSet
public boolean isEscalationIdHasBeenSet()
setEscalationIdHasBeenSet
public void setEscalationIdHasBeenSet(boolean escalationIdHasBeenSet)
getEscalationId
public java.lang.Integer getEscalationId()
setEscalationId
public void setEscalationId(java.lang.Integer escalationId)
removeAllActions
public void removeAllActions()
updateAction
public void updateAction(ActionValue updated)
cleanAction
public void cleanAction()
copyActionsFrom
public void copyActionsFrom(AlertDefinitionValue 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.