org.springframework.roo.classpath.operations.jsr303
Class FieldDetails
java.lang.Object
org.springframework.roo.classpath.operations.jsr303.FieldDetails
- Direct Known Subclasses:
- BooleanField, CollectionField, DateField, EmbeddedField, EnumField, ReferenceField, StringOrNumericField, UploadedFileField
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)
Constructor |
| 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)
- Constructor
- Parameters:
physicalTypeIdentifier - fieldType - fieldName -
decorateAnnotationsList
public void decorateAnnotationsList(List<AnnotationMetadataBuilder> annotations)
getColumn
public String getColumn()
getComment
public String getComment()
getFieldName
public org.springframework.roo.model.JavaSymbolName getFieldName()
getFieldType
public org.springframework.roo.model.JavaType getFieldType()
getPhysicalTypeIdentifier
public String getPhysicalTypeIdentifier()
getValue
public String getValue()
isNotNull
public boolean isNotNull()
isNullRequired
public boolean isNullRequired()
isUnique
public boolean isUnique()
getModifiers
public int getModifiers()
getAnnotations
public List<AnnotationMetadataBuilder> getAnnotations()
getInitedAnnotations
public List<AnnotationMetadataBuilder> getInitedAnnotations()
setColumn
public void setColumn(String column)
setComment
public void setComment(String comment)
setNotNull
public void setNotNull(boolean notNull)
setNullRequired
public void setNullRequired(boolean nullRequired)
setUnique
public void setUnique(boolean unique)
setValue
public void setValue(String value)
setModifiers
public void setModifiers(int modifiers)
setAnnotations
public void setAnnotations(List<AnnotationMetadataBuilder> annotations)
Copyright © 2009–2015. All rights reserved.