public class EnumAttributeValue extends AbstractAnnotationAttributeValue<org.springframework.roo.model.EnumDetails>
Source code parsers should treat any non-quoted string NOT ending in ".class" as an enumeration, using the segment appearing after the final period in the string as the field name. Anything to the left of that final period is treated as representing the enumeration type, and normal package resolution techniques should be used to resolve the enumeration type.
| Constructor and Description |
|---|
EnumAttributeValue(org.springframework.roo.model.JavaSymbolName name,
org.springframework.roo.model.EnumDetails value) |
public EnumAttributeValue(org.springframework.roo.model.JavaSymbolName name,
org.springframework.roo.model.EnumDetails value)
public Enum<?> getAsEnum() throws ClassNotFoundException
ClassNotFoundExceptionpublic org.springframework.roo.model.EnumDetails getValue()
Copyright © 2009–2016. All rights reserved.