Package org.faktorips.runtime
Interface IConfigurableModelObject
-
- All Superinterfaces:
IModelObject
- All Known Subinterfaces:
ITimedConfigurableModelObject
public interface IConfigurableModelObject extends IModelObject
Base interface for all model objects that are configurable by a product component.- Author:
- Jan Ortmann
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_PRODUCT_COMPONENTThe name of the property 'productComponent'.-
Fields inherited from interface org.faktorips.runtime.IModelObject
CONTINUE_VALIDATION, STOP_VALIDATION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.CalendargetEffectiveFromAsCalendar()Returns the date since when this model object is effective.IProductComponentgetProductComponent()Returns the product component this policy component is based on.voidinitialize()Initializes the model object with the defaults from it's product component generation.voidsetProductComponent(IProductComponent productComponent)Sets the current product component.-
Methods inherited from interface org.faktorips.runtime.IModelObject
getDescription, validate
-
-
-
-
Field Detail
-
PROPERTY_PRODUCT_COMPONENT
static final java.lang.String PROPERTY_PRODUCT_COMPONENT
The name of the property 'productComponent'.- See Also:
- Constant Field Values
-
-
Method Detail
-
getProductComponent
IProductComponent getProductComponent()
Returns the product component this policy component is based on.
-
setProductComponent
void setProductComponent(IProductComponent productComponent)
Sets the current product component.
-
getEffectiveFromAsCalendar
java.util.Calendar getEffectiveFromAsCalendar()
Returns the date since when this model object is effective.
-
initialize
void initialize()
Initializes the model object with the defaults from it's product component generation.
-
-