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