org.faktorips.runtime.internal
Class MethodNames

java.lang.Object
  extended by org.faktorips.runtime.internal.MethodNames

public class MethodNames
extends Object

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
static String ACCEPT_VISITOR
           
static String COMPUTE_DELTA
           
static String COPY_PRODUCT_CMPT_AND_GENERATION_INTERNAL
          Method is generated in the first product configured policy class in hierarchy.
static String CREATE_CHILD_FROM_XML
           
static String CREATE_POLICY_COMPONENT
           
static String CREATE_UNRESOLVED_REFERENCE
           
static String EFFECTIVE_FROM_HAS_CHANGED
          Method is generated in the first product configured policy class in hierarchy.
static String GET_EFFECTIVE_FROM_AS_CALENDAR
           
static String GET_EXISTING_PRODUCT_COMPONENT
           
static String GET_EXISTING_PRODUCT_COMPONENT_GENERATION
           
static String GET_PARENT
           
static String GET_PRODUCT_CMPT_GENERATION
           
static String GET_PRODUCT_COMPONENT
           
static String GET_PRODUCT_COMPONENT_ID
           
static String GET_REPOSITORY
           
static String GET_THIS_REPOSITORY
          Use this instead of GET_REPOSITORY when the method is in this class.
static String GET_VALID_FROM
           
static String INIT_PROPERTIES_FROM_XML
           
static String IS_CHANGING_OVER_TIME
           
static String IS_MODIFIABLE
           
static String MESSAGE_HELPER_GET_MESSAGE
           
static String METHOD_COPY_ASSOCIATIONS
           
static String METHOD_NEW_COPY
           
static String MODELOBJECTDELTA_CHECK_PROPERTY_CHANGE
           
static String MODELOBJECTDELTA_CREATE_CHILD_DELTAS
           
static String MODELOBJECTDELTA_NEW_DELTA
           
static String MODELOBJECTDELTA_NEW_EMPTY_DELTA
           
static String NEW_COPY
           
static String NOTIFIY_CHANGE_LISTENERS
          notifyChangeListeners(PropertyChangeEvent)
static String REMOVE_CHILD_MODEL_OBJECT_INTERNAL
           
static String SET_PRODUCT_CMPT_GENERATION
          Method is generated in the first product configured policy class in hierarchy.
static String SET_PRODUCT_COMPONENT
          Method is generated in the first product configured policy class in hierarchy.
static String VALIDATION_CONTEXT_GET_LOCALE
           
static String VISITOR_VISIT
           
 
Constructor Summary
MethodNames()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_EFFECTIVE_FROM_AS_CALENDAR

public static final String GET_EFFECTIVE_FROM_AS_CALENDAR
See Also:
IConfigurableModelObject.getEffectiveFromAsCalendar(), Constant Field Values

EFFECTIVE_FROM_HAS_CHANGED

public static final 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 String GET_PRODUCT_COMPONENT_ID
See Also:
IProductComponent.getId(), Constant Field Values

GET_PRODUCT_COMPONENT

public static final String GET_PRODUCT_COMPONENT
See Also:
IConfigurableModelObject.getProductComponent(), Constant Field Values

SET_PRODUCT_COMPONENT

public static final 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 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 String GET_EXISTING_PRODUCT_COMPONENT
See Also:
IRuntimeRepository.getExistingProductComponent(String), Constant Field Values

CREATE_POLICY_COMPONENT

public static final String CREATE_POLICY_COMPONENT
See Also:
IProductComponent.createPolicyComponent(), Constant Field Values

GET_REPOSITORY

public static final String GET_REPOSITORY
See Also:
ProductComponent.getRepository(), ProductComponentGeneration.getRepository(), IpsTest2.getRepository(), Constant Field Values

GET_THIS_REPOSITORY

public static final String GET_THIS_REPOSITORY
Use this instead of GET_REPOSITORY when 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 String IS_MODIFIABLE
See Also:
IRuntimeRepository.isModifiable(), Constant Field Values

GET_PARENT

public static final String GET_PARENT
See Also:
IDependantObject.getParentModelObject(), Constant Field Values

REMOVE_CHILD_MODEL_OBJECT_INTERNAL

public static final String REMOVE_CHILD_MODEL_OBJECT_INTERNAL
See Also:
AbstractModelObject.removeChildModelObjectInternal(org.faktorips.runtime.IModelObject), Constant Field Values

