Top Description Methods
org.glassfish.pfl.dynamic.generator

public @Interface Builder

extends Annotation
Annotations
@Documented
@Target:METHOD
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Annotation applied to a method in an abstract class or interface to indicate that the method is an accessor for a property value. The method must take no parameters and return a non-void result type.
Author
ken

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

the property id.
value
()

Property identifier used to initialize property.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()

Property identifier used to initialize property. Default empty string indicates that the name should be derived from the method name as follows:

  • If the method name is getName, the default id is name.
  • if the method name is isName, and the return type is boolean or Boolean, the default id is name.
  • Otherwise, the method name is the default id.
Returns:String[]

the property id.