- All Implemented Interfaces:
Serializable
,Comparable<GeneratorStrategy.Mode>
,Constable
- Enclosing interface:
- GeneratorStrategy
The "mode" by which an artefact should be named
-
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 TypeMethodDescriptionstatic GeneratorStrategy.Mode
Returns the enum constant of this class with the specified name.static GeneratorStrategy.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default mode. This is used when anyDefinition
's meta type is being rendered. -
RECORD
The record mode. This is used when aTableDefinition
or aUDTDefinition
's record class is being rendered. -
POJO
The pojo mode. This is used when aTableDefinition
's pojo class is being rendered -
INTERFACE
the interface mode. This is used when aTableDefinition
's interface is being rendered -
DAO
The dao mode. This is used when aTableDefinition
's dao class is being rendered -
SYNTHETIC_DAO
The synthetic dao mode. This is used when aSyntheticDaoDefinition
's dao class is being rendered -
ENUM
The enum mode. This is used when aEnumDefinition
's class is being rendered -
DOMAIN
The domain mode. This is used when aDomainDefinition
's class is being rendered
-
-
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
-