Class Target

    • Field Detail

      • packageName

        protected String packageName
      • directory

        protected String directory
      • encoding

        protected String encoding
      • locale

        protected String locale
    • Constructor Detail

      • Target

        public Target()
    • 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 is Boolean
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object