|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TypeClassification>
org.pfsw.odem.TypeClassification
public enum TypeClassification
Specifies the currently supported types
Enum Constant Summary | |
---|---|
ANNOTATION
|
|
CLASS
|
|
ENUM
|
|
INTERFACE
|
|
UNKNOWN
|
Method Summary | |
---|---|
java.lang.String |
asString()
Returns the external string representation (which is not the same as the enum value name). |
static TypeClassification |
fromString(java.lang.String valueName)
Returns the enum value with the given name. |
java.lang.String |
getExternalName()
|
java.lang.String |
toString()
Returns a debug string that should not be used in business logic. |
static TypeClassification |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TypeClassification[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TypeClassification UNKNOWN
public static final TypeClassification CLASS
public static final TypeClassification INTERFACE
public static final TypeClassification ENUM
public static final TypeClassification ANNOTATION
Method Detail |
---|
public static TypeClassification[] values()
for (TypeClassification c : TypeClassification.values()) System.out.println(c);
public static TypeClassification valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static TypeClassification fromString(java.lang.String valueName)
public java.lang.String getExternalName()
public java.lang.String asString()
public java.lang.String toString()
toString
in class java.lang.Enum<TypeClassification>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |