列挙型定数と説明 |
---|
ELECTRICPOTENTIAL |
FREQUENCY |
LENGTH |
POWER |
PRESSURE |
TEMPERATURE |
TIME |
修飾子とタイプ | メソッドと説明 |
---|---|
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)
指定した名前を持つこの型の列挙型定数を返します。
|
static UNITS[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public 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.