public final class ConstantMapper extends BaseDMapper
| Constructor and Description |
|---|
ConstantMapper(String itemName,
String constant)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
map(DDocument document,
Object object)
Performs the direct mapping from a document to a business object.
|
void |
map(Object object,
DDocument document)
Performs the direct mapping from a business object to a document.
|
getCalendar, getValue, getValue, getValueDate, getValueDateRange, getValueDouble, getValueInteger, getValueString, hasMethod, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, replaceItemValue, setValuepublic ConstantMapper(String itemName, String constant)
itemName - name of Notes itemconstant - the constant value for the itempublic void map(DDocument document, Object object) throws MappingException
document - the Notes documentobject - the business objectMappingException - if an error occurred during mappingpublic void map(Object object, DDocument document) throws MappingException
object - the business objectdocument - the Notes documentMappingException - if an error occurred during mappingCopyright © 2005–2020. All rights reserved.