de.bea.domingo.map
Interface DMapper

All Superinterfaces:
Mapper
All Known Implementing Classes:
BaseContactMapper, BaseMapper, CalendarEntryMapper, EmailMapper, PrivateContactMapper, PublicContactMapper

public interface DMapper
extends Mapper

Interface for mappers from business objects to domingo and vice versa.

Author:
Kurt Riede

Method Summary
 java.lang.Class getDigestClass()
          Returns the class of digests of business objects handled by this mapper.
 java.lang.Class getInstanceClass()
          Returns the class of business objects handled by this mapper.
 void map(DViewEntry viewEntry, java.lang.Object object)
          Maps a Domingo ViewEntry to a business object.
 java.lang.Object newDigest()
          Creates a new digest instance of the business object.
 java.lang.Object newInstance()
          Creates a new instance of the business object.
 
Methods inherited from interface de.bea.domingo.map.Mapper
map, map
 

Method Detail

getInstanceClass

java.lang.Class getInstanceClass()
Returns the class of business objects handled by this mapper.

Returns:
class of handled business objects

getDigestClass

java.lang.Class getDigestClass()
Returns the class of digests of business objects handled by this mapper.

Returns:
digests class of handled business objects

newInstance

java.lang.Object newInstance()
Creates a new instance of the business object.

Returns:
new instance

newDigest

java.lang.Object newDigest()
Creates a new digest instance of the business object.

Returns:
new instance

map

void map(DViewEntry viewEntry,
         java.lang.Object object)
         throws MappingException
Maps a Domingo ViewEntry to a business object.

Parameters:
viewEntry - the domingo ViewEntry
object - the business object
Throws:
MappingException - if an error occurred during mapping


Domingo Java-API