Enum Constant and Description |
---|
ELECTRICPOTENTIAL |
FREQUENCY |
LENGTH |
POWER |
PRESSURE |
TEMPERATURE |
TIME |
Modifier and Type | Method and Description |
---|---|
java.lang.Enum |
fromdbvalue(java.lang.String obj)
Perform the reverse lookup from
todbvalue(Object) converting
the DB's enums which contain invalid characters to the upper-cased
CODE-based enums used elsewhere. |
static java.util.Map<java.lang.String,java.lang.Integer> |
listSqlTypes() |
java.lang.String |
todbvalue(java.lang.Object obj)
Map from the CODE-based enums which are used in Java, Ice, etc.
|
static UNITS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UNITS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UNITS ELECTRICPOTENTIAL
public static final UNITS FREQUENCY
public static final UNITS LENGTH
public static final UNITS PRESSURE
public static final UNITS POWER
public static final UNITS TEMPERATURE
public static final UNITS TIME
public static UNITS[] values()
for (UNITS c : UNITS.values()) System.out.println(c);
public static UNITS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Map<java.lang.String,java.lang.Integer> listSqlTypes()
public java.lang.String todbvalue(java.lang.Object obj)
obj
- can't be nullpublic java.lang.Enum fromdbvalue(java.lang.String obj)
todbvalue(Object)
converting
the DB's enums which contain invalid characters to the upper-cased
CODE-based enums used elsewhere.
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.