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

io.motown.ocpp.v15.soap.centralsystem.schema.StatusNotificationRequest 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.Date;
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.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Defines the StatusNotification.req PDU
 * 
 * 

Java class for StatusNotificationRequest complex type. * *

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

 * <complexType name="StatusNotificationRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="connectorId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="status" type="{urn://Ocpp/Cs/2012/06/}ChargePointStatus"/>
 *         <element name="errorCode" type="{urn://Ocpp/Cs/2012/06/}ChargePointErrorCode"/>
 *         <element name="info" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="vendorId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="vendorErrorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StatusNotificationRequest", propOrder = { "connectorId", "status", "errorCode", "info", "timestamp", "vendorId", "vendorErrorCode" }) public class StatusNotificationRequest { protected int connectorId; @XmlElement(required = true) protected ChargePointStatus status; @XmlElement(required = true) protected ChargePointErrorCode errorCode; protected String info; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date timestamp; protected String vendorId; protected String vendorErrorCode; /** * 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 status property. * * @return * possible object is * {@link ChargePointStatus } * */ public ChargePointStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link ChargePointStatus } * */ public void setStatus(ChargePointStatus value) { this.status = value; } /** * Gets the value of the errorCode property. * * @return * possible object is * {@link ChargePointErrorCode } * */ public ChargePointErrorCode getErrorCode() { return errorCode; } /** * Sets the value of the errorCode property. * * @param value * allowed object is * {@link ChargePointErrorCode } * */ public void setErrorCode(ChargePointErrorCode value) { this.errorCode = value; } /** * Gets the value of the info property. * * @return * possible object is * {@link String } * */ public String getInfo() { return info; } /** * Sets the value of the info property. * * @param value * allowed object is * {@link String } * */ public void setInfo(String value) { this.info = value; } /** * Gets the value of the timestamp property. * * @return * possible object is * {@link String } * */ public Date getTimestamp() { return timestamp; } /** * Sets the value of the timestamp property. * * @param value * allowed object is * {@link String } * */ public void setTimestamp(Date value) { this.timestamp = value; } /** * Gets the value of the vendorId property. * * @return * possible object is * {@link String } * */ public String getVendorId() { return vendorId; } /** * Sets the value of the vendorId property. * * @param value * allowed object is * {@link String } * */ public void setVendorId(String value) { this.vendorId = value; } /** * Gets the value of the vendorErrorCode property. * * @return * possible object is * {@link String } * */ public String getVendorErrorCode() { return vendorErrorCode; } /** * Sets the value of the vendorErrorCode property. * * @param value * allowed object is * {@link String } * */ public void setVendorErrorCode(String value) { this.vendorErrorCode = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy