de.bea.domingo.map
Class BaseMapper

java.lang.Object
  extended by de.bea.domingo.map.BaseDMapper
      extended by de.bea.domingo.map.MapperSet
          extended by de.bea.domingo.map.BaseMapper
All Implemented Interfaces:
DMapper, Mapper
Direct Known Subclasses:
BaseContactMapper, CalendarEntryMapper, EmailMapper

public abstract class BaseMapper
extends MapperSet
implements DMapper

Abstract base class for domingo mappers.

Author:
Kurt Riede

Field Summary
static java.lang.Object[] EMPTY_ARGS
          empty array of objects, used as empty arguments list for reflection.
static java.lang.Class[] EMPTY_PARAMS
          empty array of classes, used as empty class list for reflection.
 
Constructor Summary
BaseMapper(java.lang.Class instanceClass)
          Constructor.
BaseMapper(java.lang.Class instanceClass, java.lang.Class digestClass)
          Constructor.
 
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.
 
Methods inherited from class de.bea.domingo.map.MapperSet
add, map, map
 
Methods inherited from class de.bea.domingo.map.BaseDMapper
getCalendar, getValue, getValue, getValueDate, getValueDateRange, getValueDouble, getValueInteger, getValueString, hasMethod, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.bea.domingo.map.DMapper
map, newDigest, newInstance
 
Methods inherited from interface de.bea.domingo.map.Mapper
map, map
 

Field Detail

EMPTY_ARGS

public static final java.lang.Object[] EMPTY_ARGS
empty array of objects, used as empty arguments list for reflection.


EMPTY_PARAMS

public static final java.lang.Class[] EMPTY_PARAMS
empty array of classes, used as empty class list for reflection.

Constructor Detail

BaseMapper

public BaseMapper(java.lang.Class instanceClass)
Constructor. The class of instances of digest of the business objects is assumed to be the same as the instance class.

Parameters:
instanceClass - the class of instance of the business objects

BaseMapper

public BaseMapper(java.lang.Class instanceClass,
                  java.lang.Class digestClass)
Constructor.

Parameters:
instanceClass - the class of instance of the business objects
digestClass - the class of instance of digests of the business objects
Method Detail

getInstanceClass

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

Specified by:
getInstanceClass in interface DMapper
Returns:
class of handled business objects
See Also:
DMapper.getInstanceClass()

getDigestClass

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

Specified by:
getDigestClass in interface DMapper
Returns:
digests class of handled business objects
See Also:
DMapper.getDigestClass()


Domingo Java-API