Enum MethodDerivation
- java.lang.Object
-
- java.lang.Enum<MethodDerivation>
-
- org.dddjava.jig.domain.model.parts.classes.method.MethodDerivation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MethodDerivation>
public enum MethodDerivation extends java.lang.Enum<MethodDerivation>
メソッドの由来
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPILER_GENERATEDCONSTRUCTORPROGRAMMER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodDerivationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MethodDerivation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSTRUCTOR
public static final MethodDerivation CONSTRUCTOR
-
COMPILER_GENERATED
public static final MethodDerivation COMPILER_GENERATED
-
PROGRAMMER
public static final MethodDerivation PROGRAMMER
-
-
Method Detail
-
values
public static MethodDerivation[] 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 (MethodDerivation c : MethodDerivation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodDerivation 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
-
-