Enum Class VersionControlType

java.lang.Object
java.lang.Enum<VersionControlType>
org.iplass.mtp.entity.definition.VersionControlType
All Implemented Interfaces:
Serializable, Comparable<VersionControlType>, Constable

public enum VersionControlType extends Enum<VersionControlType>
Entityのバージョン管理の方式。
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    バージョン管理に関しなにもしない(デフォルト)
    有効期間を持ち、時間ベースでデータを管理する。加えて異なるバージョンにおいて、有効期間の重複はない前提
    stateプロパティが有効となっているバージョンを有効とみなす。stateが有効なバージョンは最大でも1つである前提
    有効期間を持ち、時間ベースでデータを管理する
    複数バージョンの保持を可能にする(1つのバージョンのみ有効化可能)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final VersionControlType NONE
      バージョン管理に関しなにもしない(デフォルト)
    • VERSIONED

      public static final VersionControlType VERSIONED
      複数バージョンの保持を可能にする(1つのバージョンのみ有効化可能)
    • TIMEBASE

      public static final VersionControlType TIMEBASE
      有効期間を持ち、時間ベースでデータを管理する
    • SIMPLE_TIMEBASE

      public static final VersionControlType SIMPLE_TIMEBASE
      有効期間を持ち、時間ベースでデータを管理する。加えて異なるバージョンにおいて、有効期間の重複はない前提
    • STATEBASE

      public static final VersionControlType STATEBASE
      stateプロパティが有効となっているバージョンを有効とみなす。stateが有効なバージョンは最大でも1つである前提
  • Method Details

    • values

      public static VersionControlType[] 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

      public static VersionControlType valueOf(String name)
      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 name
      NullPointerException - if the argument is null