org.seasar.uruma.binding.enables
列挙型 EnablesForType

java.lang.Object
  上位を拡張 java.lang.Enum<EnablesForType>
      上位を拡張 org.seasar.uruma.binding.enables.EnablesForType
すべての実装されたインタフェース:
Serializable, Comparable<EnablesForType>

public enum EnablesForType
extends Enum<EnablesForType>

EnablesDependingDef のための選択状態を表す列挙型です。

作成者:
bskuroneko

列挙型定数の概要
MULTI
          選択が2つ以上の場合にのみ true
NONE
          選択が1つもされていない場合に true
PAIR
          選択が2つの場合にのみ true
SELECTION
          選択が1つでも存在する場合に true
SINGLE
          選択が1つの場合にのみ true
 
メソッドの概要
static EnablesForType valueOf(String name)
          指定した名前を持つこの型の列挙型定数を返します。
static EnablesForType[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

SELECTION

public static final EnablesForType SELECTION
選択が1つでも存在する場合に true


SINGLE

public static final EnablesForType SINGLE
選択が1つの場合にのみ true


PAIR

public static final EnablesForType PAIR
選択が2つの場合にのみ true


NONE

public static final EnablesForType NONE
選択が1つもされていない場合に true


MULTI

public static final EnablesForType MULTI
選択が2つ以上の場合にのみ true

メソッドの詳細

values

public static final EnablesForType[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for(EnablesForType c : EnablesForType.values())
        System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static EnablesForType valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合


Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.