org.sormula.annotation
Annotation Type ImplicitType
@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
public @interface ImplicitType
Defines a 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)
.
- Since:
- 1.6 and 2.0
- Author:
- Jeff Miller
translator
public abstract java.lang.Class<? extends TypeTranslator> translator
- Returns:
- type translator to use on class