Class MatchersUniqueKeyType

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

public class MatchersUniqueKeyType extends Object implements Serializable, XMLAppendable
Declarative naming strategy configuration for foreign key names.
See Also:
  • Field Details

    • expression

      protected String expression
    • keyIdentifier

      protected MatcherRule keyIdentifier
  • Constructor Details

    • MatchersUniqueKeyType

      public MatchersUniqueKeyType()
  • Method Details

    • getExpression

      public String getExpression()
      This table matcher applies to all unqualified or qualified unique key names matched by this expression. If left empty, this matcher applies to all unique keys.
    • setExpression

      public void setExpression(String value)
      This table matcher applies to all unqualified or qualified unique key names matched by this expression. If left empty, this matcher applies to all unique keys.
    • getKeyIdentifier

      public MatcherRule getKeyIdentifier()
      This rule influences the naming of the generated key literal in the Keys class.
    • setKeyIdentifier

      public void setKeyIdentifier(MatcherRule value)
      This rule influences the naming of the generated key literal in the Keys class.
    • withExpression

      public MatchersUniqueKeyType withExpression(String value)
      This table matcher applies to all unqualified or qualified unique key names matched by this expression. If left empty, this matcher applies to all unique keys.
    • withKeyIdentifier

      public MatchersUniqueKeyType withKeyIdentifier(MatcherRule value)
      This rule influences the naming of the generated key literal in the Keys class.
    • 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