All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.motown.ocpp.v15.soap.centralsystem.schema.MeterValuesRequest Maven / Gradle / Ivy

Go to download

Open Charge Point Protocol (OCPP). Provides a web service endpoint based on OCPP 1.5.

The newest version!

package io.motown.ocpp.v15.soap.centralsystem.schema;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * Defines the MeterValues.req PDU
 * 
 * 

Java class for MeterValuesRequest complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="MeterValuesRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="connectorId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="values" type="{urn://Ocpp/Cs/2012/06/}MeterValue" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MeterValuesRequest", propOrder = { "connectorId", "transactionId", "values" }) public class MeterValuesRequest { protected int connectorId; protected Integer transactionId; protected List values; /** * Gets the value of the connectorId property. * */ public int getConnectorId() { return connectorId; } /** * Sets the value of the connectorId property. * */ public void setConnectorId(int value) { this.connectorId = value; } /** * Gets the value of the transactionId property. * * @return * possible object is * {@link Integer } * */ public Integer getTransactionId() { return transactionId; } /** * Sets the value of the transactionId property. * * @param value * allowed object is * {@link Integer } * */ public void setTransactionId(Integer value) { this.transactionId = value; } /** * Gets the value of the values property. * *

* 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 set method for the values property. * *

* For example, to add a new item, do as follows: *

     *    getValues().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link MeterValue } * * */ public List getValues() { if (values == null) { values = new ArrayList(); } return this.values; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy