Package com.easydesk.enums
Enum Class NotificationManagerEnum
- All Implemented Interfaces:
Entitiable<Integer,,AttributeOption> Serializable,Comparable<NotificationManagerEnum>,Constable
public enum NotificationManagerEnum
extends Enum<NotificationManagerEnum>
implements Entitiable<Integer,AttributeOption>
- 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 를 저장소에서 구한다.booleanrepresent(AttributeOption attributeOption) 주어진 entity 가 이 enum 과 같은 id 인지 확인한다.static NotificationManagerEnumReturns the enum constant of this class with the specified name.static NotificationManagerEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PlainNTManager
-
HtmlNTManager
-
OnLinePushManager
-
-
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
-
represent
Description copied from interface:Entitiable주어진 entity 가 이 enum 과 같은 id 인지 확인한다.- Specified by:
representin interfaceEntitiable<Integer,AttributeOption> - Parameters:
attributeOption- 비교할 entity- Returns:
- same id or not
-
getInstance
Description copied from interface:Entitiableenum 에 해당하는 entity 를 저장소에서 구한다.- Specified by:
getInstancein interfaceEntitiable<Integer,AttributeOption> - Returns:
- enum 에 해당하는 om object
-