public class NReflectMapperContextImpl extends Object implements net.thevpc.nuts.reflect.NReflectMapperContext
| Constructor and Description |
|---|
NReflectMapperContextImpl(net.thevpc.nuts.reflect.NReflectMapper mapper,
net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef) |
NReflectMapperContextImpl(net.thevpc.nuts.reflect.NReflectMapper mapper,
net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
NReflectMapperImpl.SPath root) |
NReflectMapperContextImpl(net.thevpc.nuts.reflect.NReflectMapper mapper,
net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
NReflectMapperImpl.SPath root,
TypeMapperTraversedTreeImpl tree) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
copy(Object from,
Object to) |
Object |
defaultMapToType(Object value,
net.thevpc.nuts.reflect.NReflectType toType) |
net.thevpc.nuts.util.NEqualizer<Object> |
equalizer() |
void |
excludeProperty(String... names) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectTypeMapper> |
findTypeMapper(net.thevpc.nuts.reflect.NReflectType from,
net.thevpc.nuts.reflect.NReflectType to) |
Object |
get(Object a) |
void |
include(String... names) |
net.thevpc.nuts.reflect.NReflectMapper |
mapper() |
net.thevpc.nuts.util.NMapStrategy |
mapStrategy() |
Object |
mapToType(Object value,
net.thevpc.nuts.reflect.NReflectType toType) |
NReflectMapperImpl.SPath |
path(NReflectMapperImpl.SPath path) |
NReflectMapperImpl.SPath |
path(net.thevpc.nuts.reflect.NReflectProperty p) |
Object |
put(Object a,
Object b) |
void |
rename(String from,
String to) |
net.thevpc.nuts.reflect.NReflectRepository |
repository() |
net.thevpc.nuts.reflect.NReflectMapperContext |
setEqualizer(net.thevpc.nuts.util.NEqualizer<Object> eq) |
NReflectMapperContextImpl |
setMapStrategy(net.thevpc.nuts.util.NMapStrategy mapStrategy) |
void |
setPropertyConverter(String property,
net.thevpc.nuts.reflect.NReflectMapper.Converter converter) |
void |
setTypeConverter(net.thevpc.nuts.reflect.NReflectType fromType,
net.thevpc.nuts.reflect.NReflectType toType,
net.thevpc.nuts.reflect.NReflectMapper.Converter converter) |
void |
tryRegister(Class<?> from,
Class<?> to,
net.thevpc.nuts.reflect.NReflectTypeMapper mapper) |
void |
tryRegister(Class<?> from,
Type to,
net.thevpc.nuts.reflect.NReflectTypeMapper mapper) |
void |
tryRegisterBean(Object bean) |
public NReflectMapperContextImpl(net.thevpc.nuts.reflect.NReflectMapper mapper,
net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef)
public NReflectMapperContextImpl(net.thevpc.nuts.reflect.NReflectMapper mapper,
net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
NReflectMapperImpl.SPath root)
public NReflectMapperContextImpl(net.thevpc.nuts.reflect.NReflectMapper mapper,
net.thevpc.nuts.reflect.NReflectRepository reflectRepository,
TypeMapperRepositoryDef mapperRepositoryDef,
NReflectMapperImpl.SPath root,
TypeMapperTraversedTreeImpl tree)
public void setPropertyConverter(String property, net.thevpc.nuts.reflect.NReflectMapper.Converter converter)
setPropertyConverter in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic void setTypeConverter(net.thevpc.nuts.reflect.NReflectType fromType,
net.thevpc.nuts.reflect.NReflectType toType,
net.thevpc.nuts.reflect.NReflectMapper.Converter converter)
setTypeConverter in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic void include(String... names)
include in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic void excludeProperty(String... names)
excludeProperty in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic void rename(String from, String to)
rename in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic Object get(Object a)
get in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic Object put(Object a, Object b)
put in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.reflect.NReflectTypeMapper> findTypeMapper(net.thevpc.nuts.reflect.NReflectType from,
net.thevpc.nuts.reflect.NReflectType to)
findTypeMapper in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic net.thevpc.nuts.util.NEqualizer<Object> equalizer()
equalizer in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic net.thevpc.nuts.reflect.NReflectMapperContext setEqualizer(net.thevpc.nuts.util.NEqualizer<Object> eq)
setEqualizer in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic net.thevpc.nuts.util.NMapStrategy mapStrategy()
mapStrategy in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic NReflectMapperContextImpl setMapStrategy(net.thevpc.nuts.util.NMapStrategy mapStrategy)
setMapStrategy in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic net.thevpc.nuts.reflect.NReflectRepository repository()
repository in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic net.thevpc.nuts.reflect.NReflectMapper mapper()
mapper in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic NReflectMapperImpl.SPath path(NReflectMapperImpl.SPath path)
public NReflectMapperImpl.SPath path(net.thevpc.nuts.reflect.NReflectProperty p)
public Object mapToType(Object value, net.thevpc.nuts.reflect.NReflectType toType)
mapToType in interface net.thevpc.nuts.reflect.NReflectMapperContextpublic 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.NReflectMapperContextpublic void tryRegister(Class<?> from, Type to, net.thevpc.nuts.reflect.NReflectTypeMapper mapper)
Copyright © 2025 vpc open source initiative. All rights reserved.