Package org.faktorips.runtime
Interface IProductComponentGeneration
- All Superinterfaces:
IProductComponentLinkSource,IProductObject,IRuntimeObject
- All Known Implementing Classes:
ProductComponentGeneration
A product component generation represents the state of a product component valid for a period of
time. The period's begins is defined by the generation's valid from date. The period ends at the
next generation's valid from date. A product component's generation periods are none overlapping.
For a given point in time exactly one (or none) generation is found.
- Author:
- Jan Ortmann
-
Method Summary
Modifier and TypeMethodDescriptionReturns the next generation if available if notnullwill be returned.Returns the previous generation if available if notnullwill be returned.Returns the product component this generation belongs to.Returns the repository this product component generation belongs to.Methods inherited from interface org.faktorips.runtime.IProductComponentLinkSource
getLink, getLinksMethods inherited from interface org.faktorips.runtime.IProductObject
createPolicyComponent, getValidFrom, getValidFrom, isValidationRuleActivated, setValidationRuleActivatedMethods inherited from interface org.faktorips.runtime.IRuntimeObject
getExtensionPropertyIds, getExtensionPropertyValue
-
Method Details
-
getRepository
IRuntimeRepository getRepository()Returns the repository this product component generation belongs to. This method never returnsnull.- Specified by:
getRepositoryin interfaceIProductComponentLinkSource- Returns:
- The
IRuntimeRepositorythat was used to create thisIProductComponentLinkSource
-
getProductComponent
IProductComponent getProductComponent()Returns the product component this generation belongs to. This method never returnsnull. -
getPreviousGeneration
IProductComponentGeneration getPreviousGeneration()Returns the previous generation if available if notnullwill be returned. -
getNextGeneration
IProductComponentGeneration getNextGeneration()Returns the next generation if available if notnullwill be returned.
-