org.apache.axis.constants

Class Enum

public abstract class Enum extends Object implements Serializable

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

Author: Richard Sitze (rsitze@apache.org)

Nested Class Summary
abstract static classEnum.Type
Field Summary
protected static Loglog
Stringname
intvalue
Constructor Summary
protected Enum(Enum.Type type, int value, String name)
Method Summary
booleanequals(Object obj)
booleanequals(Enum obj)
StringgetName()
Enum.TypegetType()
intgetValue()
inthashCode()
StringtoString()

Field Detail

log

protected static Log log

name

public final String name

value

public final int value

Constructor Detail

Enum

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

Method Detail

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.