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

io.motown.ocpp.v15.soap.centralsystem.schema.ReadingContext 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 javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for ReadingContext. * *

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

*

 * <simpleType name="ReadingContext">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Interruption.Begin"/>
 *     <enumeration value="Interruption.End"/>
 *     <enumeration value="Sample.Clock"/>
 *     <enumeration value="Sample.Periodic"/>
 *     <enumeration value="Transaction.Begin"/>
 *     <enumeration value="Transaction.End"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ReadingContext") @XmlEnum public enum ReadingContext { @XmlEnumValue("Interruption.Begin") INTERRUPTION_BEGIN("Interruption.Begin"), @XmlEnumValue("Interruption.End") INTERRUPTION_END("Interruption.End"), @XmlEnumValue("Sample.Clock") SAMPLE_CLOCK("Sample.Clock"), @XmlEnumValue("Sample.Periodic") SAMPLE_PERIODIC("Sample.Periodic"), @XmlEnumValue("Transaction.Begin") TRANSACTION_BEGIN("Transaction.Begin"), @XmlEnumValue("Transaction.End") TRANSACTION_END("Transaction.End"); private final String value; ReadingContext(String v) { value = v; } public String value() { return value; } public static ReadingContext fromValue(String v) { for (ReadingContext c: ReadingContext.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy