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

uk.org.siri.siri21.CountedFeatureUnitEnumeration Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:41 PM UTC 
//


package uk.org.siri.siri21;

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


/**
 * 

Java class for CountedFeatureUnitEnumeration. * *

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

 * <simpleType name="CountedFeatureUnitEnumeration">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     <enumeration value="bays"/>
 *     <enumeration value="seats"/>
 *     <enumeration value="otherSpaces"/>
 *     <enumeration value="devices"/>
 *     <enumeration value="vehicles"/>
 *     <enumeration value="persons"/>
 *     <enumeration value="litres"/>
 *     <enumeration value="squareMeters"/>
 *     <enumeration value="cubicMeters"/>
 *     <enumeration value="meters"/>
 *     <enumeration value="kWh"/>
 *     <enumeration value="mAh"/>
 *     <enumeration value="kW"/>
 *     <enumeration value="kg"/>
 *     <enumeration value="A"/>
 *     <enumeration value="C"/>
 *     <enumeration value="other"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "CountedFeatureUnitEnumeration") @XmlEnum public enum CountedFeatureUnitEnumeration { @XmlEnumValue("bays") BAYS("bays"), @XmlEnumValue("seats") SEATS("seats"), @XmlEnumValue("otherSpaces") OTHER_SPACES("otherSpaces"), @XmlEnumValue("devices") DEVICES("devices"), @XmlEnumValue("vehicles") VEHICLES("vehicles"), @XmlEnumValue("persons") PERSONS("persons"), @XmlEnumValue("litres") LITRES("litres"), @XmlEnumValue("squareMeters") SQUARE_METERS("squareMeters"), @XmlEnumValue("cubicMeters") CUBIC_METERS("cubicMeters"), @XmlEnumValue("meters") METERS("meters"), @XmlEnumValue("kWh") K_WH("kWh"), @XmlEnumValue("mAh") M_AH("mAh"), @XmlEnumValue("kW") K_W("kW"), @XmlEnumValue("kg") KG("kg"), A("A"), C("C"), @XmlEnumValue("other") OTHER("other"); private final String value; CountedFeatureUnitEnumeration(String v) { value = v; } public String value() { return value; } public static CountedFeatureUnitEnumeration fromValue(String v) { for (CountedFeatureUnitEnumeration c: CountedFeatureUnitEnumeration.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy