javax.ejb
列挙型 TransactionAttributeType
java.lang.Object
java.lang.Enum<TransactionAttributeType>
javax.ejb.TransactionAttributeType
- すべての実装されたインタフェース:
- Serializable, Comparable<TransactionAttributeType>
public enum TransactionAttributeType
- extends Enum<TransactionAttributeType>
MANDATORY
public static final TransactionAttributeType MANDATORY
REQUIRED
public static final TransactionAttributeType REQUIRED
REQUIRES_NEW
public static final TransactionAttributeType REQUIRES_NEW
SUPPORTS
public static final TransactionAttributeType SUPPORTS
NOT_SUPPORTED
public static final TransactionAttributeType NOT_SUPPORTED
NEVER
public static final TransactionAttributeType NEVER
values
public static final TransactionAttributeType[] values()
- この列挙型の定数を含む配列を宣言されている順序で返します。
このメソッドは次のようにして定数を反復するために使用できます:
for(TransactionAttributeType c : TransactionAttributeType.values())
System.out.println(c);
- 戻り値:
- この列挙型の定数を宣言されている順序で含む配列
valueOf
public static TransactionAttributeType valueOf(String name)
- 指定した名前を持つこの型の列挙型定数を返します。
文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に
一致している必要があります (余分な空白文字を含めることはできません)。
- パラメータ:
name
- 返される列挙型定数の名前
- 戻り値:
- 指定された名前を持つ列挙型定数
- 例外:
IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.