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

com.hubject.datex.energyinfrastructure.generated.common_extension.PowerUnitOfMeasureEnum2 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.common_extension;

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


/**
 * 

Java class for PowerUnitOfMeasureEnum. * *

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

*

 * <simpleType name="PowerUnitOfMeasureEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="kilowatt"/>
 *     <enumeration value="horsepower"/>
 *     <enumeration value="_extended"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "PowerUnitOfMeasureEnum") @XmlEnum public enum PowerUnitOfMeasureEnum2 { @XmlEnumValue("kilowatt") KILOWATT("kilowatt"), @XmlEnumValue("horsepower") HORSEPOWER("horsepower"), @XmlEnumValue("_extended") EXTENDED("_extended"); private final String value; PowerUnitOfMeasureEnum2(String v) { value = v; } public String value() { return value; } public static PowerUnitOfMeasureEnum2 fromValue(String v) { for (PowerUnitOfMeasureEnum2 c: PowerUnitOfMeasureEnum2 .values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy