Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.events.shared
Class AlertConditionValue

java.lang.Object
  extended by 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

Constructor Summary
AlertConditionValue()
           
AlertConditionValue(AlertConditionValue otherValue)
           
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)
           
 
Method Summary
 boolean comparatorHasBeenSet()
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getComparator()
           
 java.lang.Integer getId()
           
 int getMeasurementId()
           
 java.lang.String getName()
           
 java.lang.String getOption()
           
 boolean getRequired()
           
 double getThreshold()
           
 java.lang.Integer getTriggerId()
           
 int getType()
           
 int hashCode()
           
protected  boolean hasIdentity()
          A Value object have an identity if its attributes making its Primary Key has all been set.
 boolean idHasBeenSet()
           
 boolean isIdentical(java.lang.Object other)
           
 boolean measurementIdHasBeenSet()
           
 boolean nameHasBeenSet()
           
 boolean optionHasBeenSet()
           
 boolean requiredHasBeenSet()
           
 void setComparator(java.lang.String comparator)
           
 void setId(java.lang.Integer id)
           
 void setMeasurementId(int measurementId)
           
 void setName(java.lang.String name)
           
 void setOption(java.lang.String option)
           
 void setRequired(boolean required)
           
 void setThreshold(double threshold)
           
 void setTriggerId(java.lang.Integer triggerId)
           
 void setType(int type)
           
 boolean thresholdHasBeenSet()
           
 java.lang.String toString()
           
 boolean triggerIdHasBeenSet()
           
 boolean typeHasBeenSet()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.