Enum Class GraphEnum

java.lang.Object
java.lang.Enum<GraphEnum>
com.easydesk.enums.GraphEnum
All Implemented Interfaces:
Serializable, Comparable<GraphEnum>, Constable

public enum GraphEnum extends Enum<GraphEnum>
수식 속성의 Graph 가능 여부를 나타내는 AttributeOption 을 정의한 enum.
Author:
Youngho Cho
  • Enum Constant Details

    • Enable

      public static final GraphEnum Enable
      Graph 가능 (AttributeOption id: 1719)
    • Disable

      public static final GraphEnum Disable
      Graph 불가능 (AttributeOption id: 1720)
  • Method Details

    • values

      public static GraphEnum[] 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 GraphEnum 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
    • getId

      public Integer getId()
      attributeOptionId
      Returns:
      attributeOptionId
    • represent

      public boolean represent(AttributeOption attributeOption)
      주어진 AttributeOption 이 이 enum 과 같은 id 인지 확인한다.
      Parameters:
      attributeOption - 비교할 AttributeOption
      Returns:
      같은 id 이면 true
    • getInstance

      public AttributeOption getInstance() throws TorqueException
      이 enum 에 해당하는 AttributeOption 을 구한다.
      Returns:
      AttributeOption
      Throws:
      TorqueException - 조회 중 오류가 발생한 경우