GET_PRODUCT_CMPT_GENERATION

public static final String GET_PRODUCT_CMPT_GENERATION
See Also:
ITimedConfigurableModelObject.getProductCmptGeneration(), Constant Field Values

COPY_PRODUCT_CMPT_AND_GENERATION_INTERNAL

public static final 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 String GET_EXISTING_PRODUCT_COMPONENT_GENERATION
See Also:
IRuntimeRepository.getExistingProductComponentGeneration(String, java.util.Calendar), Constant Field Values

INIT_PROPERTIES_FROM_XML

public static final String INIT_PROPERTIES_FROM_XML
See Also:
AbstractModelObject.initPropertiesFromXml(java.util.Map, org.faktorips.runtime.IRuntimeRepository), Constant Field Values

CREATE_CHILD_FROM_XML

public static final String CREATE_CHILD_FROM_XML
See Also:
AbstractModelObject.createChildFromXml(org.w3c.dom.Element), Constant Field Values

CREATE_UNRESOLVED_REFERENCE

public static final String CREATE_UNRESOLVED_REFERENCE
See Also:
AbstractModelObject.createUnresolvedReference(Object, String, String), Constant Field Values

NOTIFIY_CHANGE_LISTENERS

public static final String NOTIFIY_CHANGE_LISTENERS
notifyChangeListeners(PropertyChangeEvent)

See Also:
Constant Field Values

GET_VALID_FROM

public static final String GET_VALID_FROM
See Also:
ProductComponentGeneration.getValidFrom(java.util.TimeZone), Constant Field Values

COMPUTE_DELTA

public static final String COMPUTE_DELTA
See Also:
IDeltaSupport.computeDelta(org.faktorips.runtime.IModelObject, org.faktorips.runtime.IDeltaComputationOptions), Constant Field Values

NEW_COPY

public static final String NEW_COPY
See Also:
ICopySupport.newCopy(), Constant Field Values

MODELOBJECTDELTA_CHECK_PROPERTY_CHANGE

public static final 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 String MODELOBJECTDELTA_CREATE_CHILD_DELTAS
See Also:
ModelObjectDelta.createChildDeltas(org.faktorips.runtime.internal.ModelObjectDelta, org.faktorips.runtime.IModelObject, org.faktorips.runtime.IModelObject, String, org.faktorips.runtime.IDeltaComputationOptions), ModelObjectDelta.createChildDeltas(org.faktorips.runtime.internal.ModelObjectDelta, java.util.List, java.util.List, String, org.faktorips.runtime.IDeltaComputationOptions), Constant Field Values

MODELOBJECTDELTA_NEW_EMPTY_DELTA

public static final String MODELOBJECTDELTA_NEW_EMPTY_DELTA
See Also:
ModelObjectDelta.newEmptyDelta(org.faktorips.runtime.IModelObject, org.faktorips.runtime.IModelObject), Constant Field Values

MODELOBJECTDELTA_NEW_DELTA

public static final String MODELOBJECTDELTA_NEW_DELTA
See Also:
ModelObjectDelta.newDelta(org.faktorips.runtime.IModelObject, org.faktorips.runtime.IModelObject, org.faktorips.runtime.IDeltaComputationOptions), Constant Field Values

ACCEPT_VISITOR

public static final String ACCEPT_VISITOR
See Also:
IVisitorSupport.accept(org.faktorips.runtime.IModelObjectVisitor), Constant Field Values

VISITOR_VISIT

public static final String VISITOR_VISIT
See Also:
IModelObjectVisitor.visit(org.faktorips.runtime.IModelObject), Constant Field Values

IS_CHANGING_OVER_TIME

public static final String IS_CHANGING_OVER_TIME
See Also:
IProductComponent.isChangingOverTime(), Constant Field Values

METHOD_NEW_COPY

public static final String METHOD_NEW_COPY
See Also:
Constant Field Values

METHOD_COPY_ASSOCIATIONS

public static final String METHOD_COPY_ASSOCIATIONS
See Also:
Constant Field Values

VALIDATION_CONTEXT_GET_LOCALE

public static final String VALIDATION_CONTEXT_GET_LOCALE
See Also:
Constant Field Values

MESSAGE_HELPER_GET_MESSAGE

public static final String MESSAGE_HELPER_GET_MESSAGE
See Also:
Constant Field Values
Constructor Detail

MethodNames

public MethodNames()


Copyright © 2015. All rights reserved.