org.jooq.util.jaxb.Property 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: 2015.09.29 at 01:59:29 PM CEST
//
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 Property complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Property">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Property", propOrder = {
})
@SuppressWarnings({
"all"
})
public class Property implements Serializable
{
private final static long serialVersionUID = 360L;
@XmlElement(required = true)
@XmlJavaTypeAdapter(TrimAdapter.class)
protected String key;
@XmlElement(required = true)
@XmlJavaTypeAdapter(TrimAdapter.class)
protected String value;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
public Property withKey(String value) {
setKey(value);
return this;
}
public Property withValue(String value) {
setValue(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy