org.springframework.roo.classpath.operations.jsr303
Class FieldDetails
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comment
protected String comment
- Any JavaDoc comments (reserved for future expansion)
FieldDetails
public FieldDetails(String physicalTypeIdentifier,
org.springframework.roo.model.JavaType fieldType,
org.springframework.roo.model.JavaSymbolName fieldName)
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.