public class FieldMapping extends AbstractFieldMapping implements DataMappingProblemsSupplier
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
FieldMapping() |
FieldMapping(String targetFieldName,
String sourceExpression) |
getCondition, getConditionAsString, getDataMappingPartName, getDefaultValueExpression, getDefaultValueExpressionAsString, getTargetFieldName, getType, mapField, setType, validateNamegetDataMappingName, getDataMappingPartContainerName, getDataMappingPartContainerTypeassertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataMappingProblems, getDataMappingProblemsfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic void getDataMappingProblems(List<DataMappingProblem> problems, boolean includeChildren)
getDataMappingProblems in interface DataMappingProblemsSuppliergetDataMappingProblems in class AbstractFieldMappingpublic FieldMapping setCondition(LogicalExpression condition)
setCondition in class AbstractFieldMappingpublic FieldMapping setDefaultValueExpression(Expression defaultValueExpression)
setDefaultValueExpression in class AbstractFieldMappingpublic FieldMapping setTargetFieldName(String targetFieldName)
setTargetFieldName in class AbstractFieldMappingpublic Expression getSourceExpression()
public FieldMapping setSourceExpression(Expression sourceExpression)
public String getSourceExpressionAsString()
protected Object mapFieldImpl(ExpressionContext expressionContext, DataMappingResult result)
mapFieldImpl in class AbstractFieldMappingpublic DataMapping getDataMapping()
getDataMapping in class DataMappingPartpublic DataMappingPart getDataMappingPartContainer()
getDataMappingPartContainer in class DataMappingPartpublic DataMappingPartType getDataMappingPartType()
getDataMappingPartType in class DataMappingPartpublic DataException addExceptionProperties(DataException exception)
FoundationObjectDataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties in interface DataExceptionContributoraddExceptionProperties in class AbstractFieldMappingpublic Record toRecord()
toRecord in interface RecordSerializabletoRecord in class AbstractFieldMappingpublic FieldMapping fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class AbstractFieldMappingpublic Element toXmlElement(Document document)
toXmlElement in interface XmlSerializabletoXmlElement in class AbstractFieldMappingpublic FieldMapping fromXmlElement(Element fieldMappingElement)
fromXmlElement in interface XmlSerializablefromXmlElement in class AbstractFieldMappingCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.