|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.map.BaseDMapper de.bea.domingo.map.ConstantMapper
public final class ConstantMapper
Class defining a constant value of an item value.
Constructor Summary | |
---|---|
ConstantMapper(java.lang.String itemName,
java.lang.String constant)
Constructor. |
Method Summary | |
---|---|
void |
map(DDocument document,
java.lang.Object object)
Performs the direct mapping from a document to a business object. |
void |
map(java.lang.Object object,
DDocument document)
Performs the direct mapping from a business object to a 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 ConstantMapper(java.lang.String itemName, java.lang.String constant)
itemName
- name of Notes itemconstant
- the constant value for the itemMethod Detail |
---|
public void map(DDocument document, java.lang.Object object) throws MappingException
document
- the Notes documentobject
- the business object
MappingException
- if an error occurred during mappingpublic void map(java.lang.Object object, DDocument document) throws MappingException
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 |