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 Detail

      • getName

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

        @NotNull
        @NotNull java.lang.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 java.util.List<T> getValues()
        Returns:
        List of values
      • isValid

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