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
 java.lang.String getterMethodName
          Returns the getter method name defined on the type() type annotated with model information like Attribute
 java.lang.Class<?> type
          returns the model the annotated type is bound to
 

Element Detail

type

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

Returns:
the model type

getterMethodName

public abstract java.lang.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 GlassFish Community. All Rights Reserved.