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

java.lang.Object
  extended by org.springframework.roo.classpath.operations.jsr303.FieldDetails
Direct Known Subclasses:
BooleanField, CollectionField, DateField, EnumField, ReferenceField, StringOrNumericField

public class FieldDetails
extends Object

Base class containing common JSR 303 and JSR 220 properties that can be auto-generated.

Since:
1.0
Author:
Ben Alex

Field Summary
protected  String comment
          Any JavaDoc comments (reserved for future expansion)
 
Constructor Summary
FieldDetails(String physicalTypeIdentifier, org.springframework.roo.model.JavaType fieldType, org.springframework.roo.model.JavaSymbolName fieldName)
           
 
Method Summary
 void decorateAnnotationsList(List<AnnotationMetadata> annotations)
           
 String getColumn()
           
 String getComment()
           
 org.springframework.roo.model.JavaSymbolName getFieldName()
           
 org.springframework.roo.model.JavaType getFieldType()
           
 String getPhysicalTypeIdentifier()
           
 boolean isNotNull()
           
 boolean isNullRequired()
           
 void setColumn(String column)
           
 void setComment(String comment)
           
 void setNotNull(boolean notNull)
           
 void setNullRequired(boolean nullRequired)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comment

protected String comment
Any JavaDoc comments (reserved for future expansion)

Constructor Detail

FieldDetails

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

decorateAnnotationsList

public void decorateAnnotationsList(List<AnnotationMetadata> annotations)

isNotNull

public boolean isNotNull()

setNotNull

public void setNotNull(boolean notNull)

getComment

public String getComment()

setComment

public void setComment(String comment)

getColumn

public String getColumn()

setColumn

public void setColumn(String column)

isNullRequired

public boolean isNullRequired()

setNullRequired

public void setNullRequired(boolean nullRequired)

getPhysicalTypeIdentifier

public String getPhysicalTypeIdentifier()

getFieldType

public org.springframework.roo.model.JavaType getFieldType()

getFieldName

public org.springframework.roo.model.JavaSymbolName getFieldName()


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