Package bbd.jportal2
Class BaseGenerator
- java.lang.Object
-
- bbd.jportal2.BaseGenerator
-
- Direct Known Subclasses:
CliCCode,CliCCode2,CSNetCode,Db2DDL,FreeMarker,IdlCode,JavaJCCode,MSSqlCCode,MSSqlDDL,OracleDDL,PostgresDDL,PythonCliCode,PythonTreeCode,YamlOutput
public class BaseGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description BaseGenerator(Class inheritedGeneratorClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFileToOutputtedFilesList(String fileType, String generatedFile)protected voidaddFileToOutputtedFilesList(String fileType, Path generatedFile)Vector<Flag>getFlags()GeneratedFilesgetGeneratedOutputFiles()protected PrintWriteropenOutputFileForGeneration(String fileType, String fileName)protected PrintWriteropenOutputFileForGeneration(String fileType, Path fileName)BooleantoBoolean(Object value)
-
-
-
Constructor Detail
-
BaseGenerator
public BaseGenerator(Class inheritedGeneratorClass)
-
-
Method Detail
-
getGeneratedOutputFiles
public GeneratedFiles getGeneratedOutputFiles()
-
addFileToOutputtedFilesList
protected void addFileToOutputtedFilesList(String fileType, Path generatedFile)
-
addFileToOutputtedFilesList
protected void addFileToOutputtedFilesList(String fileType, String generatedFile)
-
openOutputFileForGeneration
protected PrintWriter openOutputFileForGeneration(String fileType, Path fileName) throws FileNotFoundException
- Throws:
FileNotFoundException
-
openOutputFileForGeneration
protected PrintWriter openOutputFileForGeneration(String fileType, String fileName) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-