org.loom.annotation
Annotation Type ConverterMetadata


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD,PARAMETER})
@Documented
public @interface ConverterMetadata

Defines the converter for this field


Required Element Summary
 java.lang.Class<? extends Converter> converterClass
          the Class of the specified converter for this field
 
Optional Element Summary
 java.lang.String propertyPath
          if specified, the converter will be used on this property path.
 

Element Detail

converterClass

public abstract java.lang.Class<? extends Converter> converterClass
the Class of the specified converter for this field

propertyPath

public abstract java.lang.String propertyPath
if specified, the converter will be used on this property path. Else, it will be used on the annotated field

Default:
""