Package com.easydesk.enums
Enum Class GraphEnum
- All Implemented Interfaces:
Serializable,Comparable<GraphEnum>,Constable
수식 속성의 Graph 가능 여부를 나타내는 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()attributeOptionId이 enum 에 해당하는 AttributeOption 을 구한다.booleanrepresent(AttributeOption attributeOption) 주어진 AttributeOption 이 이 enum 과 같은 id 인지 확인한다.static GraphEnumReturns the enum constant of this class with the specified name.static GraphEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Enable
Graph 가능 (AttributeOption id: 1719) -
Disable
Graph 불가능 (AttributeOption id: 1720)
-
-
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- Returns:
- attributeOptionId
-
represent
주어진 AttributeOption 이 이 enum 과 같은 id 인지 확인한다.- Parameters:
attributeOption- 비교할 AttributeOption- Returns:
- 같은 id 이면
true
-
getInstance
이 enum 에 해당하는 AttributeOption 을 구한다.- Returns:
- AttributeOption
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-