tapestry.impl.test
Class RepairDirectoryTest.Tag

java.lang.Object
  |
  +--tapestry.api.TapestryThresholdTag
        |
        +--tapestry.impl.test.RepairDirectoryTest.Tag
All Implemented Interfaces:
QuickSerializable, TapestryTag
Enclosing class:
RepairDirectoryTest

public static class RepairDirectoryTest.Tag
extends TapestryThresholdTag

Tag is the TapestryThresholdTag for generic objects.


Field Summary
 
Fields inherited from class tapestry.api.TapestryThresholdTag
low_watermark
 
Constructor Summary
RepairDirectoryTest.Tag(InputBuffer buffer)
          Constructs a Tag from its serialized form.
RepairDirectoryTest.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

RepairDirectoryTest.Tag

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


RepairDirectoryTest.Tag

public RepairDirectoryTest.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 TapestryThresholdTag

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 TapestryThresholdTag
Parameters:
other - the object with which to compare this TapestryThresholdTag.
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 TapestryThresholdTag
Returns:
the Java hash code for this Tag.

toString

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

Overrides:
toString in class TapestryThresholdTag