Class BasicDecisionVariableContainer

java.lang.Object
net.ssehub.easy.varModel.model.ModelElement
net.ssehub.easy.varModel.model.BasicDecisionVariableContainer
All Implemented Interfaces:
IContainableElementsSorter, IDecisionVariableContainer, IModelElement
Direct Known Subclasses:
FullDecisionVariableContainer

public class BasicDecisionVariableContainer extends ModelElement implements IDecisionVariableContainer
This class basically realizes a decision variable container (this class does not support realizing constraints). However, this type of class (regarding the interface) may be used from a data type as well as from a containable model element in two different parts of the same inheritance hierarchy. This would duplicate code. As multiple inheritance is not supported in Java, we implement the basic functionality here and support reuse by delegation. So far we refrained from defining (multiple) recursive iterators (over the assignments) due to different style and potential performance issues of the generic code.
Author:
Holger Eichelberger