energyml.common2_1.ElectricChargeUom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of energyml-prodml20 Show documentation
Show all versions of energyml-prodml20 Show documentation
API to interract with energyml (resqml, witml, prodml)
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.13 at 08:02:05 PM UTC
//
package energyml.common2_1;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for ElectricChargeUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="ElectricChargeUom">
* <restriction base="{http://www.energistics.org/energyml/data/commonv2}UomEnum">
* <enumeration value="A.h"/>
* <enumeration value="A.s"/>
* <enumeration value="C"/>
* <enumeration value="cC"/>
* <enumeration value="dC"/>
* <enumeration value="EC"/>
* <enumeration value="fC"/>
* <enumeration value="GC"/>
* <enumeration value="kC"/>
* <enumeration value="MC"/>
* <enumeration value="mC"/>
* <enumeration value="nC"/>
* <enumeration value="pC"/>
* <enumeration value="TC"/>
* <enumeration value="uC"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ElectricChargeUom")
@XmlEnum
public enum ElectricChargeUom {
/**
* ampere hour
*
*/
@XmlEnumValue("A.h")
A_H("A.h"),
/**
* ampere second
*
*/
@XmlEnumValue("A.s")
A_S("A.s"),
/**
* coulomb
*
*/
C("C"),
/**
* centicoulomb
*
*/
@XmlEnumValue("cC")
C_C("cC"),
/**
* decicoulomb
*
*/
@XmlEnumValue("dC")
D_C("dC"),
/**
* exacoulomb
*
*/
EC("EC"),
/**
* femtocoulomb
*
*/
@XmlEnumValue("fC")
F_C("fC"),
/**
* gigacoulomb
*
*/
GC("GC"),
/**
* kilocoulomb
*
*/
@XmlEnumValue("kC")
K_C("kC"),
/**
* megacoulomb
*
*/
MC("MC"),
/**
* millicoulomb
*
*/
@XmlEnumValue("mC")
M_C("mC"),
/**
* nanocoulomb
*
*/
@XmlEnumValue("nC")
N_C("nC"),
/**
* picocoulomb
*
*/
@XmlEnumValue("pC")
P_C("pC"),
/**
* teracoulomb
*
*/
TC("TC"),
/**
* microcoulomb
*
*/
@XmlEnumValue("uC")
U_C("uC");
private final String value;
ElectricChargeUom(String v) {
value = v;
}
public String value() {
return value;
}
public static ElectricChargeUom fromValue(String v) {
for (ElectricChargeUom c: ElectricChargeUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}