Enum Class NotificationManagerEnum

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

public enum NotificationManagerEnum extends Enum<NotificationManagerEnum> implements Entitiable<Integer,AttributeOption>
Author:
Youngho Cho
  • Enum Constant Details

  • Method Details

    • values

      public static NotificationManagerEnum[] 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 NotificationManagerEnum 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
      Specified by:
      getId in interface Entitiable<Integer,AttributeOption>
      Returns:
      attributeOptionId
    • represent

      public boolean represent(AttributeOption attributeOption)
      Description copied from interface: Entitiable
      주어진 entity 가 이 enum 과 같은 id 인지 확인한다.
      Specified by:
      represent in interface Entitiable<Integer,AttributeOption>
      Parameters:
      attributeOption - 비교할 entity
      Returns:
      same id or not
    • getInstance

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