public interface IProductComponentGeneration extends IRuntimeObject, IProductComponentLinkSource
| Modifier and Type | Method and Description |
|---|---|
IConfigurableModelObject |
createPolicyComponent()
Creates a new policy component that is configured by this product component generation.
|
IProductComponentLink<? extends IProductComponent> |
getLink(String linkName,
IProductComponent target)
Returns the
IProductComponentLink for the association with the given role name
to the given product component or null if no such association exists. |
List<IProductComponentLink<? extends IProductComponent>> |
getLinks()
Returns a
List of all the IProductComponentLinks from this product
component generation to other product components. |
IProductComponentGeneration |
getNextGeneration()
Returns the next generation if available if not
null will be returned. |
IProductComponentGeneration |
getPreviousGeneration()
Returns the previous generation if available if not
null will be returned. |
IProductComponent |
getProductComponent()
Returns the product component this generation belongs to.
|
IRuntimeRepository |
getRepository()
Returns the repository this product component generation belongs to.
|
Date |
getValidFrom(TimeZone zone)
Returns the point in time this generation is valid from in the given time zone.
|
boolean |
isValidationRuleActivated(String ruleName)
Returns whether the validation rule with the given name is configured as active in this
ProductComponent. |
getExtensionPropertyIds, getExtensionPropertyValueIConfigurableModelObject createPolicyComponent()
RuntimeException - if this product component does not configure a policy component.IRuntimeRepository getRepository()
null.getRepository in interface IProductComponentLinkSourceIRuntimeRepository that was used to create this
IProductComponentLinkSourceIProductComponent getProductComponent()
null.IProductComponentGeneration getPreviousGeneration()
null will be returned.IProductComponentGeneration getNextGeneration()
null will be returned.Date getValidFrom(TimeZone zone)
null.NullPointerException - if zone is null.IProductComponentLink<? extends IProductComponent> getLink(String linkName, IProductComponent target)
IProductComponentLink for the association with the given role name
to the given product component or null if no such association exists.List<IProductComponentLink<? extends IProductComponent>> getLinks()
List of all the IProductComponentLinks from this product
component generation to other product components.boolean isValidationRuleActivated(String ruleName)
ProductComponent.ruleName - the name of the rule in questiontrue if the rule was activated, false else.Copyright © 2014. All rights reserved.