public class NReflectMapperImpl extends Object implements net.thevpc.nuts.reflect.NReflectMapper
| Modifier and Type | Field and Description |
|---|---|
static TypeMapperRepositoryDef |
globalMapperRepositoryDef |
| Constructor and Description |
|---|
NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository) |
NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef) |
NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
SPath root) |
NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
SPath root,
TypeMapperTraversedTreeImpl tree) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.util.NAssignmentPolicy |
assignmentPolicy() |
NReflectMapperImpl |
assignmentPolicy(net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy) |
boolean |
copy(Object from,
Object to) |
Object |
defaultMapToType(Object value,
net.thevpc.nuts.reflect.NReflectType toType) |
net.thevpc.nuts.util.NEqualizer<Object> |
equalizer() |
net.thevpc.nuts.reflect.NReflectMapper |
equalizer(net.thevpc.nuts.util.NEqualizer<Object> eq) |
net.thevpc.nuts.reflect.NReflectMapper |
excludeProperty(String... names) |
Object |
get(Object a) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectMappingStrategy> |
getMappingStrategy(net.thevpc.nuts.reflect.NReflectType from,
net.thevpc.nuts.reflect.NReflectType to) |
net.thevpc.nuts.reflect.NReflectMapper |
includeProperty(String... names) |
Object |
mapToType(Object value,
net.thevpc.nuts.reflect.NReflectType toType) |
Object |
mapToType(Object value,
Type toType) |
SPath |
path(net.thevpc.nuts.reflect.NReflectProperty p) |
SPath |
path(SPath path) |
net.thevpc.nuts.reflect.NReflectMapper |
propertyConverter(String property,
net.thevpc.nuts.reflect.NReflectConverter converter) |
Object |
put(Object a,
Object b) |
net.thevpc.nuts.reflect.NReflectMapper |
renameProperty(String from,
String to) |
net.thevpc.nuts.reflect.NReflectRepository |
repository() |
net.thevpc.nuts.reflect.NReflectMapper |
repository(net.thevpc.nuts.reflect.NReflectRepository repository) |
void |
tryRegister(Class<?> from,
Class<?> to,
net.thevpc.nuts.reflect.NReflectMappingStrategy mapper) |
void |
tryRegister(Class<?> from,
Type to,
net.thevpc.nuts.reflect.NReflectMappingStrategy mapper) |
void |
tryRegisterBean(Object bean) |
net.thevpc.nuts.reflect.NReflectMapper |
typeConverter(net.thevpc.nuts.reflect.NReflectType fromType,
net.thevpc.nuts.reflect.NReflectType toType,
net.thevpc.nuts.reflect.NReflectConverter converter) |
public static final TypeMapperRepositoryDef globalMapperRepositoryDef
public NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository)
public NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef)
public NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
SPath root)
public NReflectMapperImpl(net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
SPath root,
TypeMapperTraversedTreeImpl tree)
public net.thevpc.nuts.reflect.NReflectMapper repository(net.thevpc.nuts.reflect.NReflectRepository repository)
repository in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectMapper propertyConverter(String property, net.thevpc.nuts.reflect.NReflectConverter converter)
propertyConverter in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectMapper typeConverter(net.thevpc.nuts.reflect.NReflectType fromType,
net.thevpc.nuts.reflect.NReflectType toType,
net.thevpc.nuts.reflect.NReflectConverter converter)
typeConverter in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectMapper includeProperty(String... names)
includeProperty in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectMapper excludeProperty(String... names)
excludeProperty in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectMapper renameProperty(String from, String to)
renameProperty in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectMappingStrategy> getMappingStrategy(net.thevpc.nuts.reflect.NReflectType from,
net.thevpc.nuts.reflect.NReflectType to)
getMappingStrategy in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.util.NEqualizer<Object> equalizer()
equalizer in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectMapper equalizer(net.thevpc.nuts.util.NEqualizer<Object> eq)
equalizer in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy()
assignmentPolicy in interface net.thevpc.nuts.reflect.NReflectMapperpublic NReflectMapperImpl assignmentPolicy(net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy)
assignmentPolicy in interface net.thevpc.nuts.reflect.NReflectMapperpublic net.thevpc.nuts.reflect.NReflectRepository repository()
repository in interface net.thevpc.nuts.reflect.NReflectMapperpublic SPath path(net.thevpc.nuts.reflect.NReflectProperty p)
public Object mapToType(Object value, Type toType)
mapToType in interface net.thevpc.nuts.reflect.NReflectMapperpublic Object mapToType(Object value, net.thevpc.nuts.reflect.NReflectType toType)
mapToType in interface net.thevpc.nuts.reflect.NReflectMapperpublic void tryRegisterBean(Object bean)
public Object defaultMapToType(Object value, net.thevpc.nuts.reflect.NReflectType toType)
public boolean copy(Object from, Object to)
copy in interface net.thevpc.nuts.reflect.NReflectMapperpublic void tryRegister(Class<?> from, Type to, net.thevpc.nuts.reflect.NReflectMappingStrategy mapper)
Copyright © 2026 vpc open source initiative. All rights reserved.