org.glassfish.api.admin.config
Annotation Type ModelBinding


@Documented
@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface ModelBinding

Defines a binding to a model class, used to retrieve metadata about this model.


Required Element Summary
 String getterMethodName
          Returns the getter method name defined on the type() type annotated with model information like Attribute
 Class<?> type
          returns the model the annotated type is bound to
 

Element Detail

type

public abstract Class<?> type
returns the model the annotated type is bound to

Returns:
the model type

getterMethodName

public abstract String getterMethodName
Returns the getter method name defined on the type() type annotated with model information like Attribute

Returns:
the type getter method name


Copyright © 2012. All Rights Reserved.