|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.InheritableAnnotationHolder
org.jboss.reflect.plugins.ClassInfoImpl
org.jboss.reflect.plugins.EnumInfoImpl
public class EnumInfoImpl
Enumeration info
| Field Summary | |
|---|---|
protected HashMap |
constants
The constants |
protected EnumConstantInfoImpl[] |
enumConstants
Enumeration constants |
| Fields inherited from class org.jboss.reflect.plugins.ClassInfoImpl |
|---|
constructors, fieldMap, fields, interfaces, methods, modifiers, name, superclass |
| Fields inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
|---|
allAnnotations, allAnnotationsArray, annotatedElement, declaredAnnotations, declaredAnnotationsArray, typeInfoFactory |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
|---|
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC |
| Constructor Summary | |
|---|---|
EnumInfoImpl()
Create a new EnumInfo. |
|
EnumInfoImpl(String name,
int modifiers)
Create a new EnumInfo. |
|
| Method Summary | |
|---|---|
EnumConstantInfo |
getEnumConstant(String name)
Get a constant |
EnumConstantInfo[] |
getEnumConstants()
Get the constants |
void |
setEnumConstants(EnumConstantInfoImpl[] enumConstants)
Set the enumeration constants |
| Methods inherited from class org.jboss.reflect.plugins.ClassInfoImpl |
|---|
equals, findMethod, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getInterfaces, getModifiers, getName, getSuperclass, getSuperHolder, getType, hashCode, isInterface, isPublic, isStatic, setDeclaredConstructors, setDeclaredFields, setDeclaredMethods, setInterfaces, setSuperclass, setType, toString |
| Methods inherited from class org.jboss.reflect.plugins.InheritableAnnotationHolder |
|---|
getAllAnnotations, getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, setAnnotatedElement, setTypeInfoFactory, setupAnnotations |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.reflect.spi.ClassInfo |
|---|
getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getInterfaces, getName, getSuperclass, isInterface |
| Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
|---|
getAnnotation, getAnnotations, isAnnotationPresent |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString, toShortString |
| Methods inherited from interface org.jboss.reflect.spi.ModifierInfo |
|---|
getModifiers, isPublic, isStatic |
| Methods inherited from interface org.jboss.reflect.spi.TypeInfo |
|---|
getType |
| Field Detail |
|---|
protected EnumConstantInfoImpl[] enumConstants
protected HashMap constants
| Constructor Detail |
|---|
public EnumInfoImpl()
public EnumInfoImpl(String name,
int modifiers)
name - the enumeration namemodifiers - the modifiers| Method Detail |
|---|
public void setEnumConstants(EnumConstantInfoImpl[] enumConstants)
enumConstants - the enumeration constantspublic EnumConstantInfo[] getEnumConstants()
EnumInfo
getEnumConstants in interface EnumInfopublic EnumConstantInfo getEnumConstant(String name)
EnumInfo
getEnumConstant in interface EnumInfoname - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||