Interface ValueAndDataTypePopoverView.Presenter

    • Method Detail

      • setValue

        void setValue​(String value)
        Sets the domain object value. The String value from the UI that has been _normalised_. {@see ValueAndDataTypePopoverView.Presenter#normaliseValue}. The value should be converted to the domain object. {@see HasValueAndTypeRef#toModelValue}.
        Parameters:
        value - The non-null value.
      • setTypeRef

        void setTypeRef​(org.kie.workbench.common.dmn.api.property.dmn.QName typeRef)
        Sets the domain object typeRef.
        Parameters:
        typeRef - The non-null typeRef.
      • getValueLabel

        String getValueLabel()
        Returns the String for the _value_ label.
        Returns:
        The non-null label.
      • normaliseValue

        String normaliseValue​(String value)
        Returns a _normalised_ value that can be used to populate the domain model from the value entered by Users.
        Parameters:
        value - The value to be normalised.
        Returns:
        A normalised value.