Constructor and Description |
---|
ObjectClassMeta(Type target,
List<InstantiatorDefinition> instantiatorDefinitions,
List<ConstructorPropertyMeta<T,?>> constructorProperties,
Map<String,String> fieldAliases,
List<PropertyMeta<T,?>> properties,
ReflectionService reflectService,
boolean needTransformer) |
ObjectClassMeta(Type target,
Member builderInstantiator,
ReflectionService reflectService) |
ObjectClassMeta(Type target,
ReflectionService reflectService) |
Modifier and Type | Method and Description |
---|---|
void |
forEachProperties(org.simpleflatmapper.util.Consumer<? super PropertyMeta<T,?>> consumer) |
protected String |
getAlias(String propertyName) |
PropertyMeta<T,?> |
getFirstProperty() |
List<InstantiatorDefinition> |
getInstantiatorDefinitions() |
int |
getNumberOfProperties() |
ReflectionService |
getReflectionService() |
Type |
getType() |
boolean |
needTransformer() |
PropertyFinder<T> |
newPropertyFinder() |
static <T> List<PropertyMeta<T,?>> |
withReflectionService(List<PropertyMeta<T,?>> props,
ReflectionService reflectionService) |
ClassMeta<T> |
withReflectionService(ReflectionService reflectionService) |
static <T> List<ConstructorPropertyMeta<T,?>> |
withReflectionServiceConstructor(List<ConstructorPropertyMeta<T,?>> props,
ReflectionService reflectionService) |
public ObjectClassMeta(Type target, ReflectionService reflectService)
public ObjectClassMeta(Type target, Member builderInstantiator, ReflectionService reflectService)
public ObjectClassMeta(Type target, List<InstantiatorDefinition> instantiatorDefinitions, List<ConstructorPropertyMeta<T,?>> constructorProperties, Map<String,String> fieldAliases, List<PropertyMeta<T,?>> properties, ReflectionService reflectService, boolean needTransformer)
public ClassMeta<T> withReflectionService(ReflectionService reflectionService)
withReflectionService
in interface ClassMeta<T>
public List<InstantiatorDefinition> getInstantiatorDefinitions()
getInstantiatorDefinitions
in interface ClassMeta<T>
public void forEachProperties(org.simpleflatmapper.util.Consumer<? super PropertyMeta<T,?>> consumer)
forEachProperties
in interface ClassMeta<T>
public ReflectionService getReflectionService()
getReflectionService
in interface ClassMeta<T>
public PropertyFinder<T> newPropertyFinder()
newPropertyFinder
in interface ClassMeta<T>
public int getNumberOfProperties()
getNumberOfProperties
in interface ClassMeta<T>
public boolean needTransformer()
needTransformer
in interface ClassMeta<T>
public PropertyMeta<T,?> getFirstProperty()
public static <T> List<PropertyMeta<T,?>> withReflectionService(List<PropertyMeta<T,?>> props, ReflectionService reflectionService)
public static <T> List<ConstructorPropertyMeta<T,?>> withReflectionServiceConstructor(List<ConstructorPropertyMeta<T,?>> props, ReflectionService reflectionService)
Copyright © 2019. All rights reserved.