|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.enum.Enum.Type
Constructor Summary | |
protected |
Enum.Type(String name,
Enum[] enums)
|
Method Summary | |
Enum |
getDefault()
|
Enum |
getEnum(int enum)
Returns name of enumerated value |
Enum |
getEnum(String enumName)
Returns enumerated value of name |
Enum |
getEnum(String enumName,
Enum dephault)
Returns enumerated value of name For large sets of enumerated values, a HashMap could be used to retrieve. |
String[] |
getEnumNames()
Returns array of names for enumerated values |
String |
getName()
|
boolean |
isValid(String enumName)
|
protected void |
setDefault(Enum dephault)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Enum.Type(String name, Enum[] enums)
Method Detail |
protected void setDefault(Enum dephault)
public Enum getDefault()
public final String getName()
public final boolean isValid(String enumName)
public final int size()
public final String[] getEnumNames()
public final Enum getEnum(int enum)
public final Enum getEnum(String enumName)
public final Enum getEnum(String enumName, Enum dephault)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |