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 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.
    • 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.
    • 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