Interface Example

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default Example description​(java.lang.String description)
      Sets this Example's description property to the given string.
      default Example externalValue​(java.lang.String externalValue)
      Sets this Example's externalValue property to the given string.
      java.lang.String getDescription()
      Returns the description property from an Example instance.
      java.lang.String getExternalValue()
      Returns the externalValue property from an Example instance.
      java.lang.String getSummary()
      Returns the summary property from an Example instance.
      java.lang.Object getValue()
      Returns the value property from an Example instance.
      void setDescription​(java.lang.String description)
      Sets this Example's description property to the given string.
      void setExternalValue​(java.lang.String externalValue)
      Sets this Example's externalValue property to the given string.
      void setSummary​(java.lang.String summary)
      Sets this Example's summary property to the given string.
      void setValue​(java.lang.Object value)
      Sets this Example's value property to the given value.
      default Example summary​(java.lang.String summary)
      Sets this Example's summary property to the given string.
      default Example value​(java.lang.Object value)
      Sets this Example's value property to the given value.
    • Method Detail

      • getSummary

        java.lang.String getSummary()
        Returns the summary property from an Example instance.
        Returns:
        short description of the example
      • setSummary

        void setSummary​(java.lang.String summary)
        Sets this Example's summary property to the given string.
        Parameters:
        summary - short description of the example
      • summary

        default Example summary​(java.lang.String summary)
        Sets this Example's summary property to the given string.
        Parameters:
        summary - short description of the example
        Returns:
        the current Example object
      • getDescription

        java.lang.String getDescription()
        Returns the description property from an Example instance.
        Returns:
        long description of the example
      • setDescription

        void setDescription​(java.lang.String description)
        Sets this Example's description property to the given string.
        Parameters:
        description - long description of the example
      • description

        default Example description​(java.lang.String description)
        Sets this Example's description property to the given string.
        Parameters:
        description - long description of the example
        Returns:
        the current Example object
      • getValue

        java.lang.Object getValue()
        Returns the value property from an Example instance.
        Returns:
        embedded literal example object
      • setValue

        void setValue​(java.lang.Object value)
        Sets this Example's value property to the given value. The value field and externalValue field are mutually exclusive.
        Parameters:
        value - a literal example object
      • value

        default Example value​(java.lang.Object value)
        Sets this Example's value property to the given value. The value field and externalValue field are mutually exclusive.
        Parameters:
        value - a literal example object
        Returns:
        the current Example object
      • getExternalValue

        java.lang.String getExternalValue()
        Returns the externalValue property from an Example instance.
        Returns:
        URL that points to the literal example
      • setExternalValue

        void setExternalValue​(java.lang.String externalValue)
        Sets this Example's externalValue property to the given string. The value field and externalValue field are mutually exclusive.
        Parameters:
        externalValue - URL that points to the literal example
      • externalValue

        default Example externalValue​(java.lang.String externalValue)
        Sets this Example's externalValue property to the given string. The value field and externalValue field are mutually exclusive.
        Parameters:
        externalValue - URL that points to the literal example
        Returns:
        the current Example object