org.springframework.roo.classpath.details
Interface FieldMetadata

All Superinterfaces:
CommentedJavaStructure, org.springframework.roo.model.CustomDataAccessor, IdentifiableAnnotatedJavaStructure, IdentifiableJavaStructure
All Known Implementing Classes:
DefaultFieldMetadata

public interface FieldMetadata
extends IdentifiableAnnotatedJavaStructure, CommentedJavaStructure

Metadata concerning a particular field.

Since:
1.0
Author:
Ben Alex

Method Summary
 String getFieldInitializer()
           
 org.springframework.roo.model.JavaSymbolName getFieldName()
           
 org.springframework.roo.model.JavaType getFieldType()
           
 
Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableAnnotatedJavaStructure
getAnnotation, getAnnotations, getTypeAnnotation
 
Methods inherited from interface org.springframework.roo.classpath.details.IdentifiableJavaStructure
getDeclaredByMetadataId, getModifier
 
Methods inherited from interface org.springframework.roo.model.CustomDataAccessor
getCustomData
 
Methods inherited from interface org.springframework.roo.classpath.details.comments.CommentedJavaStructure
getCommentStructure, setCommentStructure
 

Method Detail

getFieldInitializer

String getFieldInitializer()
Returns:
the field initializer, if known (may be null if there is no initializer)

getFieldName

org.springframework.roo.model.JavaSymbolName getFieldName()
Returns:
the name of the field (never null)

getFieldType

org.springframework.roo.model.JavaType getFieldType()
Returns:
the type of field (never null)


Copyright © 2009–2015. All rights reserved.