Enum Class VersionControlType
- すべての実装されたインタフェース:
Serializable
,Comparable<VersionControlType>
,Constable
Entityのバージョン管理の方式。
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数列挙型定数説明バージョン管理に関しなにもしない(デフォルト)有効期間を持ち、時間ベースでデータを管理する。stateプロパティが有効となっているバージョンを有効とみなす。有効期間を持ち、時間ベースでデータを管理する複数バージョンの保持を可能にする(1つのバージョンのみ有効化可能) -
メソッドの概要
修飾子とタイプメソッド説明static VersionControlType
Returns the enum constant of this class with the specified name.static VersionControlType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
列挙型定数の詳細
-
NONE
バージョン管理に関しなにもしない(デフォルト) -
VERSIONED
複数バージョンの保持を可能にする(1つのバージョンのみ有効化可能) -
TIMEBASE
有効期間を持ち、時間ベースでデータを管理する -
SIMPLE_TIMEBASE
有効期間を持ち、時間ベースでデータを管理する。加えて異なるバージョンにおいて、有効期間の重複はない前提 -
STATEBASE
stateプロパティが有効となっているバージョンを有効とみなす。stateが有効なバージョンは最大でも1つである前提
-
-
メソッドの詳細
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 戻り値:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 引数がnullの場合
-