Package org.faktorips.runtime.internal
Enum Class MethodNames
- All Implemented Interfaces:
Serializable,Comparable<MethodNames>,Constable
Gives access to the method names defined in the runtime that the generated code refers to, e.g.
by implementing a method with the given name. The reference to the actual method is documented in
the Javadoc "see" tags.
The constants are used by the code generator.
- Author:
- Jan Ortmann
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringMethod is generated in the first product configured policy class in hierarchy.static final Stringstatic final Stringstatic final Stringstatic final StringMethod is generated in the first product configured policy class in hierarchy.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringUse this instead ofGET_REPOSITORYwhen the method is in this class.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringnotifyChangeListeners(PropertyChangeEvent)static final Stringstatic final StringMethod is generated in the first product configured policy class in hierarchy.static final StringMethod is generated in the first product configured policy class in hierarchy.static final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodNamesReturns the enum constant of this class with the specified name.static MethodNames[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Field Details
-
GET_EFFECTIVE_FROM_AS_CALENDAR
-
EFFECTIVE_FROM_HAS_CHANGED
Method is generated in the first product configured policy class in hierarchy.- See Also:
-
GET_PRODUCT_COMPONENT_ID
-
GET_PRODUCT_COMPONENT
-
SET_PRODUCT_COMPONENT
Method is generated in the first product configured policy class in hierarchy.- See Also:
-
SET_PRODUCT_CMPT_GENERATION
Method is generated in the first product configured policy class in hierarchy.- See Also:
-
GET_EXISTING_PRODUCT_COMPONENT
-
CREATE_POLICY_COMPONENT
-
GET_REPOSITORY
-
GET_THIS_REPOSITORY
Use this instead ofGET_REPOSITORYwhen the method is in this class. This is important if the method is generated for formulas. If the formula is evaluated e.g. by groovy, we convert the keyword 'this' to a special variable to call the method on the correct object.- See Also:
-
IS_MODIFIABLE
-
GET_PARENT
-
REMOVE_CHILD_MODEL_OBJECT_INTERNAL
-
GET_PRODUCT_CMPT_GENERATION
-
COPY_PRODUCT_CMPT_AND_GENERATION_INTERNAL
Method is generated in the first product configured policy class in hierarchy.- See Also:
-
GET_EXISTING_PRODUCT_COMPONENT_GENERATION
-
INIT_PROPERTIES_FROM_XML
-
CREATE_CHILD_FROM_XML
-
CREATE_UNRESOLVED_REFERENCE
-
NOTIFIY_CHANGE_LISTENERS
notifyChangeListeners(PropertyChangeEvent)- See Also:
-
GET_VALID_FROM
-
COMPUTE_DELTA
-
NEW_COPY
- See Also:
-
MODELOBJECTDELTA_CHECK_PROPERTY_CHANGE
- See Also:
-
ModelObjectDelta.checkPropertyChange(String, Object, Object, org.faktorips.runtime.IDeltaComputationOptions)ModelObjectDelta.checkPropertyChange(String, int, int, org.faktorips.runtime.IDeltaComputationOptions)ModelObjectDelta.checkPropertyChange(String, boolean, boolean, org.faktorips.runtime.IDeltaComputationOptions)ModelObjectDelta.checkPropertyChange(String, double, double, org.faktorips.runtime.IDeltaComputationOptions)ModelObjectDelta.checkPropertyChange(String, float, float, org.faktorips.runtime.IDeltaComputationOptions)ModelObjectDelta.checkPropertyChange(String, char, char, org.faktorips.runtime.IDeltaComputationOptions)- Constant Field Values
-
MODELOBJECTDELTA_CREATE_CHILD_DELTAS
- See Also:
-
MODELOBJECTDELTA_NEW_EMPTY_DELTA
-
MODELOBJECTDELTA_NEW_DELTA
-
ACCEPT_VISITOR
-
VISITOR_VISIT
-
IS_CHANGING_OVER_TIME
-
METHOD_NEW_COPY
- See Also:
-
METHOD_COPY_ASSOCIATIONS
- See Also:
-
VALIDATION_CONTEXT_GET_LOCALE
- See Also:
-
MESSAGE_HELPER_GET_MESSAGE
- See Also:
-
-
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
-