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