Package com.opencloud.rhino.cmp.codecs
Annotation Type DatatypeCodecType
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented public @interface DatatypeCodecType
Annotation that can be used on a datatype class stored in CMP to indicate to Rhino a codec that should be used to serialise and deserialise objects of that type.
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.- Since:
- Rhino 2.4.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends DatatypeCodec>
value
Codec class name.
-
-
-
Element Detail
-
value
Class<? extends DatatypeCodec> value
Codec class name.
- Since:
- Rhino 2.4.0
-
-