Interface HasValueAndTypeRef<V>

    • Method Detail

      • toModelValue

        V toModelValue​(String componentValue)
        Converts the value in the UI to the domain model value.
        Parameters:
        componentValue -
        Returns:
      • toWidgetValue

        String toWidgetValue​(V modelValue)
        Converts the value in the domain model to the UI value.
        Parameters:
        modelValue -
        Returns:
      • normaliseValue

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