NativeMapped.
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private final NativeMapped | |
| private final Class | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NativeMapped | |
| public Object | fromNative(Object nativeValue, FromNativeContext context)
Implements com. |
| public static NativeMappedConverter | |
| public Class | nativeType()
Implements com. |
| public Object | toNative(Object value, ToNativeContext context)
Implements com. |
| converters | back to summary |
|---|---|
| private static final Map<Class<?>, Reference<NativeMappedConverter>> converters | |
| instance | back to summary |
|---|---|
| private final NativeMapped instance | |
| nativeType | back to summary |
|---|---|
| private final Class<?> nativeType | |
| type | back to summary |
|---|---|
| private final Class<?> type | |
| NativeMappedConverter | back to summary |
|---|---|
| public NativeMappedConverter(Class<?> type) | |
| defaultValue | back to summary |
|---|---|
| public NativeMapped defaultValue() | |
| fromNative | back to summary |
|---|---|
| public Object fromNative(Object nativeValue, FromNativeContext context) Implements com. Doc from com. Convert the given native object into its Java representation using the given context.
| |
| getInstance | back to summary |
|---|---|
| public static NativeMappedConverter getInstance(Class<?> cls) | |
| nativeType | back to summary |
|---|---|
| public Class Implements com. Doc from com. Indicate the native type used by this converter.
| |
| toNative | back to summary |
|---|---|
| public Object toNative(Object value, ToNativeContext context) Implements com. Doc from com. Convert a Java type to an appropriate native type. The new type must be one of the following classes:
| |