Package com.google.gwt.core.ext.typeinfo
Interface JEnumConstant
- All Superinterfaces:
HasAnnotations
,JField
An enumeration constant declared in an enumerated type.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the ordinal value for this enumeration constant.Methods inherited from interface com.google.gwt.core.ext.typeinfo.HasAnnotations
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
Methods inherited from interface com.google.gwt.core.ext.typeinfo.JField
getEnclosingType, getName, getType, isDefaultAccess, isEnumConstant, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransient, isVolatile
-
Method Details
-
getOrdinal
int getOrdinal()Returns the ordinal value for this enumeration constant.- Returns:
- ordinal value for this enumeration constant
-