|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.map.SubMapper
public abstract class SubMapper
Class defining and performing a mapping of an attribute that itself is a complex sub object of a business object.
Constructor Summary | |
---|---|
SubMapper(Mapper mapper)
Constructor. |
Method Summary | |
---|---|
protected abstract java.lang.Object |
getObject(java.lang.Object object)
Implementing class must return the sub-object to map. |
void |
map(DDocument document,
java.lang.Object object)
Performs the mapping from a document to a business object. |
void |
map(java.lang.Object object,
DDocument document)
Performs the mapping from a business object to a document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubMapper(Mapper mapper)
mapper
- the mapper for the sub-objectMethod Detail |
---|
protected abstract java.lang.Object getObject(java.lang.Object object)
object
- base object
public final void map(DDocument document, java.lang.Object object) throws MappingException
map
in interface Mapper
document
- the Notes documentobject
- the business object
MappingException
- if an error occurred during mappingpublic final void map(java.lang.Object object, DDocument document) throws MappingException
map
in interface Mapper
object
- the business objectdocument
- the Notes document
MappingException
- if an error occurred during mapping
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |