Marks a type to be mapped.
The type needs to have a single constructor argument that is a String type, or have a factory method that has a single argument that is a String type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Import a type to be mapped. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionFactory method name used to construct the type.
-
Element Details
-
factoryMethod
String factoryMethodFactory method name used to construct the type. Empty means use a constructor- Default:
""
-