org.eclipse.persistence.annotations.Converter , org.eclipse.persistence.annotations.ObjectTypeConverter , org.eclipse.persistence.annotations.TypeConverter , org.eclipse.persistence.mappings.converters.SerializedObjectConverter , org.eclipse.persistence.mappings.converters.ClassInstanceConverter
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CLASS_INSTANCE
Constant name for the reserved class instance converter. |
| public static final String | JSON
Constant name for the reserved JSON converter. |
| public static final String | KRYO
Constant name for the reserved Kryo converter. |
| public static final String | NONE
Constant name for no converter. |
| public static final String | SERIALIZED
Constant name for the reserved Java serialization converter. |
| public static final String | XML
Constant name for the reserved XML converter. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| CLASS_INSTANCE | back to summary |
|---|---|
| public static final String CLASS_INSTANCE Constant name for the reserved class instance converter. This will store the object's class name, and create a new instance of the class on read. | |
| JSON | back to summary |
|---|---|
| public static final String JSON Constant name for the reserved JSON converter. This will use EclipseLink Moxy JAXB to convert the object to and from JSON. | |
| KRYO | back to summary |
|---|---|
| public static final String KRYO Constant name for the reserved Kryo converter. This will use Kryo to convert the object to and from an optimized binary format. | |
| NONE | back to summary |
|---|---|
| public static final String NONE Constant name for no converter. | |
| SERIALIZED | back to summary |
|---|---|
| public static final String SERIALIZED Constant name for the reserved Java serialization converter. This will serialize the | |
| XML | back to summary |
|---|---|
| public static final String XML Constant name for the reserved XML converter. This will use JAXB to convert the object to and from XML. | |
| value | back to summary |
|---|---|
| public String value() (Optional) The name of the converter to be used. | |