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.StringAdapter; /** * <p>Java-Klasse für Property complex type. * * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Property", propOrder = { }) @SuppressWarnings({ "all" }) public class Property implements Serializable { private final static long serialVersionUID = 31000L; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String key; @XmlElement(required = true) @XmlJavaTypeAdapter(StringAdapter.class) protected String value; /** * Ruft den Wert der key-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getKey() { return key; } /** * Legt den Wert der key-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setKey(String value) { this.key = value; } /** * Ruft den Wert der value-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Legt den Wert der value-Eigenschaft fest. * * @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; } }