public class LegacyFlowImpl extends java.lang.Object implements LegacyFlow
| Constructor and Description | 
|---|
LegacyFlowImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
static LegacyFlow | 
fromXml(org.w3c.dom.Node xml)  | 
CodeFormat | 
getCodeFormat()
Returns the CodeFormat enum of the flow 
 | 
LegacyCollector | 
getCollector()
Gets the collector to be used for the flow 
 | 
DataFormat | 
getDataFormat()
Returns the DataForm enum of the flow 
 | 
java.lang.String | 
getEntityName()
Returns the name of the entity that's been set for the flow in strong form 
 | 
java.lang.String | 
getFlowDbPath()
Gets the DbPath (uri) for the flow in string form 
 | 
MainPlugin | 
getMain()
Gets the main plugin module that the flow is set to use 
 | 
java.lang.String | 
getMappingName()
Gets the mapping name used for the flow 
 | 
java.lang.String | 
getName()
Gets the name of the flow 
 | 
FlowType | 
getType()
Gets the FlowType enum for the flow 
 | 
static LegacyFlow | 
loadFromFile(java.io.File file)  | 
java.lang.String | 
serialize()
Serializes the flow into an xml string 
 | 
void | 
setCodeFormat(CodeFormat codeFormat)
Sets the CodeFormat enum of the flow 
 | 
void | 
setCollector(LegacyCollector collector)
Sets the legacyCollector to be used for the flow 
 | 
void | 
setDataFormat(DataFormat dataFormat)
Sets the DataFormat for the flow 
 | 
void | 
setEntityName(java.lang.String entityName)
Sets the entity name for the flow 
 | 
void | 
setMain(MainPlugin main)
Sets the main plugin module for the flow 
 | 
void | 
setMappingName(java.lang.String mappingName)
Sets the mapping name used to generate the flow 
 | 
void | 
setName(java.lang.String name)
Sets the name of the flow 
 | 
void | 
setType(FlowType type)
Sets the type of the flow 
 | 
java.util.Properties | 
toProperties()
Creates a properties object representing the flow 
 | 
public void setEntityName(java.lang.String entityName)
LegacyFlowsetEntityName in interface LegacyFlowentityName - the string name of the entity to use in the flowpublic java.lang.String getEntityName()
LegacyFlowgetEntityName in interface LegacyFlowpublic void setName(java.lang.String name)
LegacyFlowsetName in interface LegacyFlowname - - string representing the name of the flowpublic java.lang.String getName()
LegacyFlowgetName in interface LegacyFlowpublic void setMappingName(java.lang.String mappingName)
LegacyFlowsetMappingName in interface LegacyFlowmappingName - - string representing the mapping name for the flowpublic java.lang.String getMappingName()
LegacyFlowgetMappingName in interface LegacyFlowpublic void setType(FlowType type)
LegacyFlowsetType in interface LegacyFlowtype - - FlowType enum for harmonize or inputpublic FlowType getType()
LegacyFlowgetType in interface LegacyFlowpublic void setDataFormat(DataFormat dataFormat)
LegacyFlowsetDataFormat in interface LegacyFlowdataFormat - - DataFormat enum of json or xmlpublic DataFormat getDataFormat()
LegacyFlowgetDataFormat in interface LegacyFlowpublic void setCodeFormat(CodeFormat codeFormat)
LegacyFlowsetCodeFormat in interface LegacyFlowcodeFormat - enum of sjs or xqypublic CodeFormat getCodeFormat()
LegacyFlowgetCodeFormat in interface LegacyFlowpublic LegacyCollector getCollector()
LegacyFlowgetCollector in interface LegacyFlowpublic void setCollector(LegacyCollector collector)
LegacyFlowsetCollector in interface LegacyFlowcollector - the legacyCollector to be used for the flowpublic MainPlugin getMain()
LegacyFlowgetMain in interface LegacyFlowpublic void setMain(MainPlugin main)
LegacyFlowsetMain in interface LegacyFlowmain - - a MainPlugin object that defines the main plugin to be usedpublic java.lang.String serialize()
LegacyFlowserialize in interface LegacyFlowpublic java.util.Properties toProperties()
LegacyFlowtoProperties in interface LegacyFlowpublic static LegacyFlow loadFromFile(java.io.File file)
public static LegacyFlow fromXml(org.w3c.dom.Node xml)
public java.lang.String getFlowDbPath()
LegacyFlowgetFlowDbPath in interface LegacyFlow