public class CopyFieldsAction extends PipelineAction
Modifier and Type | Class and Description |
---|---|
static class |
CopyFieldsAction.FieldMapping |
Modifier and Type | Field and Description |
---|---|
List<CopyFieldsAction.FieldMapping> |
mapping |
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
CopyFieldsAction() |
Modifier and Type | Method and Description |
---|---|
CopyFieldsAction |
add(CopyFieldsAction.FieldMapping fieldMapping) |
CopyFieldsAction |
add(String source,
String target) |
CopyFieldsAction |
add(String source,
String target,
boolean overwrite) |
DataReader |
apply(DataReader reader) |
CopyFieldsAction |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
CopyFieldsAction |
fromXmlElement(Element element) |
void |
generateJavaCode(JavaCodeBuilder code) |
List<CopyFieldsAction.FieldMapping> |
getMapping() |
CopyFieldsAction |
setMapping(List<CopyFieldsAction.FieldMapping> mapping) |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
escapeJavaString, getCode, getDescription, getDisplayText, getPipeline, setDescription, setPipeline, toString
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties
public List<CopyFieldsAction.FieldMapping> mapping
public List<CopyFieldsAction.FieldMapping> getMapping()
public CopyFieldsAction setMapping(List<CopyFieldsAction.FieldMapping> mapping)
public CopyFieldsAction add(String source, String target)
public CopyFieldsAction add(String source, String target, boolean overwrite)
public CopyFieldsAction add(CopyFieldsAction.FieldMapping fieldMapping)
public DataReader apply(DataReader reader)
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class PipelineAction
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class PipelineAction
public CopyFieldsAction fromXmlElement(Element element)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class PipelineAction
public CopyFieldsAction fromRecord(Record source)
RecordSerializable
this
(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 RecordSerializable
fromRecord
in class PipelineAction
public void generateJavaCode(JavaCodeBuilder code)
generateJavaCode
in interface JavaCodeGenerator
generateJavaCode
in class PipelineAction
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.