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

com.hubject.datex.energyinfrastructure.generated.facilities.EnergySourceEnum2 Maven / Gradle / Ivy

Go to download

Use converters from com.hubject.datex.convert.converters package to convert from the OICP formats to DATEX II TablePublication and StatusPublication.

There is a newer version: 1.0.2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.10.06 at 11:44:34 AM CEST 
//


package com.hubject.datex.energyinfrastructure.generated.facilities;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for EnergySourceEnum. * *

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

*

 * <simpleType name="EnergySourceEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="all"/>
 *     <enumeration value="battery"/>
 *     <enumeration value="biodiesel"/>
 *     <enumeration value="diesel"/>
 *     <enumeration value="dieselBatteryHybrid"/>
 *     <enumeration value="ethanol"/>
 *     <enumeration value="hydrogen"/>
 *     <enumeration value="liquidGas"/>
 *     <enumeration value="lpg"/>
 *     <enumeration value="methane"/>
 *     <enumeration value="petrol"/>
 *     <enumeration value="petrol95Octane"/>
 *     <enumeration value="petrol98Octane"/>
 *     <enumeration value="petrolBatteryHybrid"/>
 *     <enumeration value="petrolLeaded"/>
 *     <enumeration value="petrolUnleaded"/>
 *     <enumeration value="unknown"/>
 *     <enumeration value="other"/>
 *     <enumeration value="_extended"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "EnergySourceEnum") @XmlEnum public enum EnergySourceEnum2 { @XmlEnumValue("all") ALL("all"), @XmlEnumValue("battery") BATTERY("battery"), @XmlEnumValue("biodiesel") BIODIESEL("biodiesel"), @XmlEnumValue("diesel") DIESEL("diesel"), @XmlEnumValue("dieselBatteryHybrid") DIESEL_BATTERY_HYBRID("dieselBatteryHybrid"), @XmlEnumValue("ethanol") ETHANOL("ethanol"), @XmlEnumValue("hydrogen") HYDROGEN("hydrogen"), @XmlEnumValue("liquidGas") LIQUID_GAS("liquidGas"), @XmlEnumValue("lpg") LPG("lpg"), @XmlEnumValue("methane") METHANE("methane"), @XmlEnumValue("petrol") PETROL("petrol"), @XmlEnumValue("petrol95Octane") PETROL_95_OCTANE("petrol95Octane"), @XmlEnumValue("petrol98Octane") PETROL_98_OCTANE("petrol98Octane"), @XmlEnumValue("petrolBatteryHybrid") PETROL_BATTERY_HYBRID("petrolBatteryHybrid"), @XmlEnumValue("petrolLeaded") PETROL_LEADED("petrolLeaded"), @XmlEnumValue("petrolUnleaded") PETROL_UNLEADED("petrolUnleaded"), @XmlEnumValue("unknown") UNKNOWN("unknown"), @XmlEnumValue("other") OTHER("other"), @XmlEnumValue("_extended") EXTENDED("_extended"); private final String value; EnergySourceEnum2(String v) { value = v; } public String value() { return value; } public static EnergySourceEnum2 fromValue(String v) { for (EnergySourceEnum2 c: EnergySourceEnum2 .values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy