T
- public class MappingContext<T> extends Object
Constructor and Description |
---|
MappingContext(List<MappingProvider<T>> mod) |
Modifier and Type | Method and Description |
---|---|
MappingResult<T> |
getMappingResult() |
List<MappingProvider<T>> |
getModules()
Get the set of mapping modules
|
boolean |
hasModules()
Optimization Step to determine if we have configured mapping modules
to avoid unnecessary mapping step
|
void |
performMapping(Map<String,Object> contextMap,
T mappedObject)
Apply mapping semantics on the passed object
|
public MappingContext(List<MappingProvider<T>> mod)
public List<MappingProvider<T>> getModules()
public void performMapping(Map<String,Object> contextMap, T mappedObject)
contextMap
- Read-only Contextual MapmappedObject
- an object on which mapping will be appliedpublic MappingResult<T> getMappingResult()
public boolean hasModules()
Copyright © 2017 JBoss by Red Hat. All rights reserved.