org.globus.cog.karajan.util
Class Enumerated

java.lang.Object
  extended byorg.globus.cog.karajan.util.Enumerated
Direct Known Subclasses:
EventClass, EventType, Priority

public abstract class Enumerated
extends Object


Constructor Summary
protected Enumerated(String literal, int value)
           
 
Method Summary
 boolean equals(Object other)
           
 int getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Enumerated

protected Enumerated(String literal,
                     int value)
Method Detail

toString

public String toString()

equals

public boolean equals(Object other)

hashCode

public int hashCode()

getValue

public int getValue()