Package org.apache.johnzon.mapper
Class Mappings.ClassMapping
- java.lang.Object
-
- org.apache.johnzon.mapper.Mappings.ClassMapping
-
- Direct Known Subclasses:
JsonbMappings.ClassMapping
- Enclosing class:
- Mappings
public static class Mappings.ClassMapping extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Adapter
adapter
Field
anyField
Mappings.Getter
anyGetter
Method
anySetter
Class<?>
clazz
boolean
deduplicateObjects
AccessMode.Factory
factory
Map<String,Mappings.Getter>
getters
Method
mapAdder
Class<?>
mapAdderType
BiFunction<jakarta.json.JsonObject,Class<?>,Class<?>>
polymorphicDeserializedTypeResolver
ObjectConverter.Reader
reader
Map.Entry<String,String>[]
serializedPolymorphicProperties
Map<String,Mappings.Setter>
setters
ObjectConverter.Writer
writer
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassMapping(Class<?> clazz, AccessMode.Factory factory, Map<String,Mappings.Getter> getters, Map<String,Mappings.Setter> setters, Adapter<?,?> adapter, ObjectConverter.Reader<?> reader, ObjectConverter.Writer<?> writer, Mappings.Getter anyGetter, Method anySetter, Field anyField, Method mapAdder)
protected
ClassMapping(Class<?> clazz, AccessMode.Factory factory, Map<String,Mappings.Getter> getters, Map<String,Mappings.Setter> setters, Adapter<?,?> adapter, ObjectConverter.Reader<?> reader, ObjectConverter.Writer<?> writer, Mappings.Getter anyGetter, Method anySetter, Field anyField, Method mapAdder, Map.Entry<String,String>[] serializedPolymorphicProperties, BiFunction<jakarta.json.JsonObject,Class<?>,Class<?>> polymorphicDeserializedTypeResolver)
-
-
-
Field Detail
-
clazz
public final Class<?> clazz
-
factory
public final AccessMode.Factory factory
-
getters
public final Map<String,Mappings.Getter> getters
-
setters
public final Map<String,Mappings.Setter> setters
-
adapter
public final Adapter adapter
-
reader
public final ObjectConverter.Reader reader
-
writer
public final ObjectConverter.Writer writer
-
anyGetter
public final Mappings.Getter anyGetter
-
anySetter
public final Method anySetter
-
anyField
public final Field anyField
-
mapAdder
public final Method mapAdder
-
mapAdderType
public final Class<?> mapAdderType
-
serializedPolymorphicProperties
public final Map.Entry<String,String>[] serializedPolymorphicProperties
-
polymorphicDeserializedTypeResolver
public final BiFunction<jakarta.json.JsonObject,Class<?>,Class<?>> polymorphicDeserializedTypeResolver
-
deduplicateObjects
public boolean deduplicateObjects
-
-
Constructor Detail
-
ClassMapping
protected ClassMapping(Class<?> clazz, AccessMode.Factory factory, Map<String,Mappings.Getter> getters, Map<String,Mappings.Setter> setters, Adapter<?,?> adapter, ObjectConverter.Reader<?> reader, ObjectConverter.Writer<?> writer, Mappings.Getter anyGetter, Method anySetter, Field anyField, Method mapAdder)
-
ClassMapping
protected ClassMapping(Class<?> clazz, AccessMode.Factory factory, Map<String,Mappings.Getter> getters, Map<String,Mappings.Setter> setters, Adapter<?,?> adapter, ObjectConverter.Reader<?> reader, ObjectConverter.Writer<?> writer, Mappings.Getter anyGetter, Method anySetter, Field anyField, Method mapAdder, Map.Entry<String,String>[] serializedPolymorphicProperties, BiFunction<jakarta.json.JsonObject,Class<?>,Class<?>> polymorphicDeserializedTypeResolver)
-
-
Method Detail
-
isDeduplicateObjects
private Boolean isDeduplicateObjects()
-
-