Package org.faktorips.runtime.internal
Enum MethodNames
- java.lang.Object
-
- java.lang.Enum<MethodNames>
-
- org.faktorips.runtime.internal.MethodNames
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MethodNames>
public enum MethodNames extends java.lang.Enum<MethodNames>
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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACCEPT_VISITORstatic java.lang.StringCOMPUTE_DELTAstatic java.lang.StringCOPY_PRODUCT_CMPT_AND_GENERATION_INTERNALMethod is generated in the first product configured policy class in hierarchy.static java.lang.StringCREATE_CHILD_FROM_XMLstatic java.lang.StringCREATE_POLICY_COMPONENTstatic java.lang.StringCREATE_UNRESOLVED_REFERENCEstatic java.lang.StringEFFECTIVE_FROM_HAS_CHANGEDMethod is generated in the first product configured policy class in hierarchy.static java.lang.StringGET_EFFECTIVE_FROM_AS_CALENDARstatic java.lang.StringGET_EXISTING_PRODUCT_COMPONENTstatic java.lang.StringGET_EXISTING_PRODUCT_COMPONENT_GENERATIONstatic java.lang.StringGET_PARENTstatic java.lang.StringGET_PRODUCT_CMPT_GENERATIONstatic java.lang.StringGET_PRODUCT_COMPONENTstatic java.lang.StringGET_PRODUCT_COMPONENT_IDstatic java.lang.StringGET_REPOSITORYstatic java.lang.StringGET_THIS_REPOSITORYUse this instead ofGET_REPOSITORYwhen the method is in this class.static java.lang.StringGET_VALID_FROMstatic java.lang.StringINIT_PROPERTIES_FROM_XMLstatic java.lang.StringIS_CHANGING_OVER_TIMEstatic java.lang.StringIS_MODIFIABLEstatic java.lang.StringMESSAGE_HELPER_GET_MESSAGEstatic java.lang.StringMETHOD_COPY_ASSOCIATIONSstatic java.lang.StringMETHOD_NEW_COPYstatic java.lang.StringMODELOBJECTDELTA_CHECK_PROPERTY_CHANGEstatic java.lang.StringMODELOBJECTDELTA_CREATE_CHILD_DELTASstatic java.lang.StringMODELOBJECTDELTA_NEW_DELTAstatic java.lang.StringMODELOBJECTDELTA_NEW_EMPTY_DELTAstatic java.lang.StringNEW_COPYstatic java.lang.StringNOTIFIY_CHANGE_LISTENERSnotifyChangeListeners(PropertyChangeEvent)static java.lang.StringREMOVE_CHILD_MODEL_OBJECT_INTERNALstatic java.lang.StringSET_PRODUCT_CMPT_GENERATIONMethod is generated in the first product configured policy class in hierarchy.static java.lang.StringSET_PRODUCT_COMPONENTMethod is generated in the first product configured policy class in hierarchy.static java.lang.StringVALIDATION_CONTEXT_GET_LOCALEstatic java.lang.StringVISITOR_VISIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodNamesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MethodNames[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Field Detail
-
GET_EFFECTIVE_FROM_AS_CALENDAR
public static final java.lang.String GET_EFFECTIVE_FROM_AS_CALENDAR
-
EFFECTIVE_FROM_HAS_CHANGED
public static final java.lang.String EFFECTIVE_FROM_HAS_CHANGED
Method is generated in the first product configured policy class in hierarchy.- See Also:
- Constant Field Values
-
GET_PRODUCT_COMPONENT_ID
public static final java.lang.String GET_PRODUCT_COMPONENT_ID
- See Also:
IProductComponent.getId(), Constant Field Values
-
GET_PRODUCT_COMPONENT
public static final java.lang.String GET_PRODUCT_COMPONENT
-
SET_PRODUCT_COMPONENT
public static final java.lang.String SET_PRODUCT_COMPONENT
Method is generated in the first product configured policy class in hierarchy.- See Also:
- Constant Field Values
-
SET_PRODUCT_CMPT_GENERATION
public static final java.lang.String SET_PRODUCT_CMPT_GENERATION
Method is generated in the first product configured policy class in hierarchy.- See Also:
- Constant Field Values
-
GET_EXISTING_PRODUCT_COMPONENT
public static final java.lang.String GET_EXISTING_PRODUCT_COMPONENT
-
CREATE_POLICY_COMPONENT
public static final java.lang.String CREATE_POLICY_COMPONENT
-
GET_REPOSITORY
public static final java.lang.String GET_REPOSITORY
-
GET_THIS_REPOSITORY
public static final java.lang.String 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:
GET_REPOSITORY, Constant Field Values
-
IS_MODIFIABLE
public static final java.lang.String IS_MODIFIABLE
-
GET_PARENT
public static final java.lang.String GET_PARENT
-
REMOVE_CHILD_MODEL_OBJECT_INTERNAL
public static final java.lang.String REMOVE_CHILD_MODEL_OBJECT_INTERNAL
-
GET_PRODUCT_CMPT_GENERATION
public static final java.lang.String GET_PRODUCT_CMPT_GENERATION
-
COPY_PRODUCT_CMPT_AND_GENERATION_INTERNAL
public static final java.lang.String COPY_PRODUCT_CMPT_AND_GENERATION_INTERNAL
Method is generated in the first product configured policy class in hierarchy.- See Also:
- Constant Field Values
-
GET_EXISTING_PRODUCT_COMPONENT_GENERATION
public static final java.lang.String GET_EXISTING_PRODUCT_COMPONENT_GENERATION
-
INIT_PROPERTIES_FROM_XML
public static final java.lang.String INIT_PROPERTIES_FROM_XML
-
CREATE_CHILD_FROM_XML
public static final java.lang.String CREATE_CHILD_FROM_XML
-
CREATE_UNRESOLVED_REFERENCE
public static final java.lang.String CREATE_UNRESOLVED_REFERENCE
-
NOTIFIY_CHANGE_LISTENERS
public static final java.lang.String NOTIFIY_CHANGE_LISTENERS
notifyChangeListeners(PropertyChangeEvent)- See Also:
- Constant Field Values
-
GET_VALID_FROM
public static final java.lang.String GET_VALID_FROM
-
COMPUTE_DELTA
public static final java.lang.String COMPUTE_DELTA
-
NEW_COPY
public static final java.lang.String NEW_COPY
- See Also:
ICopySupport.newCopy(), Constant Field Values
-
MODELOBJECTDELTA_CHECK_PROPERTY_CHANGE
public static final java.lang.String 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
public static final java.lang.String MODELOBJECTDELTA_CREATE_CHILD_DELTAS
- See Also:
ChildDeltaCreator, Constant Field Values
-
MODELOBJECTDELTA_NEW_EMPTY_DELTA
public static final java.lang.String MODELOBJECTDELTA_NEW_EMPTY_DELTA
-
MODELOBJECTDELTA_NEW_DELTA
public static final java.lang.String MODELOBJECTDELTA_NEW_DELTA
-
ACCEPT_VISITOR
public static final java.lang.String ACCEPT_VISITOR
-
VISITOR_VISIT
public static final java.lang.String VISITOR_VISIT
-
IS_CHANGING_OVER_TIME
public static final java.lang.String IS_CHANGING_OVER_TIME
-
METHOD_NEW_COPY
public static final java.lang.String METHOD_NEW_COPY
- See Also:
- Constant Field Values
-
METHOD_COPY_ASSOCIATIONS
public static final java.lang.String METHOD_COPY_ASSOCIATIONS
- See Also:
- Constant Field Values
-
VALIDATION_CONTEXT_GET_LOCALE
public static final java.lang.String VALIDATION_CONTEXT_GET_LOCALE
- See Also:
- Constant Field Values
-
MESSAGE_HELPER_GET_MESSAGE
public static final java.lang.String MESSAGE_HELPER_GET_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MethodNames[] 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 (MethodNames c : MethodNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodNames 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
-
-