- java.lang.Object
-
- org.jooq.meta.jaxb.Target
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class Target extends Object implements Serializable, XMLAppendable
Options to define where the generated code should be located.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Target()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetDirectory()The destination directory of your generated classesStringgetEncoding()The file encoding to be used with all output files.StringgetLocale()The locale to be used with all locale specific operations.StringgetPackageName()The destination package of your generated classes (within the destination directory)inthashCode()BooleanisClean()Whether the target package should be cleaned to contain only generated code after a generation run.voidsetClean(Boolean value)Sets the value of the clean property.voidsetDirectory(String value)The destination directory of your generated classesvoidsetEncoding(String value)The file encoding to be used with all output files.voidsetLocale(String value)The locale to be used with all locale specific operations.voidsetPackageName(String value)The destination package of your generated classes (within the destination directory)StringtoString()TargetwithClean(Boolean value)TargetwithDirectory(String value)The destination directory of your generated classesTargetwithEncoding(String value)The file encoding to be used with all output files.TargetwithLocale(String value)The locale to be used with all locale specific operations.TargetwithPackageName(String value)The destination package of your generated classes (within the destination directory)
-
-
-
Method Detail
-
getPackageName
public String getPackageName()
The destination package of your generated classes (within the destination directory)jOOQ may append the schema name to this package if generating multiple schemas, e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
-
setPackageName
public void setPackageName(String value)
The destination package of your generated classes (within the destination directory)jOOQ may append the schema name to this package if generating multiple schemas, e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
-
getDirectory
public String getDirectory()
The destination directory of your generated classes
-
setDirectory
public void setDirectory(String value)
The destination directory of your generated classes
-
getEncoding
public String getEncoding()
The file encoding to be used with all output files.
-
setEncoding
public void setEncoding(String value)
The file encoding to be used with all output files.
-
getLocale
public String getLocale()
The locale to be used with all locale specific operations.
-
setLocale
public void setLocale(String value)
The locale to be used with all locale specific operations.
-
isClean
public Boolean isClean()
Whether the target package should be cleaned to contain only generated code after a generation run.- Returns:
- possible object is
Boolean
-
setClean
public void setClean(Boolean value)
Sets the value of the clean property.- Parameters:
value- allowed object isBoolean
-
withPackageName
public Target withPackageName(String value)
The destination package of your generated classes (within the destination directory)jOOQ may append the schema name to this package if generating multiple schemas, e.g. org.jooq.generated.schema1, org.jooq.generated.schema2
-
withDirectory
public Target withDirectory(String value)
The destination directory of your generated classes
-
withEncoding
public Target withEncoding(String value)
The file encoding to be used with all output files.
-
withLocale
public Target withLocale(String value)
The locale to be used with all locale specific operations.
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-