org.springframework.roo.classpath.details
Class DefaultFieldMetadata
java.lang.Object
org.springframework.roo.model.AbstractCustomDataAccessorProvider
org.springframework.roo.classpath.details.AbstractIdentifiableJavaStructureProvider
org.springframework.roo.classpath.details.AbstractIdentifiableAnnotatedJavaStructureProvider
org.springframework.roo.classpath.details.DefaultFieldMetadata
- All Implemented Interfaces:
- CommentedJavaStructure, FieldMetadata, IdentifiableAnnotatedJavaStructure, IdentifiableJavaStructure, org.springframework.roo.model.CustomDataAccessor
public class DefaultFieldMetadata
- extends AbstractIdentifiableAnnotatedJavaStructureProvider
- implements FieldMetadata
Default implementation of FieldMetadata.
- Since:
- 1.0
- Author:
- Ben Alex
| Methods inherited from class org.springframework.roo.model.AbstractCustomDataAccessorProvider |
getCustomData |
| Methods inherited from interface org.springframework.roo.model.CustomDataAccessor |
getCustomData |
getCommentStructure
public CommentStructure getCommentStructure()
- Specified by:
getCommentStructure in interface CommentedJavaStructure
setCommentStructure
public void setCommentStructure(CommentStructure commentStructure)
- Specified by:
setCommentStructure in interface CommentedJavaStructure
getFieldInitializer
public String getFieldInitializer()
- Specified by:
getFieldInitializer in interface FieldMetadata
- Returns:
- the field initializer, if known (may be null if there is no
initializer)
getFieldName
public org.springframework.roo.model.JavaSymbolName getFieldName()
- Specified by:
getFieldName in interface FieldMetadata
- Returns:
- the name of the field (never null)
getFieldType
public org.springframework.roo.model.JavaType getFieldType()
- Specified by:
getFieldType in interface FieldMetadata
- Returns:
- the type of field (never null)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009–2015. All rights reserved.