Package org.iplass.mtp.entity.definition
Enum Class VersionControlType
- All Implemented Interfaces:
Serializable
,Comparable<VersionControlType>
,Constable
Entityのバージョン管理の方式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionバージョン管理に関しなにもしない(デフォルト)有効期間を持ち、時間ベースでデータを管理する。加えて異なるバージョンにおいて、有効期間の重複はない前提stateプロパティが有効となっているバージョンを有効とみなす。stateが有効なバージョンは最大でも1つである前提有効期間を持ち、時間ベースでデータを管理する複数バージョンの保持を可能にする(1つのバージョンのみ有効化可能) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Enum Constant Details
-
NONE
バージョン管理に関しなにもしない(デフォルト) -
VERSIONED
複数バージョンの保持を可能にする(1つのバージョンのみ有効化可能) -
TIMEBASE
有効期間を持ち、時間ベースでデータを管理する -
SIMPLE_TIMEBASE
有効期間を持ち、時間ベースでデータを管理する。加えて異なるバージョンにおいて、有効期間の重複はない前提 -
STATEBASE
stateプロパティが有効となっているバージョンを有効とみなす。stateが有効なバージョンは最大でも1つである前提
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-