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.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Defines the SendLocalList.req PDU * * <p>Java class for SendLocalListRequest complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="SendLocalListRequest"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="updateType" type="{urn://Ocpp/Cp/2012/06/}UpdateType"/> * <element name="listVersion" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="localAuthorisationList" type="{urn://Ocpp/Cp/2012/06/}AuthorisationData" maxOccurs="unbounded" minOccurs="0"/> * <element name="hash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SendLocalListRequest", propOrder = { "updateType", "listVersion", "localAuthorisationList", "hash" }) @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 SendLocalListRequest { @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 UpdateType updateType; @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") protected int listVersion; @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<AuthorisationData> localAuthorisationList; @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 hash; /** * Gets the value of the updateType property. * * @return * possible object is * {@link UpdateType } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:14:37+12:00", comments = "JAXB RI v2.2.4-2") public UpdateType getUpdateType() { return updateType; } /** * Sets the value of the updateType property. * * @param value * allowed object is * {@link UpdateType } * */ @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 setUpdateType(UpdateType value) { this.updateType = value; } /** * Gets the value of the listVersion 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 int getListVersion() { return listVersion; } /** * Sets the value of the listVersion 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 setListVersion(int value) { this.listVersion = value; } /** * Gets the value of the localAuthorisationList 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 localAuthorisationList property. * * <p> * For example, to add a new item, do as follows: * <pre> * getLocalAuthorisationList().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link AuthorisationData } * * */ @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<AuthorisationData> getLocalAuthorisationList() { if (localAuthorisationList == null) { localAuthorisationList = new ArrayList<AuthorisationData>(); } return this.localAuthorisationList; } /** * Gets the value of the hash 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 getHash() { return hash; } /** * Sets the value of the hash 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 setHash(String value) { this.hash = value; } }