xsd.etso_code_lists.UnitSymbol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of open-rao-refprog-xml-importer Show documentation
Show all versions of open-rao-refprog-xml-importer Show documentation
Module that contains RefProg file importer
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.08.30 at 01:38:25 PM UTC
//
package xsd.etso_code_lists;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for UnitSymbol.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="UnitSymbol">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="AMP"/>
* <enumeration value="C62"/>
* <enumeration value="DD"/>
* <enumeration value="HTZ"/>
* <enumeration value="KVT"/>
* <enumeration value="MAR"/>
* <enumeration value="MAW"/>
* <enumeration value="MVA"/>
* <enumeration value="OHM"/>
* <enumeration value="P1"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "UnitSymbol", namespace = "etso-code-lists.xsd")
@XmlEnum
public enum UnitSymbol {
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>Ampere</Title><Definition>The unit of electrical current in the International system of Units (SI) equivalent to one Coulomb per second.</Definition></CodeDescription>
*
*
*
*/
AMP("AMP"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>One</Title><Definition>A unit for dimensionless quantities, also called quantities of dimension one.</Definition></CodeDescription>
*
*
*
*/
@XmlEnumValue("C62")
C_62("C62"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>degree (unit of angle)</Title><Definition>A unit of measurement of angles expressed in a 0 to 360 degree gradient.</Definition></CodeDescription>
*
*
*
*/
DD("DD"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>Hertz</Title><Definition>HTZ unit as per UN/CEFACT recommendation 20</Definition></CodeDescription>
*
*
*
*/
HTZ("HTZ"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>kV</Title><Definition>The symbol of kV</Definition></CodeDescription>
*
*
*
*/
KVT("KVT"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>MVAr</Title><Definition>The symbol of MVAr</Definition></CodeDescription>
*
*
*
*/
MAR("MAR"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>MW</Title><Definition>The symbol of MW</Definition></CodeDescription>
*
*
*
*/
MAW("MAW"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>megavolt-ampere</Title><Definition>MVA unit as per UN/CEFACT recommendation 20</Definition></CodeDescription>
*
*
*
*/
MVA("MVA"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>Ohm</Title><Definition>The symbol of Ohm Unit</Definition></CodeDescription>
*
*
*
*/
OHM("OHM"),
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><CodeDescription xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Title>Percent</Title><Definition>A unit of proportion equal to 0.01.</Definition></CodeDescription>
*
*
*
*/
@XmlEnumValue("P1")
P_1("P1");
private final String value;
UnitSymbol(String v) {
value = v;
}
public String value() {
return value;
}
public static UnitSymbol fromValue(String v) {
for (UnitSymbol c: UnitSymbol.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}