package ocpp.v15.cs; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * Defines the StartTransaction.req PDU * * <p>Java class for StartTransactionRequest complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="StartTransactionRequest"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="connectorId" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="idTag" type="{urn://Ocpp/Cs/2012/06/}IdToken"/> * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * <element name="meterStart" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="reservationId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StartTransactionRequest", propOrder = { "connectorId", "idTag", "timestamp", "meterStart", "reservationId" }) @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public class StartTransactionRequest { @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") protected int connectorId; @XmlElement(required = true) @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") protected String idTag; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") protected XMLGregorianCalendar timestamp; @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") protected int meterStart; @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") protected Integer reservationId; /** * Gets the value of the connectorId property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public int getConnectorId() { return connectorId; } /** * Sets the value of the connectorId property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public void setConnectorId(int value) { this.connectorId = value; } /** * Gets the value of the idTag property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public String getIdTag() { return idTag; } /** * Sets the value of the idTag property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public void setIdTag(String value) { this.idTag = value; } /** * Gets the value of the timestamp property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public XMLGregorianCalendar getTimestamp() { return timestamp; } /** * Sets the value of the timestamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public void setTimestamp(XMLGregorianCalendar value) { this.timestamp = value; } /** * Gets the value of the meterStart property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public int getMeterStart() { return meterStart; } /** * Sets the value of the meterStart property. * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public void setMeterStart(int value) { this.meterStart = value; } /** * Gets the value of the reservationId property. * * @return * possible object is * {@link Integer } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public Integer getReservationId() { return reservationId; } /** * Sets the value of the reservationId property. * * @param value * allowed object is * {@link Integer } * */ @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2") public void setReservationId(Integer value) { this.reservationId = value; } }