Class SequenceVariable

All Implemented Interfaces:
IConfigurationElement, IConfigurationVisitable, IDecisionVariable, IValueParent

public class SequenceVariable extends ContainerVariable
Decision variable for Sequencess.
Author:
lueder, Holger Eichelberger
  • Constructor Details

    • SequenceVariable

      public SequenceVariable(AbstractVariable varDecl, IConfigurationElement parent, boolean isVisible, boolean isAttribute)
      Sole Constructor for this class.
      Parameters:
      varDecl - the variable declaration for this variable
      parent - the parent of this set
      isVisible - Specifies whether this variables is exported by an interface or not:
      • true: The variable is exported by an interface or there is no interface.
      • false: There is an interface which does not export this variable.
      isAttribute - whether this variable represents (a part of) an attribute or a variable
  • Method Details

    • getElementName

      protected String getElementName(int index)
      Description copied from class: ContainerVariable
      Returns the symbolic name for an element in this container, such as the index for sequences.
      Overrides:
      getElementName in class ContainerVariable
      Parameters:
      index - the position of the element within the container
      Returns:
      the symbolic name