Enum Class Describer.Key
- All Implemented Interfaces:
Serializable, Comparable<Describer.Key>, Constable
- Enclosing class:
Describer
The names of elements which can be replaced in description templates
- Author:
- Stephen G. Ware
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe action being described or theaction of the turnbeing describedThe firstargument of the signatureof the object being describedThe secondargument of the signatureof the object being describedThe thirdargument of the signatureof the object being describedThe fourthargument of the signatureof the object being describedThe fifthargument of the signatureof the object being describedThe sixthargument of the signatureof the object being describedThe seventhargument of the signatureof the object being describedThe eighthargument of the signatureof the object being describedThe ninthargument of the signatureof the object being describedThe tenthargument of the signatureof the object being describedThe ending being describedThe entity being describedThe name of thenamed objectbeing described or thename part of the signatureof the object being described if the object is asigned assetTherole who takes the turnbeing describedTherolefor whom this description is being generatedThetype of turnobject being describedThe type of object being described.Thevalue of the assignmentbeing describedThe variable being described or thevariable of the assignmentbeing described -
Method Summary
Modifier and TypeMethodDescriptionstatic Describer.KeyReturns the enum constant of this class with the specified name.static Describer.Key[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE
The type of object being described. The value should be a string in lower case. When the type is a Java class, it should bethe class's simple name only, not the fully qualified name including its package. -
ROLE
Therole who takes the turnbeing described -
TURN_TYPE
Thetype of turnobject being described -
ENTITY
The entity being described -
VARIABLE
The variable being described or thevariable of the assignmentbeing described -
ACTION
The action being described or theaction of the turnbeing described -
ENDING
The ending being described -
NAME
The name of thenamed objectbeing described or thename part of the signatureof the object being described if the object is asigned asset -
ARG_0
The firstargument of the signatureof the object being described -
ARG_1
The secondargument of the signatureof the object being described -
ARG_2
The thirdargument of the signatureof the object being described -
ARG_3
The fourthargument of the signatureof the object being described -
ARG_4
The fifthargument of the signatureof the object being described -
ARG_5
The sixthargument of the signatureof the object being described -
ARG_6
The seventhargument of the signatureof the object being described -
ARG_7
The eighthargument of the signatureof the object being described -
ARG_8
The ninthargument of the signatureof the object being described -
ARG_9
The tenthargument of the signatureof the object being described -
VALUE
Thevalue of the assignmentbeing described -
TO
Therolefor whom this description is being generated
-
-
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
-