Class Strategy

java.lang.Object
org.jooq.meta.jaxb.Strategy
All Implemented Interfaces:
Serializable, XMLAppendable

public class Strategy extends Object implements Serializable, XMLAppendable
Definitions of custom naming strategies (declarative or programmatic) to define how generated Java objects should be named.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected Matchers
     
    protected String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    boolean
    equals(Object that)
     
    A self-contained, inline implementation of
    invalid reference
    org.jooq.codegen.GeneratorStrategy
    that will be compiled and class-loaded on the fly by the code generator.
    The matcher strategy configuration used when applying an XML-based strategy.
    The class used to provide a naming strategy for generated source code.
    int
     
    void
    setJava(String value)
    A self-contained, inline implementation of
    invalid reference
    org.jooq.codegen.GeneratorStrategy
    that will be compiled and class-loaded on the fly by the code generator.
    void
    The matcher strategy configuration used when applying an XML-based strategy.
    void
    setName(String value)
    The class used to provide a naming strategy for generated source code.
     
    A self-contained, inline implementation of
    invalid reference
    org.jooq.codegen.GeneratorStrategy
    that will be compiled and class-loaded on the fly by the code generator.
    The matcher strategy configuration used when applying an XML-based strategy.
    The class used to provide a naming strategy for generated source code.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • Strategy

      public Strategy()
  • Method Details

    • getName

      public String getName()
      The class used to provide a naming strategy for generated source code. You may override this with your custom naming strategy. This cannot be combined with a matcher configuration.
    • setName

      public void setName(String value)
      The class used to provide a naming strategy for generated source code. You may override this with your custom naming strategy. This cannot be combined with a matcher configuration.
    • getJava

      public String getJava()
      A self-contained, inline implementation of
      invalid reference
      org.jooq.codegen.GeneratorStrategy
      that will be compiled and class-loaded on the fly by the code generator.
    • setJava

      public void setJava(String value)
      A self-contained, inline implementation of
      invalid reference
      org.jooq.codegen.GeneratorStrategy
      that will be compiled and class-loaded on the fly by the code generator.
    • getMatchers

      public Matchers getMatchers()
      The matcher strategy configuration used when applying an XML-based strategy. This cannot be combined with a named strategy configuration.
    • setMatchers

      public void setMatchers(Matchers value)
      The matcher strategy configuration used when applying an XML-based strategy. This cannot be combined with a named strategy configuration.
    • withName

      public Strategy withName(String value)
      The class used to provide a naming strategy for generated source code. You may override this with your custom naming strategy. This cannot be combined with a matcher configuration.
    • withJava

      public Strategy withJava(String value)
      A self-contained, inline implementation of
      invalid reference
      org.jooq.codegen.GeneratorStrategy
      that will be compiled and class-loaded on the fly by the code generator.
    • withMatchers

      public Strategy withMatchers(Matchers value)
      The matcher strategy configuration used when applying an XML-based strategy. This cannot be combined with a named strategy configuration.
    • appendTo

      public final void appendTo(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object