org.beanlet.metadata
Interface OperationMetaData

All Superinterfaces:
AnnotatedElement, MetaData

public interface OperationMetaData
extends MetaData

Meta data for operations.

See Also:
Operation, OperationEvent

Method Summary
 String getAttributeName()
          Returns the attribute name if the operation is exposed as JavaBean method, null otherwise.
 String getOperationName()
          Returns the operation name.
 Class<?>[] getParameterTypes()
          Returns the types of the operation's parameters.
 Class<?> getReturnType()
          Return type of the operation.
 boolean isGetter()
          Returns true if the operation is exposed as a JavaBean getter- method, null otherwise.
 boolean isIs()
          Returns true if the operation is exposed as a JavaBean boolean-is method, null otherwise.
 boolean isSetter()
          Returns true if the operation is exposed as a JavaBean setter- method, null otherwise.
 
Methods inherited from interface org.beanlet.MetaData
getDescription
 
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
 

Method Detail

getOperationName

String getOperationName()
Returns the operation name.

Returns:
operation name.

getParameterTypes

Class<?>[] getParameterTypes()
Returns the types of the operation's parameters.

Returns:
operation parameter types.

getReturnType

Class<?> getReturnType()
Return type of the operation.

Returns:
return type of the operation.

getAttributeName

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

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

isGetter

boolean isGetter()
Returns true if the operation is exposed as a JavaBean getter- method, null otherwise.

Returns:
true if the operation is exposed as a JavaBean getter- method, null otherwise.

isSetter

boolean isSetter()
Returns true if the operation is exposed as a JavaBean setter- method, null otherwise.

Returns:
true if the operation is exposed as a JavaBean setter- method, null otherwise.

isIs

boolean isIs()
Returns true if the operation is exposed as a JavaBean boolean-is method, null otherwise.

Returns:
true if the operation is exposed as a JavaBean boolean-is method, null otherwise.


Copyright © 2006-2012. All Rights Reserved.