Class BasisVariable

    • Constructor Detail

      • BasisVariable

        protected BasisVariable​(IConfigurationElement parent,
                                AbstractVariable varDeclaration,
                                boolean isVisible,
                                boolean isAttribute)
        Sole constructor for creating IDecisionVariable's which do not contain nested Elements.
        Parameters:
        parent - the parent this variable is part of, typically the Configuration instance, but in case of compounds also the containing DecisionVariable
        varDeclaration - the variable declaration instantiated by this decision
        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 Detail

      • getNestedElement

        public IDecisionVariable getNestedElement​(int index)
        Description copied from interface: IDecisionVariable
        Returns the element specified by index. [also req SAP]
        Parameters:
        index - a 0-based index specifying the element to be returned
        Returns:
        the element
      • freeze

        public void freeze​(java.lang.String nestedElement)
        Description copied from interface: IConfigurationElement
        Causes to freeze a nested value.
        Parameters:
        nestedElement - The name of the nested Element, which should be frozen.