Class MatchersPrimaryKeyType

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

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

    • expression

      protected String expression
    • keyIdentifier

      protected MatcherRule keyIdentifier
  • Constructor Details

    • MatchersPrimaryKeyType

      public MatchersPrimaryKeyType()
  • Method Details

    • getExpression

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

      public void setExpression(String value)
      This table matcher applies to all unqualified or qualified primary key names matched by this expression. If left empty, this matcher applies to all primary 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 MatchersPrimaryKeyType withExpression(String value)
      This table matcher applies to all unqualified or qualified primary key names matched by this expression. If left empty, this matcher applies to all primary keys.
    • withKeyIdentifier

      public MatchersPrimaryKeyType 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