org.jboss.reflect.spi
Interface EnumConstantInfo

All Superinterfaces:
AnnotatedInfo, Cloneable, org.jboss.util.JBossInterface
All Known Implementing Classes:
EnumConstantInfoImpl

public interface EnumConstantInfo
extends AnnotatedInfo

An enumeration constant

Author:
Bill Burke, Adrian Brock

Method Summary
 EnumInfo getDeclaring()
          Get the declaring enumeration
 String getName()
          Get the name
 Object getValue()
          Get the value
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Method Detail

getName

String getName()
Get the name

Returns:
the name

getValue

Object getValue()
Get the value

Returns:
the value

getDeclaring

EnumInfo getDeclaring()
Get the declaring enumeration

Returns:
the enumeration


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.