|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.map.BaseDMapper
de.bea.domingo.map.ListMapper
public abstract class ListMapper
Class defining and performing a mapping of Lists of business objects from and to a document.
| Constructor Summary | |
|---|---|
ListMapper(java.lang.String itemName)
Constructor. |
|
ListMapper(java.lang.String itemName,
java.lang.String getName)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
add(java.lang.String itemName,
java.lang.Class clazz)
Adds a mapper where the Notes item name is equal to the itemName attribute and the names of the get/set methods in the business class are equal to "get" + itemName and "set" + itemName. |
protected void |
add(java.lang.String itemName,
java.lang.String attributeName,
java.lang.Class clazz)
Adds a mapper where the Notes item name is equal to the itemName attribute and the names of the get/set methods in the business class are equal to "get" + attributeName and "set" + attributeName. |
protected void |
add(java.lang.String itemName,
java.lang.String getName,
java.lang.String setName,
java.lang.Class clazz)
Adds a mapper where the Notes item name is equal to the itemName attribute and the names of the get/set methods in the business class are equal to getName and setName. |
protected abstract java.lang.Object |
createItem(java.lang.Object object)
Creates a new instance of a list item. |
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. |
| 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 |
| Constructor Detail |
|---|
public ListMapper(java.lang.String itemName)
itemName - name of Notes item
public ListMapper(java.lang.String itemName,
java.lang.String getName)
itemName - name of Notes itemgetName - name of get-method| Method Detail |
|---|
protected final void add(java.lang.String itemName,
java.lang.Class clazz)
itemName - name of Notes itemclazz - the value type
protected final void add(java.lang.String itemName,
java.lang.String attributeName,
java.lang.Class clazz)
itemName - name of Notes itemattributeName - name of Java attributeclazz - the value type
protected final void add(java.lang.String itemName,
java.lang.String getName,
java.lang.String setName,
java.lang.Class clazz)
itemName - name of Notes itemgetName - name of get-methodsetName - name of set-methodclazz - the value type
public final void map(DDocument document,
java.lang.Object object)
throws MappingException
document - the domingo document to mapobject - the business object
MappingException - if an error occurred during mappingMapper.map(de.bea.domingo.DDocument,
java.lang.Object)protected abstract java.lang.Object createItem(java.lang.Object object)
object - parent object
public final void map(java.lang.Object object,
DDocument document)
throws MappingException
object - the business objectdocument - the domingo document to map to
MappingException - if an error occurred during mappingMapper.map(java.lang.Object,
de.bea.domingo.DDocument)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||