Class MatcherRule

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

public class MatcherRule extends Object implements Serializable, XMLAppendable

Java class for MatcherRule complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MatcherRule">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="transform" type="{http://www.jooq.org/xsd/jooq-codegen-3.17.0.xsd}MatcherTransformType" minOccurs="0"/>
         <element name="expression" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • MatcherRule

      public MatcherRule()
  • Method Details

    • getTransform

      public MatcherTransformType getTransform()
      A pre-defined transformation type that transforms this rule's output into a specific format.
    • setTransform

      public void setTransform(MatcherTransformType value)
      A pre-defined transformation type that transforms this rule's output into a specific format.
    • getExpression

      public String getExpression()
      A replacement expression that transforms the matched expression in a new value.
    • setExpression

      public void setExpression(String value)
      A replacement expression that transforms the matched expression in a new value.
    • withTransform

      public MatcherRule withTransform(MatcherTransformType value)
      A pre-defined transformation type that transforms this rule's output into a specific format.
    • withExpression

      public MatcherRule withExpression(String value)
      A replacement expression that transforms the matched expression in a new value.
    • 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