org.springframework.roo.classpath.operations.jsr303
Class EnumField

java.lang.Object
  extended by org.springframework.roo.classpath.operations.jsr303.FieldDetails
      extended by org.springframework.roo.classpath.operations.jsr303.EnumField

public class EnumField
extends FieldDetails

This field is intended for use with JSR 220 and will create a @Enumerated annotation.

Since:
1.0
Author:
Ben Alex

Field Summary
 
Fields inherited from class org.springframework.roo.classpath.operations.jsr303.FieldDetails
comment
 
Constructor Summary
EnumField(String physicalTypeIdentifier, org.springframework.roo.model.JavaType fieldType, org.springframework.roo.model.JavaSymbolName fieldName)
           
 
Method Summary
 void decorateAnnotationsList(List<AnnotationMetadata> annotations)
           
 EnumType getEnumType()
           
 void setEnumType(EnumType enumType)
           
 
Methods inherited from class org.springframework.roo.classpath.operations.jsr303.FieldDetails
getColumn, getComment, getFieldName, getFieldType, getPhysicalTypeIdentifier, isNotNull, isNullRequired, setColumn, setComment, setNotNull, setNullRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumField

public EnumField(String physicalTypeIdentifier,
                 org.springframework.roo.model.JavaType fieldType,
                 org.springframework.roo.model.JavaSymbolName fieldName)
Method Detail

getEnumType

public EnumType getEnumType()

setEnumType

public void setEnumType(EnumType enumType)

decorateAnnotationsList

public void decorateAnnotationsList(List<AnnotationMetadata> annotations)
Overrides:
decorateAnnotationsList in class FieldDetails


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.