org.jooq.util.jaxb.MatcherRule Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.11.21 at 05:24:18 PM CET
//
package org.jooq.util.jaxb;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jooq.util.jaxb.tools.TrimAdapter;
/**
* 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.5.0.xsd}MatcherTransformType" minOccurs="0"/>
* <element name="expression" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MatcherRule", propOrder = {
})
@SuppressWarnings({
"all"
})
public class MatcherRule implements Serializable
{
private final static long serialVersionUID = 350L;
protected MatcherTransformType transform;
@XmlElement(required = true)
@XmlJavaTypeAdapter(TrimAdapter.class)
protected String expression;
/**
* Gets the value of the transform property.
*
* @return
* possible object is
* {@link MatcherTransformType }
*
*/
public MatcherTransformType getTransform() {
return transform;
}
/**
* Sets the value of the transform property.
*
* @param value
* allowed object is
* {@link MatcherTransformType }
*
*/
public void setTransform(MatcherTransformType value) {
this.transform = value;
}
/**
* Gets the value of the expression property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExpression() {
return expression;
}
/**
* Sets the value of the expression property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpression(String value) {
this.expression = value;
}
public MatcherRule withTransform(MatcherTransformType value) {
setTransform(value);
return this;
}
public MatcherRule withExpression(String value) {
setExpression(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy