Package rules.impl
Class SubstituteParent
- java.lang.Object
-
- rules.AbstractRule
-
- rules.impl.SubstituteParent
-
- All Implemented Interfaces:
IRulesDefinition
public class SubstituteParent extends AbstractRule
Ruleset for Substitute Parent (all children in hierarchical context --> replace with parent)
-
-
Field Summary
-
Fields inherited from class rules.AbstractRule
appliedList, contextModelAbs, errorList, hierarchicalContextAbs, recordCompare
-
-
Constructor Summary
Constructors Constructor Description SubstituteParent(ContextModelAbstraction contextModelAbs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyRule(org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff)
Abstract method, different implementation depending on ruleset-
Methods inherited from class rules.AbstractRule
applyRuleToModel, createRecord, executeRule, getErrors, getNumberOfRecords, isRemoveNegative
-
-
-
-
Constructor Detail
-
SubstituteParent
public SubstituteParent(ContextModelAbstraction contextModelAbs)
-
-
Method Detail
-
applyRule
public boolean applyRule(org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour seff)
Description copied from class:AbstractRule
Abstract method, different implementation depending on ruleset- Specified by:
applyRule
in classAbstractRule
- Returns:
-
-