Interface ClassifierTemplateParameter

    • Method Detail

      • setAllowSubstitutable

        void setAllowSubstitutable​(boolean value)
        Sets the value of the 'Allow Substitutable' attribute.
        Parameters:
        value - the new value of the 'Allow Substitutable' attribute.
        See Also:
        isAllowSubstitutable()
      • getConstrainingClassifier

        Classifier getConstrainingClassifier()
        Returns the value of the 'Constraining Classifier' reference. The classifier that constrains the argument that can be used for the parameter. If the allowSubstitutable attribute is true, then any classifier that is compatible with this constraining classifier can be substituted, otherwise it must be either this classifier or one of its subclasses. If this property is empty, there are no constraints on the classifier that can be used as an argument.
        Returns:
        the value of the 'Constraining Classifier' reference.
        See Also:
        setConstrainingClassifier(Classifier), UMLPackage.getClassifierTemplateParameter_ConstrainingClassifier()
      • validateHasConstrainingClassifier

        boolean validateHasConstrainingClassifier​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                  Map context)
        If "allowSubstitutable" is true, then there must be a constrainingClassifier. allowSubstitutable implies constrainingClassifier->notEmpty()