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