dd.trigger
Class TriggerTester.Tag

java.lang.Object
  |
  +--dd.api.DDThresholdTag
        |
        +--dd.trigger.TriggerTester.Tag
All Implemented Interfaces:
DDTag, QuickSerializable
Enclosing class:
TriggerTester

public static class TriggerTester.Tag
extends DDThresholdTag

Tag is the DDThresholdTag for generic objects.


Field Summary
 
Fields inherited from class dd.api.DDThresholdTag
low_watermark
 
Constructor Summary
TriggerTester.Tag(InputBuffer buffer)
          Constructs a Tag from its serialized form.
TriggerTester.Tag(short low_watermark)
          Constructor: Creates a new Tag.
 
Method Summary
 boolean equals(Object other)
          Compares this Tag with another tag, and returns true iff they are the same type of tag.
 int hashCode()
          Calculates a Java hash code for this Tag object (by returning its type_code)
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriggerTester.Tag

public TriggerTester.Tag(short low_watermark)
Constructor: Creates a new Tag.


TriggerTester.Tag

public TriggerTester.Tag(InputBuffer buffer)
                  throws QSException
Constructs a Tag from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class DDThresholdTag

equals

public boolean equals(Object other)
Compares this Tag with another tag, and returns true iff they are the same type of tag.

Overrides:
equals in class DDThresholdTag
Parameters:
other - the object with which to compare this Tag.
Returns:
true iff this and other are instanceof Tag.

hashCode

public int hashCode()
Calculates a Java hash code for this Tag object (by returning its type_code)

Overrides:
hashCode in class DDThresholdTag
Returns:
the Java hash code for this Tag.

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class DDThresholdTag