Enum Class TimeScopeEnum

java.lang.Object
java.lang.Enum<TimeScopeEnum>
com.easydesk.enums.TimeScopeEnum
All Implemented Interfaces:
Entitiable<Integer,TimeScope>, Serializable, Comparable<TimeScopeEnum>, Constable

public enum TimeScopeEnum extends Enum<TimeScopeEnum> implements Entitiable<Integer,TimeScope>
작업의 시간 범위(예: request, session, 주기적 실행 간격)를 id 로 정의한 enum.
Author:
Youngho Cho
  • Enum Constant Details

    • INSTANT

      public static final TimeScopeEnum INSTANT
      ones generate from system?
    • REQUEST

      public static final TimeScopeEnum REQUEST
      per request : 예 : 간단 검색
    • SESSION

      public static final TimeScopeEnum SESSION
      per session :
    • APPLICATION

      public static final TimeScopeEnum APPLICATION
      per application
    • INFINITE

      public static final TimeScopeEnum INFINITE
      don't mind close or not, only one transaction object
    • PERIOD

      public static final TimeScopeEnum PERIOD
      시작과 종료가 정의된다. 예 : 시험 시간등, 일정
    • KEEP_REQUEST

      public static final TimeScopeEnum KEEP_REQUEST
      종료가 되지 않는 한 유지 : 예 reportingItem 등 : report 가 중간에 멈추고 있다가, 나중에 계속 할 수 있다. 입력이 종료되어야 종료 된다.
    • ALL_DAY

      public static final TimeScopeEnum ALL_DAY
      frequency
    • AUTO_DAILY

      public static final TimeScopeEnum AUTO_DAILY
      AUTO_DAILY 시간 범위 (TimeScope id: 8)
    • EVERY_TEN_MINUTE

      public static final TimeScopeEnum EVERY_TEN_MINUTE
      EVERY_TEN_MINUTE 시간 범위 (TimeScope id: 9)
    • EVERY_FIVE_MINUTE

      public static final TimeScopeEnum EVERY_FIVE_MINUTE
      EVERY_FIVE_MINUTE 시간 범위 (TimeScope id: 10)
    • EVERY_MINUTE

      public static final TimeScopeEnum EVERY_MINUTE
      EVERY_MINUTE 시간 범위 (TimeScope id: 11)
    • THREE_MONTHLY

      public static final TimeScopeEnum THREE_MONTHLY
      THREE_MONTHLY 시간 범위 (TimeScope id: 12)
    • YEARLY

      public static final TimeScopeEnum YEARLY
      YEARLY 시간 범위 (TimeScope id: 13)
    • MONTHLY

      public static final TimeScopeEnum MONTHLY
      MONTHLY 시간 범위 (TimeScope id: 14)
    • WEEKLY

      public static final TimeScopeEnum WEEKLY
      WEEKLY 시간 범위 (TimeScope id: 15)
    • DAILY

      public static final TimeScopeEnum DAILY
      DAILY 시간 범위 (TimeScope id: 16)
    • TWICE_DAILY

      public static final TimeScopeEnum TWICE_DAILY
      TWICE_DAILY 시간 범위 (TimeScope id: 17)
    • HOURLY

      public static final TimeScopeEnum HOURLY
      HOURLY 시간 범위 (TimeScope id: 18)
    • EVERY_HALF_HOUR

      public static final TimeScopeEnum EVERY_HALF_HOUR
      EVERY_HALF_HOUR 시간 범위 (TimeScope id: 19)
  • Method Details

    • values

      public static TimeScopeEnum[] 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 TimeScopeEnum 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
    • getName

      public String getName()
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
    • getId

      public Integer getId()
      DOCUMENT ME!
      Specified by:
      getId in interface Entitiable<Integer,TimeScope>
      Returns:
      DOCUMENT ME!
    • valueOf

      public static Optional<TimeScopeEnum> valueOf(int value)
      id 에 해당하는 enum 을 구한다.
      Parameters:
      value - TimeScope id
      Returns:
      id 에 해당하는 enum, 없으면 빈 Optional
    • getInstance

      public TimeScope getInstance()
      Description copied from interface: Entitiable
      enum 에 해당하는 entity 를 저장소에서 구한다.
      Specified by:
      getInstance in interface Entitiable<Integer,TimeScope>
      Returns:
      enum 에 해당하는 om object