| Modifier and Type | Class and Description |
|---|---|
class |
DefaultIdStrategy
The FQCN(fully qualified class name) will serve as the id (string).
|
| Modifier and Type | Field and Description |
|---|---|
static IdStrategy |
RuntimeEnv.ID_STRATEGY |
IdStrategy |
IdStrategy.primaryGroup |
IdStrategy |
EnumIO.Lazy.strategy |
IdStrategy |
HasSchema.strategy |
IdStrategy |
PolymorphicSchema.strategy |
IdStrategy |
HasDelegate.strategy |
IdStrategy |
DerivativeSchema.strategy |
| Modifier and Type | Method and Description |
|---|---|
IdStrategy |
IdStrategy.Factory.create()
Creates a new
IdStrategy instance (impl). |
| Modifier and Type | Method and Description |
|---|---|
protected MappedSchema.Field<T> |
MappedSchema.Field.copy(IdStrategy strategy)
Overriden by impls to enable copying.
|
abstract <T> MappedSchema.Field<T> |
RuntimeFieldFactory.create(int number,
java.lang.String name,
java.lang.reflect.Field field,
IdStrategy strategy)
Creates a runtime
field based on reflection. |
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
IdStrategy strategy)
Generates a schema from the given class.
|
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
java.util.Map<java.lang.String,java.lang.String> declaredFields,
IdStrategy strategy)
Generates a schema from the given class with the declared fields (inclusive) based
from the given Map.
|
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
java.util.Set<java.lang.String> exclusions,
IdStrategy strategy)
Generates a schema from the given class with the exclusion of certain fields.
|
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(java.lang.Class<T> typeClass,
java.lang.String[] exclusions,
IdStrategy strategy)
Generates a schema from the given class with the exclusion of certain fields.
|
static RuntimeFieldFactory<?> |
RuntimeFieldFactory.getFieldFactory(java.lang.Class<?> clazz,
IdStrategy strategy)
Gets the runtime field factory of the given
clazz. |
static <T> Schema<T> |
RuntimeSchema.getSchema(java.lang.Class<T> typeClass,
IdStrategy strategy)
Gets the schema that was either registered or lazily initialized at runtime.
|
static PolymorphicSchema |
PolymorphicSchemaFactories.getSchemaFromCollectionOrMapGenericType(java.lang.Class<?> clazz,
IdStrategy strategy) |
static boolean |
RuntimeSchema.isRegistered(java.lang.Class<?> typeClass,
IdStrategy strategy)
Returns true if the
typeClass was not lazily created. |
PolymorphicSchema |
EnumIO.newSchema(java.lang.Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
HasSchema.newSchema(java.lang.Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
PolymorphicSchema.Factory.newSchema(java.lang.Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
HasDelegate.newSchema(java.lang.Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
Copyright © 2009-2023. All Rights Reserved.