public enum WithOrWithout extends Enum<WithOrWithout> implements EnumListDataIF
修飾子とタイプ | メソッドと説明 |
---|---|
static WithOrWithout |
codeOf(int code)
コードから自身を返却.
|
static WithOrWithout |
codeOf(String code)
コードから自身を返却.
|
String |
getCode()
コード値を返却.
|
String |
getName()
名称を返却.
|
String |
getName(Locale locale)
名称を返却.
|
static WithOrWithout |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static WithOrWithout[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final WithOrWithout YES
public static final WithOrWithout NOTHING
public static WithOrWithout[] values()
for(WithOrWithout c: WithOrWithout.values()) System.out.println(c);
public static WithOrWithout valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public String getCode()
getCode
インタフェース内 EnumListDataIF
public String getName()
ログインユーザのロケールの名称を返却
getName
インタフェース内 EnumListDataIF
public String getName(Locale locale)
getName
インタフェース内 EnumListDataIF
locale
- ロケールpublic static WithOrWithout codeOf(int code)
code
- コード値public static WithOrWithout codeOf(String code)
code
- コード値Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.