org.beanlet.metadata
Interface AttributeMetaData

All Superinterfaces:
AnnotatedElement, MetaData
All Known Subinterfaces:
AttributeReadMetaData, AttributeWriteMetaData

public interface AttributeMetaData
extends MetaData

Root interface for attribute meta data.

See Also:
Attribute, AttributeEvent

Method Summary
 String getAttributeName()
          Returns the name of the attribute.
 String getOperationName()
          Returns the operation name if the attribute is exposed as method, null otherwise.
 Class<?> getType()
          Returns the type of the attribute.
 
Methods inherited from interface org.beanlet.MetaData
getDescription
 
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
 

Method Detail

getAttributeName

String getAttributeName()
Returns the name of the attribute.

Returns:
name of the attribute.

getType

Class<?> getType()
Returns the type of the attribute.

Returns:
type of the attribute.

getOperationName

String getOperationName()
Returns the operation name if the attribute is exposed as method, null otherwise.

Returns:
operation name if the attribute is exposed as method, null otherwise.


Copyright © 2006-2012. All Rights Reserved.