@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented public @interface DatatypeCodecType
This annotation can also be used on a CMP field getter or setter method to indicate what codec should be used specifically for that CMP field. This may be useful if it's not possible to annotate the source code for the stored datatype.
For a given type X, the DatatypeCodec
implementation class must have a type parameter T
that is equal to X, or if T is itself a type variable then it must have an upper bound equal
to X.
Modifier and Type | Required Element and Description |
---|---|
Class<? extends DatatypeCodec> |
value
Codec class name.
|
public abstract Class<? extends DatatypeCodec> value