public abstract class SubMapper extends Object implements Mapper
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
getObject(Object object)
Implementing class must return the sub-object to map.
|
void |
map(DDocument document,
Object object)
Performs the mapping from a document to a business object.
|
void |
map(Object object,
DDocument document)
Performs the mapping from a business object to a document.
|
public SubMapper(Mapper mapper)
mapper - the mapper for the sub-objectprotected abstract Object getObject(Object object)
object - base objectpublic final void map(DDocument document, Object object) throws MappingException
map in interface Mapperdocument - the Notes documentobject - the business objectMappingException - if an error occurred during mappingpublic final void map(Object object, DDocument document) throws MappingException
map in interface Mapperobject - the business objectdocument - the Notes documentMappingException - if an error occurred during mappingCopyright © 2005–2020. All rights reserved.