org.apache.axis.constants

Class Enum

Implemented Interfaces:
java.io.Serializable
Known Direct Subclasses:
Scope, Status, Style, Use

public abstract class Enum
extends java.lang.Object
implements java.io.Serializable

General support for 'enumerated' data types. Name searches are case insensitive.

Author:
Richard Sitze (rsitze@apache.org)

See Also:
Serialized Form

Nested Class Summary

static class
Enum.Type

Field Summary

protected static Log
log
String
name
int
value

Constructor Summary

Enum(Enum.Type type, int value, String name)

Method Summary

boolean
equals(Object obj)
boolean
equals(Enum obj)
String
getName()
Enum.Type
getType()
int
getValue()
int
hashCode()
String
toString()

Field Details

log

protected static Log log


name

public final String name


value

public final int value

Constructor Details

Enum

protected Enum(Enum.Type type,
               int value,
               String name)

Method Details

equals

public final boolean equals(Object obj)


equals

public final boolean equals(Enum obj)


getName

public final String getName()


getType

public final Enum.Type getType()


getValue

public final int getValue()


hashCode

public int hashCode()


toString

public String toString()


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.