pivot.wtkx
Annotation Type Bindable.Bind


@Retention(value=RUNTIME)
@Target(value=FIELD)
protected static @interface Bindable.Bind

Annotation that causes a loaded WTKX element to be bound to the annotated field. This annotation necessitates the prior use of a @Load annotation and references the loaded field via the fieldName attribute.

Author:
gbrown

Required Element Summary
 String fieldName
          The name of the field that was loaded via the @Load annotation.
 
Optional Element Summary
 String id
          The ID of the WTKX variable that references the element to bind.
 

Element Detail

fieldName

public abstract String fieldName
The name of the field that was loaded via the @Load annotation.

See Also:
Bindable.Load

id

public abstract String id
The ID of the WTKX variable that references the element to bind. It should be a valid wtkx:id from the loaded WTKX resource. If unspecified, the name of the annotated field will be used.

See Also:
WTKXSerializer.getObjectByID(String)
Default:
"\u0000"