| 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.strategy |
IdStrategy |
DerivativeSchema.strategy |
IdStrategy |
HasSchema.strategy |
IdStrategy |
PolymorphicSchema.strategy |
IdStrategy |
HasDelegate.strategy |
| Modifier and Type | Method and Description |
|---|---|
IdStrategy |
IdStrategy.Factory.create()
Creates a new
IdStrategy instance (impl). |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> Field<T> |
RuntimeFieldFactory.create(int number,
String name,
Field field,
IdStrategy strategy)
Creates a runtime
field based on reflection. |
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(Class<T> typeClass,
IdStrategy strategy)
Generates a schema from the given class.
|
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(Class<T> typeClass,
Map<String,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(Class<T> typeClass,
Set<String> exclusions,
IdStrategy strategy)
Generates a schema from the given class with the exclusion of certain fields.
|
static <T> RuntimeSchema<T> |
RuntimeSchema.createFrom(Class<T> typeClass,
String[] exclusions,
IdStrategy strategy)
Generates a schema from the given class with the exclusion of certain fields.
|
static PolymorphicSchema.Factory |
PolymorphicSchemaFactories.getFactoryFromField(Field f,
IdStrategy strategy) |
static RuntimeFieldFactory<?> |
RuntimeFieldFactory.getFieldFactory(Class<?> clazz,
IdStrategy strategy)
Gets the runtime field factory of the given
clazz. |
static <T> Schema<T> |
RuntimeSchema.getSchema(Class<T> typeClass,
IdStrategy strategy)
Gets the schema that was either registered or lazily initialized at runtime.
|
static PolymorphicSchema |
PolymorphicSchemaFactories.getSchemaFromCollectionOrMapGenericType(Class<?> clazz,
IdStrategy strategy) |
static boolean |
RuntimeSchema.isRegistered(Class<?> typeClass,
IdStrategy strategy)
Returns true if the
typeClass was not lazily created. |
PolymorphicSchema |
EnumIO.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
HasSchema.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
PolymorphicSchema.Factory.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
PolymorphicSchema |
HasDelegate.newSchema(Class<?> typeClass,
IdStrategy strategy,
PolymorphicSchema.Handler handler) |
static void |
EnumIO.transfer(Pipe pipe,
Input input,
Output output,
int number,
boolean repeated,
IdStrategy strategy)
Transfers the
Enum from the input to the output. |
Copyright © 2009–2017. All rights reserved.