Package org.faktorips.runtime
Interface IProductComponentGeneration
-
- All Superinterfaces:
IProductComponentLinkSource,IProductObject,IRuntimeObject
- All Known Implementing Classes:
ProductComponentGeneration
public interface IProductComponentGeneration extends IRuntimeObject, IProductObject
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IProductComponentGenerationgetNextGeneration()Returns the next generation if available if notnullwill be returned.IProductComponentGenerationgetPreviousGeneration()Returns the previous generation if available if notnullwill be returned.IProductComponentgetProductComponent()Returns the product component this generation belongs to.IRuntimeRepositorygetRepository()Returns the repository this product component generation belongs to.-
Methods inherited from interface org.faktorips.runtime.IProductComponentLinkSource
getLink, getLinks
-
Methods inherited from interface org.faktorips.runtime.IProductObject
createPolicyComponent, getValidFrom, getValidFrom, isValidationRuleActivated, setValidationRuleActivated
-
Methods inherited from interface org.faktorips.runtime.IRuntimeObject
getExtensionPropertyIds, getExtensionPropertyValue
-
-
-
-
Method Detail
-
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.
-
-