Interface IChoiceParameterLinksModel<T extends AbstractChoiceParameterLink,​U>

    • Method Detail

      • getScriptVariant

        ScriptVariant getScriptVariant()
        Returns the script variant used in the model.
        Returns:
        Script variant
      • getAllowedParameterNames

        Collection<String> getAllowedParameterNames()
        Returns the collection of allowed parameter names.
        Returns:
        Collection of allowed parameter names
      • toAttribute

        U toAttribute​(T choiceParameterLink)
        Extracts the attribute from a given choice parameter link.
        Parameters:
        choiceParameterLink - Choice parameter link to extract the attribute from
        Returns:
        The attribute
      • toLink

        T toLink​(U attribute)
        Creates a new choice parameter link based on a given attribute.
        Parameters:
        attribute - Attribute which will be used in the created choice parameter link
        Returns:
        A new choice parameter link
      • areAttributesEqual

        boolean areAttributesEqual​(U attribute1,
                                   U attribute2)
        Checks if two given attributes are equal.
        Parameters:
        attribute1 - The first attribute
        attribute2 - The second attribute
        Returns:
        true if the attributes are equal and false otherwise