Interface GenericProperty<T extends GenericValue>

Type Parameters:
T - Property value type

@ProviderType public interface GenericProperty<T extends GenericValue>
Represents a property. The value can be a single value, or a list of values.
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      Returns:
      Property name
    • getLabel

      @NotNull @NotNull String getLabel()
      Returns:
      Property label
    • isSingleValue

      boolean isSingleValue()
      Returns:
      Returns true if property has only one value.
    • getValue

      @Nullable T getValue()
      Returns:
      Single value (first value).
    • getValues

      @NotNull @NotNull List<T> getValues()
      Returns:
      List of values
    • isValid

      boolean isValid()
      Returns:
      true if property contains at least one valid value