@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
public @interface ImplicitType
TypeTranslator
for a row field or row field class. The type
is inferred from Field type or Class declaration. Annotate a row field declaration
or annotate the class declaration that is used as a field in a row class. A
TypeTranslator
for a type only needs to be annotated once for a table.
Types are added to table with Table.putTypeTranslator(Class, TypeTranslator)
.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends TypeTranslator> |
translator |
public abstract java.lang.Class<? extends TypeTranslator> translator