package ocpp.v15.cp; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * Defines the GetConfiguration.req PDU * * <p>Java class for GetConfigurationResponse complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="GetConfigurationResponse"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="configurationKey" type="{urn://Ocpp/Cp/2012/06/}KeyValue" maxOccurs="unbounded" minOccurs="0"/> * <element name="unknownKey" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GetConfigurationResponse", propOrder = { "configurationKey", "unknownKey" }) @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 GetConfigurationResponse { @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected List<KeyValue> configurationKey; @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected List<String> unknownKey; /** * Gets the value of the configurationKey property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the configurationKey property. * * <p> * For example, to add a new item, do as follows: * <pre> * getConfigurationKey().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link KeyValue } * * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public List<KeyValue> getConfigurationKey() { if (configurationKey == null) { configurationKey = new ArrayList<KeyValue>(); } return this.configurationKey; } /** * Gets the value of the unknownKey property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the unknownKey property. * * <p> * For example, to add a new item, do as follows: * <pre> * getUnknownKey().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@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 List<String> getUnknownKey() { if (unknownKey == null) { unknownKey = new ArrayList<String>(); } return this.unknownKey; } }