com.hashmapinc.tempus.WitsmlObjects.v20.NormalizedPowerUom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WitsmlObjects Show documentation
Show all versions of WitsmlObjects Show documentation
This library assists in serializing and deserializing WITSML 1.3.1.1 and 1.4.1.1 Objects
package com.hashmapinc.tempus.WitsmlObjects.v20;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for NormalizedPowerUom.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
*
*
*
*
*
*
*
*
*
*
*/
@XmlType(name = "NormalizedPowerUom")
@XmlEnum
public enum NormalizedPowerUom {
/**
* bel watt
*
*/
@XmlEnumValue("B.W")
B_W("B.W"),
/**
* decibel milliwatt
*
*/
@XmlEnumValue("dB.mW")
D_B_M_W("dB.mW"),
/**
* decibel megawatt
*
*/
@XmlEnumValue("dB.MW")
D_B_MW("dB.MW"),
/**
* decibel watt
*
*/
@XmlEnumValue("dB.W")
D_B_W("dB.W");
private final String value;
NormalizedPowerUom(String v) {
value = v;
}
public String value() {
return value;
}
public static NormalizedPowerUom fromValue(String v) {
for (NormalizedPowerUom c: NormalizedPowerUom.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy