Interface HasValue<T extends HasValue<T>>

    • Method Detail

      • set

        T set​(Value<?> val)
        Sets the value of this model.
        Parameters:
        val - the new value
        Returns:
        a reference to this
      • set

        default T set​(String val)
        Sets the value of this model to a new TextValue holding the specified String.
        Parameters:
        val - the new value
        Returns:
        a reference to this
      • set

        default T set​(Number val)
        Sets the value of this model to a new NumberValue holding the specified Number.
        Parameters:
        val - the new value
        Returns:
        a reference to this
      • set

        default T set​(Boolean val)
        Sets the value of this model to a new BooleanValue holding the specified Boolean.
        Parameters:
        val - the new value
        Returns:
        a reference to this
      • getValue

        Optional<Value<?>> getValue()
        Returns the value of this model.
        Returns:
        the value