Interface MultiplicityElement

    • Method Detail

      • isOrdered

        boolean isOrdered()
        Returns the value of the 'Ordered' attribute. The default value is "false". For a multivalued multiplicity, this attribute specifies whether the values in an instantiation of this MultiplicityElement are sequentially ordered.
        Returns:
        the value of the 'Ordered' attribute.
        See Also:
        setOrdered(boolean), com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getMultiplicityElement_Ordered()
        Model:
        default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
        Generated:
      • setOrdered

        void setOrdered​(boolean value)
        Sets the value of the 'Ordered' attribute.
        Parameters:
        value - the new value of the 'Ordered' attribute.
        See Also:
        isOrdered()
        Generated:
      • isUnique

        boolean isUnique()
        Returns the value of the 'Unique' attribute. The default value is "true". For a multivalued multiplicity, this attributes specifies whether the values in an instantiation of this MultiplicityElement are unique.
        Returns:
        the value of the 'Unique' attribute.
        See Also:
        setUnique(boolean), com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getMultiplicityElement_Unique()
        Model:
        default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
        Generated:
      • setUnique

        void setUnique​(boolean value)
        Sets the value of the 'Unique' attribute.
        Parameters:
        value - the new value of the 'Unique' attribute.
        See Also:
        isUnique()
        Generated:
      • getUpper

        int getUpper()
        Returns the value of the 'Upper' attribute. The upper bound of the multiplicity interval.
        Returns:
        the value of the 'Upper' attribute.
        See Also:
        UMLPackage.getMultiplicityElement_Upper()
        Model:
        dataType="com.nomagic.uml2.ext.magicdraw.UnlimitedNatural" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
        Generated:
      • getLower

        int getLower()
        Returns the value of the 'Lower' attribute. The lower bound of the multiplicity interval.
        Returns:
        the value of the 'Lower' attribute.
        See Also:
        UMLPackage.getMultiplicityElement_Lower()
        Model:
        dataType="com.nomagic.uml2.ext.magicdraw.Integer" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
        Generated:
      • setUpperValue

        void setUpperValue​(@CheckForNull
                           ValueSpecification value)
        Sets the value of the 'Upper Value' containment reference.
        Parameters:
        value - the new value of the 'Upper Value' containment reference.
        See Also:
        getUpperValue()
        Generated:
      • setLowerValue

        void setLowerValue​(@CheckForNull
                           ValueSpecification value)
        Sets the value of the 'Lower Value' containment reference.
        Parameters:
        value - the new value of the 'Lower Value' containment reference.
        See Also:
        getLowerValue()
        Generated: