Interface Parameter

    • Method Detail

      • getParameterSet

        ParameterSet getParameterSet​(String name,
                                     boolean ignoreCase)
        Retrieves the first ParameterSet with the specified 'Name' from the ' Parameter Set' reference list.
        Parameters:
        name - The 'Name' of the ParameterSet to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        Returns:
        The first ParameterSet with the specified 'Name', or null.
        See Also:
        getParameterSets()
      • getOperation

        Operation getOperation()
        Returns the value of the 'Operation' reference. References the Operation owning this parameter.
        Returns:
        the value of the 'Operation' reference.
        See Also:
        UMLPackage.getParameter_Operation()
      • isException

        boolean isException()
        Returns the value of the 'Is Exception' attribute. The default value is "false". Tells whether an output parameter may emit a value to the exclusion of the other outputs.
        Returns:
        the value of the 'Is Exception' attribute.
        See Also:
        setIsException(boolean), UMLPackage.getParameter_IsException()
      • setIsException

        void setIsException​(boolean value)
        Sets the value of the 'Is Exception' attribute.
        Parameters:
        value - the new value of the 'Is Exception' attribute.
        See Also:
        isException()
      • isStream

        boolean isStream()
        Returns the value of the 'Is Stream' attribute. The default value is "false". Tells whether an input parameter may accept values while its behavior is executing, or whether an output parameter post values while the behavior is executing.
        Returns:
        the value of the 'Is Stream' attribute.
        See Also:
        setIsStream(boolean), UMLPackage.getParameter_IsStream()
      • setIsStream

        void setIsStream​(boolean value)
        Sets the value of the 'Is Stream' attribute.
        Parameters:
        value - the new value of the 'Is Stream' attribute.
        See Also:
        isStream()
      • validateConnectorEnd

        boolean validateConnectorEnd​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        A parameter may only be associated with a connector end within the context of a collaboration. self.end.notEmpty() implies self.collaboration.notEmpty()
      • validateStreamAndException

        boolean validateStreamAndException​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map context)
        A parameter cannot be a stream and exception at the same time. true
      • validateNotException

        boolean validateNotException​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        An input parameter cannot be an exception. true
      • validateReentrantBehaviors

        boolean validateReentrantBehaviors​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map context)
        Reentrant behaviors cannot have stream parameters. true
      • validateInAndOut

        boolean validateInAndOut​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        Only in and inout parameters may have a delete effect. Only out, inout, and return parameters may have a create effect. true
      • setBooleanDefaultValue

        void setBooleanDefaultValue​(boolean value)
        Sets the default value for this parameter to the specified Boolean value.
      • setIntegerDefaultValue

        void setIntegerDefaultValue​(int value)
        Sets the default value for this parameter to the specified integer value.
      • setStringDefaultValue

        void setStringDefaultValue​(String value)
        Sets the default value for this parameter to the specified string value.
      • setUnlimitedNaturalDefaultValue

        void setUnlimitedNaturalDefaultValue​(int value)
        Sets the default value for this parameter to the specified unlimited natural value.
      • setNullDefaultValue

        void setNullDefaultValue()
        Sets the default value for this parameter to the null value.