Package org.cip4.jdflib.core
Enum JDFElement.eUnit
- java.lang.Object
-
- java.lang.Enum<JDFElement.eUnit>
-
- org.cip4.jdflib.core.JDFElement.eUnit
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JDFElement.eUnit>
- Enclosing class:
- JDFElement
public static enum JDFElement.eUnit extends java.lang.Enum<JDFElement.eUnit>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JDFElement.eUnitgetEnum(java.lang.String name)static JDFElement.eUnitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JDFElement.eUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
count
public static final JDFElement.eUnit count
-
um
public static final JDFElement.eUnit um
-
pt
public static final JDFElement.eUnit pt
-
m
public static final JDFElement.eUnit m
-
m2
public static final JDFElement.eUnit m2
-
m3
public static final JDFElement.eUnit m3
-
l
public static final JDFElement.eUnit l
-
g
public static final JDFElement.eUnit g
-
kWh
public static final JDFElement.eUnit kWh
-
-
Method Detail
-
values
public static JDFElement.eUnit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JDFElement.eUnit c : JDFElement.eUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JDFElement.eUnit valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getEnum
public static JDFElement.eUnit getEnum(java.lang.String name)
-
-