com.holonplatform.vaadin.flow.components

## Interface HasPropertySet<P>

- Type Parameters:
    `P` - Property type
  All Known Subinterfaces:
    BoundComponentGroup<P,C>, ItemListing.EditorComponentGroup<P,T>, PropertyInputForm, PropertyInputGroup, PropertyListing, PropertyViewForm, PropertyViewGroup

      public interface HasPropertySet<P>

  Represents an object bound to a property set.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<P>` | `getProperties()` Gets the available properties.
    `default boolean` | `hasProperty(P property)` Gets whether the property set contains the given `property`.

- - ### Method Detail

    - #### getProperties

          Collection<P> getProperties()

      Gets the available properties.
      Returns:
        The property set, empty if no property is available

    - #### hasProperty

          default boolean hasProperty(P property)

      Gets whether the property set contains the given `property`.
      Parameters:
        `property` - The property to check (not null)
      Returns:
        `true` if the property set contains the given `property`, `false` otherwise

Copyright © 2019 The Holon Platform. All rights reserved.