org.jboss.reflect.spi
Interface EnumInfo

All Superinterfaces:
AnnotatedInfo, ClassInfo, Cloneable, org.jboss.util.JBossInterface, ModifierInfo, TypeInfo
All Known Implementing Classes:
EnumInfoImpl

public interface EnumInfo
extends ClassInfo

Enumeration info

Author:
Bill Burke, Adrian Brock

Field Summary
 
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
 
Method Summary
 EnumConstantInfo getEnumConstant(String name)
          Get a constant
 EnumConstantInfo[] getEnumConstants()
          Get the constants
 
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
 

Method Detail

getEnumConstants

EnumConstantInfo[] getEnumConstants()
Get the constants

Returns:
the constants

getEnumConstant

EnumConstantInfo getEnumConstant(String name)
Get a constant

Parameters:
name - the name
Returns:
the constant


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.