public class DataObjectDefinitionFileActions
extends java.lang.Object
Constructor and Description |
---|
DataObjectDefinitionFileActions() |
Modifier and Type | Method and Description |
---|---|
static void |
generateExportChildrenToFile(java.lang.String name,
SourceGenerator sg,
Module module,
LinkedFromChildren linkedfromchildren)
generates the export children to file action code
|
static void |
generateFlatFileLoaderToFile(java.lang.String name,
SourceGenerator sg,
Module module)
generates the code for the flat file loader action
|
static void |
generateFlatFileSampleToFile(java.lang.String name,
SourceGenerator sg,
Module module)
generates the code for the action that generates a flat file sample for
import in CSV
|
static void |
generateLoadChildrenToFile(java.lang.String name,
SourceGenerator sg,
Module module,
LinkedFromChildren linkedfromchildren)
generates the load children to file action code
|
public static void generateExportChildrenToFile(java.lang.String name, SourceGenerator sg, Module module, LinkedFromChildren linkedfromchildren) throws java.io.IOException
name
- data object namesg
- source generatormodule
- parent modulelinkedfromchildren
- linked from children property relevant for children
exportjava.io.IOException
- if anything bad happens during code generationpublic static void generateLoadChildrenToFile(java.lang.String name, SourceGenerator sg, Module module, LinkedFromChildren linkedfromchildren) throws java.io.IOException
name
- data object namesg
- source generatormodule
- parent modulelinkedfromchildren
- linked from children property relevant for children
exportjava.io.IOException
- if anything bad happens during code generationpublic static void generateFlatFileSampleToFile(java.lang.String name, SourceGenerator sg, Module module) throws java.io.IOException
name
- data object namesg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens during code generationpublic static void generateFlatFileLoaderToFile(java.lang.String name, SourceGenerator sg, Module module) throws java.io.IOException
name
- data object namesg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens during code generation