Package adalid.util.meta.sql
Class TemplateBean
- java.lang.Object
-
- adalid.util.meta.sql.TemplateBean
-
public class TemplateBean extends java.lang.Object- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description TemplateBean(PlatformBean platform, java.io.File propertiesFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBytes()java.lang.StringgetEncoding()java.lang.StringgetExecuteCommand()java.lang.StringgetExecuteDirectory()java.lang.StringgetForEach()intgetLines()java.lang.StringgetPath()PlatformBeangetPlatform()java.io.FilegetPropertiesFile()java.lang.StringgetTargetFile()java.lang.StringgetTargetFileEncoding()java.lang.StringgetTargetPackage()java.lang.StringgetTargetPath()java.lang.StringgetType()booleanisDisabled()booleanisDisabledWhenMissing()booleanisPreserveExistingFile()voidsetBytes(int bytes)voidsetDisabled(boolean disabled)voidsetDisabledWhenMissing(boolean disabledWhenMissing)voidsetEncoding(java.lang.String encoding)voidsetExecuteCommand(java.lang.String executeCommand)voidsetExecuteDirectory(java.lang.String executeDirectory)voidsetForEach(java.lang.String forEach)voidsetLines(int lines)voidsetPath(java.lang.String path)voidsetPreserveExistingFile(boolean preserveExistingFile)voidsetTargetFile(java.lang.String targetFile)voidsetTargetFileEncoding(java.lang.String targetFileEncoding)voidsetTargetPackage(java.lang.String targetPackage)voidsetTargetPath(java.lang.String targetPath)voidsetType(java.lang.String type)
-
-
-
Constructor Detail
-
TemplateBean
public TemplateBean(PlatformBean platform, java.io.File propertiesFile)
-
-
Method Detail
-
getPlatform
public PlatformBean getPlatform()
- Returns:
- the platform
-
getPropertiesFile
public java.io.File getPropertiesFile()
- Returns:
- the properties file
-
getPath
public java.lang.String getPath()
- Returns:
- the path
-
setPath
public void setPath(java.lang.String path)
- Parameters:
path- the path to set
-
getType
public java.lang.String getType()
- Returns:
- the type
-
setType
public void setType(java.lang.String type)
- Parameters:
type- the type to set
-
getEncoding
public java.lang.String getEncoding()
- Returns:
- the encoding
-
setEncoding
public void setEncoding(java.lang.String encoding)
- Parameters:
encoding- the encoding to set
-
getForEach
public java.lang.String getForEach()
- Returns:
- the forEach
-
setForEach
public void setForEach(java.lang.String forEach)
- Parameters:
forEach- the forEach to set
-
getTargetPath
public java.lang.String getTargetPath()
- Returns:
- the targetPath
-
setTargetPath
public void setTargetPath(java.lang.String targetPath)
- Parameters:
targetPath- the targetPath to set
-
getTargetPackage
public java.lang.String getTargetPackage()
- Returns:
- the targetPackage
-
setTargetPackage
public void setTargetPackage(java.lang.String targetPackage)
- Parameters:
targetPackage- the targetPackage to set
-
getTargetFile
public java.lang.String getTargetFile()
- Returns:
- the targetFile
-
setTargetFile
public void setTargetFile(java.lang.String targetFile)
- Parameters:
targetFile- the targetFile to set
-
getTargetFileEncoding
public java.lang.String getTargetFileEncoding()
- Returns:
- the targetFileEncoding
-
setTargetFileEncoding
public void setTargetFileEncoding(java.lang.String targetFileEncoding)
- Parameters:
targetFileEncoding- the targetFileEncoding to set
-
getExecuteCommand
public java.lang.String getExecuteCommand()
- Returns:
- the executeCommand
-
setExecuteCommand
public void setExecuteCommand(java.lang.String executeCommand)
- Parameters:
executeCommand- the executeCommand to set
-
getExecuteDirectory
public java.lang.String getExecuteDirectory()
- Returns:
- the executeDirectory
-
setExecuteDirectory
public void setExecuteDirectory(java.lang.String executeDirectory)
- Parameters:
executeDirectory- the executeDirectory to set
-
isDisabled
public boolean isDisabled()
- Returns:
- the disabled
-
setDisabled
public void setDisabled(boolean disabled)
- Parameters:
disabled- the disabled to set
-
isDisabledWhenMissing
public boolean isDisabledWhenMissing()
- Returns:
- the disabledWhenMissing
-
setDisabledWhenMissing
public void setDisabledWhenMissing(boolean disabledWhenMissing)
- Parameters:
disabledWhenMissing- the disabledWhenMissing to set
-
isPreserveExistingFile
public boolean isPreserveExistingFile()
- Returns:
- the preserveExistingFile
-
setPreserveExistingFile
public void setPreserveExistingFile(boolean preserveExistingFile)
- Parameters:
preserveExistingFile- the preserveExistingFile to set
-
getBytes
public int getBytes()
- Returns:
- the bytes
-
setBytes
public void setBytes(int bytes)
- Parameters:
bytes- the bytes to set
-
getLines
public int getLines()
- Returns:
- the lines
-
setLines
public void setLines(int lines)
- Parameters:
lines- the lines to set
-
-