Enum Class CodeBuilderBase.StringConverterInstantiation
java.lang.Object
java.lang.Enum<CodeBuilderBase.StringConverterInstantiation>
org.tquadrat.foundation.config.ap.impl.codebuilders.CodeBuilderBase.StringConverterInstantiation
- All Implemented Interfaces:
Serializable
,Comparable<CodeBuilderBase.StringConverterInstantiation>
,Constable
- Enclosing class:
CodeBuilderBase
@ClassVersion(sourceVersion="$Id: CodeBuilderBase.java 1105 2024-02-28 12:58:46Z tquadrat $")
@API(status=INTERNAL,
since="0.1.0")
public static enum CodeBuilderBase.StringConverterInstantiation
extends Enum<CodeBuilderBase.StringConverterInstantiation>
The various type to instantiate a
StringConverter
class.- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: CodeBuilderBase.java 1105 2024-02-28 12:58:46Z tquadrat $
- Since:
- 0.1.0
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.config.ap.impl.codebuilders.CodeBuilderBase.StringConverterInstantiation"
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe property is anenum
, and the class for theStringConverter
isEnumStringConverter
, so theStringConverter
has to be instantiated by a call toEnumStringConverter(Class)
.TheStringConverter
can be accessed through theINSTANCE
field.TheStringConverter
has to be instantiated by calling its default constructor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BY_INSTANCE
TheStringConverter
can be accessed through theINSTANCE
field. -
THROUGH_CONSTRUCTOR
TheStringConverter
has to be instantiated by calling its default constructor. -
AS_ENUM
The property is anenum
, and the class for theStringConverter
isEnumStringConverter
, so theStringConverter
has to be instantiated by a call toEnumStringConverter(Class)
.
-
-
Constructor Details
-
StringConverterInstantiation
private StringConverterInstantiation()
-
-
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
-