com.holonplatform.core.property

## Interface PropertyValuePresenter<T>

- Type Parameters:
    `T` - Property value type
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface PropertyValuePresenter<T>

  Presenter to obtain the value of a `Property` as a `String`.

  PropertyValuePresenters are managed by a `PropertyValuePresenterRegistry`, which handles the presenters registration and returns a suitable presenter for a `Property` relying on the conditions with which the presenters were registered.

  Since:
    5.0.0
  See Also:
    `PropertyValuePresenterRegistry`, `Property.present(Object)`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `DEFAULT_PRIORITY` Default `PropertyValuePresenter` priority if not specified using `Priority` annotation.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `present(Property<T> property, T value)` Get the `value` of the given `property` as `String`.

- - ### Field Detail

    - #### DEFAULT_PRIORITY

          static final int DEFAULT_PRIORITY

      Default `PropertyValuePresenter` priority if not specified using `Priority` annotation.
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### present

          String present(Property<T> property,
                         T value)

      Get the `value` of the given `property` as `String`.
      Parameters:
        `property` - Property to which the value refers (not null)
        `value` - Value to present (may be null)
      Returns:
        String representation of the value

Copyright © 2019 The Holon Platform. All rights reserved.