|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faktorips.runtime.internal.ProductConfiguration
public class ProductConfiguration
Manages a product component and the corresponding generation for use with configurable model objects. Used by all configurable policy component classes to manage their product configuration.
| Constructor Summary | |
|---|---|
ProductConfiguration()
|
|
ProductConfiguration(IProductComponent productCmpt)
|
|
| Method Summary | |
|---|---|
void |
copy(ProductConfiguration otherObject)
Copies the product component and product component generation from the other object. |
IProductComponentGeneration |
getProductCmptGeneration(Calendar effectiveFrom)
Returns the product component generation that configures a policy component. |
IProductComponent |
getProductComponent()
Returns the product component that configures a policy component. |
void |
initFromXml(Element objectEl,
IRuntimeRepository productRepository)
Loads the product component this ProductConfiguration manages. |
void |
resetProductCmptGeneration()
Sets the product component generation null. |
void |
setProductCmptGeneration(IProductComponentGeneration newGeneration)
Sets the new product component generation. |
void |
setProductComponent(IProductComponent productCmpt)
Sets the new product component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProductConfiguration()
public ProductConfiguration(IProductComponent productCmpt)
| Method Detail |
|---|
public void setProductComponent(IProductComponent productCmpt)
public void resetProductCmptGeneration()
public IProductComponent getProductComponent()
public IProductComponentGeneration getProductCmptGeneration(Calendar effectiveFrom)
public void setProductCmptGeneration(IProductComponentGeneration newGeneration)
null however, both product component and product component
generation are set to null.
public void copy(ProductConfiguration otherObject)
public void initFromXml(Element objectEl,
IRuntimeRepository productRepository)
ProductConfiguration manages. Does nothing, if no
product component qualified name can be found in the XML element.
objectEl - the XML element containing the product component qualified nameproductRepository - the IRuntimeRepository to load the product component from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||