Package com.easydesk.enums
Enum Class LifeCycleEnum
- All Implemented Interfaces:
Entitiable<Integer,,AttributeOption> Serializable,Comparable<LifeCycleEnum>,Constable
public enum LifeCycleEnum
extends Enum<LifeCycleEnum>
implements Entitiable<Integer,AttributeOption>
아이템의 LifeCycle 상태를 나타내는 AttributeOption 을 정의한 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 Constants -
Method Summary
Modifier and TypeMethodDescriptiongetId()attributeOptionIdenum 에 해당하는 entity 를 저장소에서 구한다.static Set<LifeCycleEnum> item 의 속성값이 변경되려면 승인을 받아야 하는 상태static LifeCycleEnumReturns the enum constant of this class with the specified name.static LifeCycleEnum[]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
-
Entered
입력된 상태 (AttributeOption id: 220) -
Checked
확인(Check)된 상태 (AttributeOption id: 221) -
Confirmed
Checker 와 승인자가 다를 수 있음으로 구분 처리한다. -
Locked
Locked 에서는 Checked/Deleted 로 만 갈 수 있다. (AttributeOption id: 223) -
Deleted
Deleted 에서는 특별한 경우에 한하여 Locked 로 만 갈 수 있다. (AttributeOption id: 224)
-
-
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
-
getId
attributeOptionId- Specified by:
getIdin interfaceEntitiable<Integer,AttributeOption> - Returns:
- attributeOptionId
-
getInstance
Description copied from interface:Entitiableenum 에 해당하는 entity 를 저장소에서 구한다.- Specified by:
getInstancein interfaceEntitiable<Integer,AttributeOption> - Returns:
- enum 에 해당하는 om object
-
getNeedApprovals
item 의 속성값이 변경되려면 승인을 받아야 하는 상태- Returns:
- Confirmed, Locked, Deleted 상태의 Set
-