Class CollectionElementVariable

All Implemented Interfaces:
ICollectionElementVariable, IDatatypeVisitable, IDerivedDatatypeListener, IAttributeAccess, IModelElement

class CollectionElementVariable extends AbstractVariable implements ICollectionElementVariable
A temporary variable representing a value of a container. By design decision, container do not have contained decision variables. Anyway, references to container variables can be defined and are resolved via this temporary variable. For resolving this variable for a specific configuration, this class is equipped with a resolution path for deferred variable resolution.
Author:
Holger Eichelberger
  • Field Details

  • Constructor Details

    • CollectionElementVariable

      CollectionElementVariable(AbstractVariable base, IDatatype type, IResolutionPathElement path, int index)
      Creates a collection element variable.
      Parameters:
      base - the base the collection variable
      type - the contained type
      path - the path to resolve base in a configuration
      index - the index within base
  • Method Details