Interface FilterableString<EntityT>

Type Parameters:
EntityT - Type of the entity which references the value.
All Superinterfaces:
EntityReference<EntityT>, Expressions.Operand, FilterableValue<EntityT,String>
All Known Implementing Classes:
FilterableString.Expression, SimpleProperty.String

public interface FilterableString<EntityT> extends FilterableValue<EntityT,String>
Fluent helper class to provide filter functions to OData expressions referenced by String.
  • Method Details

    • matches

      @Nonnull default FilterableBoolean<EntityT> matches(@Nonnull String operand)
      Filter by expression "matchesPattern".
      Parameters:
      operand - String expression to match the string against.
      Returns:
      The FluentHelper filter.
    • matches

      @Nonnull default FilterableBoolean<EntityT> matches(@Nonnull FilterableString<EntityT> operand)
      Filter by expression "matchesPattern".
      Parameters:
      operand - String expression to match the string against.
      Returns:
      The FluentHelper filter.
    • toLower

      @Nonnull default FilterableString<EntityT> toLower()
      Filter by expression "tolower".
      Returns:
      The FluentHelper filter.
    • toUpper

      @Nonnull default FilterableString<EntityT> toUpper()
      Filter by expression "toupper".
      Returns:
      The FluentHelper filter.
    • trim

      @Nonnull default FilterableString<EntityT> trim()
      Filter by expression "trim".
      Returns:
      The FluentHelper filter.
    • length

      @Nonnull default FilterableNumericInteger<EntityT> length()
      Filter by expression "length".
      Returns:
      The FluentHelper filter.
    • concat

      @Nonnull default FilterableString<EntityT> concat(@Nonnull FilterableString<EntityT> operand)
      Filter by expression "concat".
      Parameters:
      operand - The string to concatenate with.
      Returns:
      The FluentHelper filter.
    • concat

      @Nonnull default FilterableString<EntityT> concat(@Nonnull String operand)
      Filter by expression "concat".
      Parameters:
      operand - The string to concatenate with.
      Returns:
      The FluentHelper filter.
    • startsWith

      @Nonnull default FilterableBoolean<EntityT> startsWith(@Nonnull FilterableString<EntityT> operand)
      Filter by expression "startswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • startsWith

      @Nonnull default FilterableBoolean<EntityT> startsWith(@Nonnull String operand)
      Filter by expression "startswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • endsWith

      @Nonnull default FilterableBoolean<EntityT> endsWith(@Nonnull FilterableString<EntityT> operand)
      Filter by expression "endswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • endsWith

      @Nonnull default FilterableBoolean<EntityT> endsWith(@Nonnull String operand)
      Filter by expression "endswith".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • contains

      @Nonnull default FilterableBoolean<EntityT> contains(@Nonnull FilterableString<EntityT> operand)
      Filter by expression "contain".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • contains

      @Nonnull default FilterableBoolean<EntityT> contains(@Nonnull String operand)
      Filter by expression "contain".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • indexOf

      @Nonnull default FilterableNumericInteger<EntityT> indexOf(@Nonnull FilterableString<EntityT> operand)
      Filter by expression "indexof".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • indexOf

      @Nonnull default FilterableNumericInteger<EntityT> indexOf(@Nonnull String operand)
      Filter by expression "indexof".
      Parameters:
      operand - The substring which is checked for.
      Returns:
      The FluentHelper filter.
    • substring

      @Nonnull default FilterableString<EntityT> substring(@Nonnull Integer operand)
      Filter by expression "substring".
      Parameters:
      operand - The number of characters to cut off.
      Returns:
      The FluentHelper filter.
    • substring

      @Nonnull default FilterableString<EntityT> substring(@Nonnull Integer operandIndex, @Nonnull Integer operandLength)
      Filter by expression "substring".
      Parameters:
      operandIndex - The number of characters to cut off.
      operandLength - The number of characters to keep in.
      Returns:
      The FluentHelper filter.