Interface TaggedValue

    • Method Detail

      • setTagDefinition

        void setTagDefinition​(@CheckForNull
                              Property value)
        Sets the value of the 'Tag Definition' reference.
        Parameters:
        value - the new value of the 'Tag Definition' reference.
        See Also:
        getTagDefinition()
        Generated:
      • setTaggedValueOwner

        void setTaggedValueOwner​(Element value)
        Sets the value of the 'Tagged Value Owner' container reference.
        Parameters:
        value - the new value of the 'Tagged Value Owner' container reference.
        See Also:
        getTaggedValueOwner()
        Generated:
      • value

        java.util.List<?> value()
        Returns value of the tag.
        Model:
        kind="operation" dataType="uml.EList<? extends org.eclipse.emf.ecore.EJavaObject>" unique="false"
        Generated:
      • getValue

        java.util.List<?> getValue()
        Returns value of the tag.
        Returns:
        tag value.
      • addConvertedValue

        java.lang.Object addConvertedValue​(java.lang.Object value)
                                    throws java.lang.IllegalArgumentException
        Converts and adds given value to value suitable for this TaggedValue. For example Object to String.
        Parameters:
        value - value to add
        Returns:
        added value (converted one)
        Throws:
        java.lang.IllegalArgumentException - in case value cannot be converted to suitable
        See Also:
        convertValue(Object), getValue()
      • convertValue

        java.lang.Object convertValue​(java.lang.Object value)
                               throws java.lang.IllegalArgumentException
        Converts given value to value suitable for this TaggedValue. For example Object to String.
        Parameters:
        value - value to convert
        Returns:
        converter value or same value if it is suitable
        Throws:
        java.lang.IllegalArgumentException - in case value cannot be converted to suitable
      • hasValue

        boolean hasValue()
        Checks if TaggedValue has any value
        Returns:
        true if value is not empty
        See Also:
        getValue()