public interface IProductComponentGeneration extends IRuntimeObject, IProductObject
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
isValidationRuleActivated(String ruleName)
Returns whether the validation rule with the given name is configured as active in this
ProductComponent. |
void |
setValidationRuleActivated(String ruleName,
boolean active)
Enables or disables validation for a specific rule.
|
getExtensionPropertyIds, getExtensionPropertyValuecreatePolicyComponent, getValidFrom, getValidFromgetLink, getLinksIRuntimeRepository 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.boolean isValidationRuleActivated(String ruleName)
ProductComponent.ruleName - the name of the rule in questiontrue if the rule was activated, false else.void setValidationRuleActivated(String ruleName, boolean active)
ruleName - the name of the rule in questionactive - indicating whether the validation rule is configured as activeCopyright © 2017. All rights reserved.