de.bea.domingo.map
Interface Mapper

All Known Subinterfaces:
DMapper
All Known Implementing Classes:
BaseContactMapper, BaseDMapper, BaseMapper, CalendarEntryMapper, ConstantMapper, CustomMapper, DirectMapper, EmailMapper, ListMapper, MapMapper, MapperSet, PrivateContactMapper, PublicContactMapper, SubMapper

public interface Mapper

Mapper interface for mappers between business objects and Notes documents.

Author:
Kurt Riede

Method Summary
 void map(DDocument document, java.lang.Object object)
          Maps a domingo document to a business object.
 void map(java.lang.Object object, DDocument document)
          Maps a business object to a domingo document.
 

Method Detail

map

void map(DDocument document,
         java.lang.Object object)
         throws MappingException
Maps a domingo document to a business object.

Parameters:
document - the domingo document to map
object - the business object
Throws:
MappingException - if an error occurred during mapping

map

void map(java.lang.Object object,
         DDocument document)
         throws MappingException
Maps a business object to a domingo document.

Parameters:
object - the business object
document - the domingo document to map to
Throws:
MappingException - if an error occurred during mapping


Domingo Java-API