package ocpp.v15.cp; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Key-Value pairs returned by GetConfiguration.conf PDU * * <p>Java class for KeyValue complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="KeyValue"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="readonly" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "KeyValue", propOrder = { "key", "readonly", "value" }) @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public class KeyValue { @XmlElement(required = true) @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected String key; @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected boolean readonly; @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected String value; /** * Gets the value of the key property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public String getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public void setKey(String value) { this.key = value; } /** * Gets the value of the readonly property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public boolean isReadonly() { return readonly; } /** * Sets the value of the readonly property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public void setReadonly(boolean value) { this.readonly = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public void setValue(String value) { this.value = value; } }