org.hyperic.hq.events.shared
Class AlertConditionValue
java.lang.Object
org.hyperic.hq.events.shared.AlertConditionValue
- All Implemented Interfaces:
- java.io.Serializable
public class AlertConditionValue
- extends java.lang.Object
- implements java.io.Serializable
Value object for AlertCondition.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AlertConditionValue
public AlertConditionValue()
AlertConditionValue
public AlertConditionValue(java.lang.Integer id,
int type,
boolean required,
int measurementId,
java.lang.String name,
java.lang.String comparator,
double threshold,
java.lang.String option,
java.lang.Integer triggerId)
AlertConditionValue
public AlertConditionValue(AlertConditionValue otherValue)
getId
public java.lang.Integer getId()
setId
public void setId(java.lang.Integer id)
idHasBeenSet
public boolean idHasBeenSet()
getType
public int getType()
setType
public void setType(int type)
typeHasBeenSet
public boolean typeHasBeenSet()
getRequired
public boolean getRequired()
setRequired
public void setRequired(boolean required)
requiredHasBeenSet
public boolean requiredHasBeenSet()
getMeasurementId
public int getMeasurementId()
setMeasurementId
public void setMeasurementId(int measurementId)
measurementIdHasBeenSet
public boolean measurementIdHasBeenSet()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
nameHasBeenSet
public boolean nameHasBeenSet()
getComparator
public java.lang.String getComparator()
setComparator
public void setComparator(java.lang.String comparator)
comparatorHasBeenSet
public boolean comparatorHasBeenSet()
getThreshold
public double getThreshold()
setThreshold
public void setThreshold(double threshold)
thresholdHasBeenSet
public boolean thresholdHasBeenSet()
getOption
public java.lang.String getOption()
setOption
public void setOption(java.lang.String option)
optionHasBeenSet
public boolean optionHasBeenSet()
getTriggerId
public java.lang.Integer getTriggerId()
setTriggerId
public void setTriggerId(java.lang.Integer triggerId)
triggerIdHasBeenSet
public boolean triggerIdHasBeenSet()
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.