Enum Class CodeBuilder.StandardMethod
java.lang.Object
java.lang.Enum<CodeBuilder.StandardMethod>
org.tquadrat.foundation.config.ap.impl.CodeBuilder.StandardMethod
- All Implemented Interfaces:
Serializable
,Comparable<CodeBuilder.StandardMethod>
,Constable
- Enclosing interface:
CodeBuilder
@ClassVersion(sourceVersion="$Id: CodeBuilder.java 1085 2024-01-05 16:23:28Z tquadrat $")
@API(status=MAINTAINED,
since="0.2.0")
public static enum CodeBuilder.StandardMethod
extends Enum<CodeBuilder.StandardMethod>
The standard methods.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: CodeBuilder.java 1085 2024-01-05 16:23:28Z tquadrat $
- Since:
- 0.2.0
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.config.ap.impl.CodeBuilder.StandardMethod"
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe method to add listeners.The method that returns the message prefix.The method that returns the ressource bundle for the messages.The method that provides initialisation data.The method to remove listeners.TheObject.toString()
method. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
StandardMethod
(String methodName) Creates a newStandardMethod
instance. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
toString()
Returns the method name for this standard method, as it is used in the generated code.static CodeBuilder.StandardMethod
Returns the enum constant of this class with the specified name.static CodeBuilder.StandardMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STD_METHOD_AddListener
@API(status=MAINTAINED, since="0.2.0") public static final CodeBuilder.StandardMethod STD_METHOD_AddListenerThe method to add listeners. -
STD_METHOD_GetMessagePrefix
@API(status=MAINTAINED, since="0.2.0") public static final CodeBuilder.StandardMethod STD_METHOD_GetMessagePrefixThe method that returns the message prefix. -
STD_METHOD_GetRessourceBundle
@API(status=MAINTAINED, since="0.2.0") public static final CodeBuilder.StandardMethod STD_METHOD_GetRessourceBundleThe method that returns the ressource bundle for the messages. -
STD_METHOD_InitData
@API(status=MAINTAINED, since="0.2.0") public static final CodeBuilder.StandardMethod STD_METHOD_InitDataThe method that provides initialisation data. -
STD_METHOD_RemoveListener
@API(status=MAINTAINED, since="0.2.0") public static final CodeBuilder.StandardMethod STD_METHOD_RemoveListenerThe method to remove listeners. -
STD_METHOD_ToString
@API(status=MAINTAINED, since="0.2.0") public static final CodeBuilder.StandardMethod STD_METHOD_ToStringTheObject.toString()
method.
-
-
Field Details
-
m_MethodName
The method name.
-
-
Constructor Details
-
StandardMethod
Creates a newStandardMethod
instance.- Parameters:
methodName
- The method name.
-
-
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
-
toString
Returns the method name for this standard method, as it is used in the generated code.- Overrides:
toString
in classEnum<CodeBuilder.StandardMethod>
- Returns:
- The method name.
-