| 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 |
DerivativeSchema.strategy |
IdStrategy |
PolymorphicSchema.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 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) |
| Constructor and Description |
|---|
ArraySchema(IdStrategy strategy) |
ClassSchema(IdStrategy strategy) |
DefaultIdStrategy(IdStrategy primaryGroup,
int groupId) |
DerivativeSchema(IdStrategy strategy) |
IdStrategy(IdStrategy primaryGroup,
int groupId) |
NumberSchema(IdStrategy strategy) |
ObjectSchema(IdStrategy strategy) |
PolymorphicCollectionSchema(IdStrategy strategy) |
PolymorphicEnumSchema(IdStrategy strategy) |
PolymorphicMapSchema(IdStrategy strategy) |
PolymorphicSchema(IdStrategy strategy) |
PolymorphicThrowableSchema(IdStrategy strategy) |
Copyright © 2009–2016. All rights reserved.