Annotation Interface Converter
An annotation to indicate that a custom
IConverter implementation
should be used.
In most cases, the LinkML runtime will automatically find the appropriate
implementation if IConverter to use to (de)serialise a given object.
The Java code generator can inject this annotation into the generated code to
indicate that a specific implementation shall be used.
When that annotation is carried by a class, the indicated converter shall be used for (de)serialising instances of that class (or any of its subclass, unless a subclass overrides this by also using this annotation to request the use of another converter).
When that annotation is carried by a field (representing a LinkML slot), the indicated converter shall be used for (de)serialising the value of the slot.
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<? extends IConverter> value
-