Enum EClassCategory
- java.lang.Object
-
- java.lang.Enum<EClassCategory>
-
- ch.sahits.game.openpatrician.utilities.annotation.EClassCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EClassCategory>
public enum EClassCategory extends java.lang.Enum<EClassCategory>
- Author:
- Andi Hotz, (c) Sahits GmbH, 2015 Created on Aug 04, 2015
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPENDS_ON_SERIALIZED_BEAN
Class that is only reachable through a serialized beanDIALOG
A unique prototype bean for a dialogEVENT_OBJECT
Short lived event object that is past to the EventBus.post methodHANDLER
Handler of some sort (event handler or short lived runnable)JAVAFX
Java FX classMODEL
Class representing a model or a state, that is not a property beanPROTOTYPE_BEAN
Non serialized prototype beanSERIALIZABLE_BEAN
A Bean that can be serializedSINGLETON_BEAN
Non serialized singleton beanSTARTUP
Class involved in the startupTEST
Test utility or classUNRELEVANT_FOR_DESERIALISATION
Not relevant in the context of deserialisation as there are no instances of this category
-
Constructor Summary
Constructors Modifier Constructor Description private
EClassCategory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EClassCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EClassCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERIALIZABLE_BEAN
public static final EClassCategory SERIALIZABLE_BEAN
A Bean that can be serialized
-
DIALOG
public static final EClassCategory DIALOG
A unique prototype bean for a dialog
-
EVENT_OBJECT
public static final EClassCategory EVENT_OBJECT
Short lived event object that is past to the EventBus.post method
-
PROTOTYPE_BEAN
public static final EClassCategory PROTOTYPE_BEAN
Non serialized prototype bean
-
HANDLER
public static final EClassCategory HANDLER
Handler of some sort (event handler or short lived runnable)
-
DEPENDS_ON_SERIALIZED_BEAN
public static final EClassCategory DEPENDS_ON_SERIALIZED_BEAN
Class that is only reachable through a serialized bean
-
SINGLETON_BEAN
public static final EClassCategory SINGLETON_BEAN
Non serialized singleton bean
-
JAVAFX
public static final EClassCategory JAVAFX
Java FX class
-
STARTUP
public static final EClassCategory STARTUP
Class involved in the startup
-
MODEL
public static final EClassCategory MODEL
Class representing a model or a state, that is not a property bean
-
TEST
public static final EClassCategory TEST
Test utility or class
-
UNRELEVANT_FOR_DESERIALISATION
public static final EClassCategory UNRELEVANT_FOR_DESERIALISATION
Not relevant in the context of deserialisation as there are no instances of this category
-
-
Method Detail
-
values
public static EClassCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EClassCategory c : EClassCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EClassCategory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-