org.apache.axis.enum
Class Enum
java.lang.Object
|
+--org.apache.axis.enum.Enum
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Scope, 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
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
java.lang.String |
name
|
int |
value
|
Constructor Summary |
protected |
Enum(Enum.Type type,
int value,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
value
public final int value
name
public final java.lang.String name
Enum
protected Enum(Enum.Type type,
int value,
java.lang.String name)
getValue
public final int getValue()
getName
public final java.lang.String getName()
getType
public final Enum.Type getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
equals
public final boolean equals(Enum obj)
Copyright © 2003 Apache Web Services Project. All Rights Reserved.