| Modifier and Type | Class and Description |
|---|---|
class |
ArraySchema
Used when a field is an array (Object[] or any polymorphic component type).
|
static class |
ArraySchemas.Base |
static class |
ArraySchemas.BigDecimalArray |
static class |
ArraySchemas.BigIntegerArray |
static class |
ArraySchemas.BoolArray |
static class |
ArraySchemas.ByteArrayArray |
static class |
ArraySchemas.ByteStringArray |
static class |
ArraySchemas.CharArray |
static class |
ArraySchemas.DateArray |
static class |
ArraySchemas.DelegateArray |
static class |
ArraySchemas.DoubleArray |
static class |
ArraySchemas.EnumArray |
static class |
ArraySchemas.FloatArray |
static class |
ArraySchemas.Int32Array |
static class |
ArraySchemas.Int64Array |
static class |
ArraySchemas.PojoArray |
static class |
ArraySchemas.ShortArray |
static class |
ArraySchemas.StringArray |
class |
ClassSchema
Used when a field is declared as
Class<?> (with or with-out generics). |
class |
NumberSchema
Used when the type is
Number. |
class |
ObjectSchema
A schema for dynamic types (fields where the type is
Object). |
class |
PolymorphicCollectionSchema
Used when the type is an interface (Collection/List/Set/SortedSet).
|
class |
PolymorphicEnumSchema
Used when a field is declared as
Enum<?> (with or with-out generics). |
class |
PolymorphicMapSchema
Used when the type is an interface (Map/SortedMap).
|
class |
PolymorphicPojoCollectionSchema
Will be used if
RuntimeEnv.POJO_SCHEMA_ON_COLLECTION_FIELDS is enabled and the
field is assignable from Collection. |
class |
PolymorphicPojoMapSchema
Placeholder for annotated interface/object fields configured to use this.
|
class |
PolymorphicPojoSchema
Will be used if either
RuntimeEnv.POJO_SCHEMA_ON_COLLECTION_FIELDS or
RuntimeEnv.POJO_SCHEMA_ON_MAP_FIELDS is set. |
class |
PolymorphicThrowableSchema
Used when the type is assignable from
Throwable. |
| Modifier and Type | Method and Description |
|---|---|
static PolymorphicSchema |
PolymorphicSchemaFactories.getSchemaFromCollectionOrMapGenericType(Class<?> clazz,
IdStrategy strategy) |
PolymorphicSchema |
HasSchema.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
PolymorphicSchema.Factory.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
EnumIO.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
HasDelegate.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
Copyright © 2009–2022. All rights reserved.