Package com.easydesk.enums
Enum Class TimeScopeEnum
- All Implemented Interfaces:
Entitiable<Integer,,TimeScope> Serializable,Comparable<TimeScopeEnum>,Constable
작업의 시간 범위(예: request, session, 주기적 실행 간격)를 id 로 정의한 enum.
- Author:
- Youngho Cho
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionfrequencyper applicationAUTO_DAILY 시간 범위 (TimeScope id: 8)DAILY 시간 범위 (TimeScope id: 16)EVERY_FIVE_MINUTE 시간 범위 (TimeScope id: 10)EVERY_HALF_HOUR 시간 범위 (TimeScope id: 19)EVERY_MINUTE 시간 범위 (TimeScope id: 11)EVERY_TEN_MINUTE 시간 범위 (TimeScope id: 9)HOURLY 시간 범위 (TimeScope id: 18)don't mind close or not, only one transaction objectones generate from system?종료가 되지 않는 한 유지 : 예 reportingItem 등 : report 가 중간에 멈추고 있다가, 나중에 계속 할 수 있다.MONTHLY 시간 범위 (TimeScope id: 14)시작과 종료가 정의된다.per request : 예 : 간단 검색per session :THREE_MONTHLY 시간 범위 (TimeScope id: 12)TWICE_DAILY 시간 범위 (TimeScope id: 17)WEEKLY 시간 범위 (TimeScope id: 15)YEARLY 시간 범위 (TimeScope id: 13) -
Method Summary
Modifier and TypeMethodDescriptiongetId()DOCUMENT ME!enum 에 해당하는 entity 를 저장소에서 구한다.getName()DOCUMENT ME!static Optional<TimeScopeEnum> valueOf(int value) id 에 해당하는 enum 을 구한다.static TimeScopeEnumReturns the enum constant of this class with the specified name.static TimeScopeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.easydesk.enums.Entitiable
represent
-
Enum Constant Details
-
INSTANT
ones generate from system? -
REQUEST
per request : 예 : 간단 검색 -
SESSION
per session : -
APPLICATION
per application -
INFINITE
don't mind close or not, only one transaction object -
PERIOD
시작과 종료가 정의된다. 예 : 시험 시간등, 일정 -
KEEP_REQUEST
종료가 되지 않는 한 유지 : 예 reportingItem 등 : report 가 중간에 멈추고 있다가, 나중에 계속 할 수 있다. 입력이 종료되어야 종료 된다. -
ALL_DAY
frequency -
AUTO_DAILY
AUTO_DAILY 시간 범위 (TimeScope id: 8) -
EVERY_TEN_MINUTE
EVERY_TEN_MINUTE 시간 범위 (TimeScope id: 9) -
EVERY_FIVE_MINUTE
EVERY_FIVE_MINUTE 시간 범위 (TimeScope id: 10) -
EVERY_MINUTE
EVERY_MINUTE 시간 범위 (TimeScope id: 11) -
THREE_MONTHLY
THREE_MONTHLY 시간 범위 (TimeScope id: 12) -
YEARLY
YEARLY 시간 범위 (TimeScope id: 13) -
MONTHLY
MONTHLY 시간 범위 (TimeScope id: 14) -
WEEKLY
WEEKLY 시간 범위 (TimeScope id: 15) -
DAILY
DAILY 시간 범위 (TimeScope id: 16) -
TWICE_DAILY
TWICE_DAILY 시간 범위 (TimeScope id: 17) -
HOURLY
HOURLY 시간 범위 (TimeScope id: 18) -
EVERY_HALF_HOUR
EVERY_HALF_HOUR 시간 범위 (TimeScope id: 19)
-
-
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
-
getName
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getId
DOCUMENT ME!- Specified by:
getIdin interfaceEntitiable<Integer,TimeScope> - Returns:
- DOCUMENT ME!
-
valueOf
id 에 해당하는 enum 을 구한다.- Parameters:
value- TimeScope id- Returns:
- id 에 해당하는 enum, 없으면 빈 Optional
-
getInstance
Description copied from interface:Entitiableenum 에 해당하는 entity 를 저장소에서 구한다.- Specified by:
getInstancein interfaceEntitiable<Integer,TimeScope> - Returns:
- enum 에 해당하는 om object
-