| Constructor and Description |
|---|
RuntimeFieldFactory(int id) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> Field<T> |
create(int number,
String name,
Field field,
IdStrategy strategy)
Creates a runtime
field based on reflection. |
static RuntimeFieldFactory<?> |
getFieldFactory(Class<?> clazz)
Gets the runtime field factory of the given
clazz. |
static RuntimeFieldFactory<?> |
getFieldFactory(Class<?> clazz,
IdStrategy strategy)
Gets the runtime field factory of the given
clazz. |
static <T> RuntimeFieldFactory<T> |
getInline(Class<T> typeClass)
Returns the factory for inline (scalar) values.
|
public static RuntimeFieldFactory<?> getFieldFactory(Class<?> clazz)
clazz.
Method overload for backwards compatibility.
public static RuntimeFieldFactory<?> getFieldFactory(Class<?> clazz, IdStrategy strategy)
clazz.public static <T> RuntimeFieldFactory<T> getInline(Class<T> typeClass)
public abstract <T> Field<T> create(int number, String name, Field field, IdStrategy strategy)
field based on reflection.Copyright © 2009–2020. All rights reserved.