Class SearchExpression
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.SearchExpression
Representation of a OData query parameter for Search Modifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionand
(SearchExpression searchExpression) Combine current search expression with another search expression in conjunction.Combine current string with another search string in conjunction.protected String
getTerm()
not()
Negate the current search expression.static SearchExpression
Create a search expression for a single string.or
(SearchExpression searchExpression) Combine current search expression with another search expression in disjunction.Combine current string with another search string in disjunction.
-
Constructor Details
-
SearchExpression
-
-
Method Details
-
of
Create a search expression for a single string.- Parameters:
term
- The search string- Returns:
- Search Expression with a single search string.
-
and
Combine current string with another search string in conjunction.- Parameters:
term
- The other search string.- Returns:
- Search Expression with a conjunction string.
-
and
Combine current search expression with another search expression in conjunction.- Parameters:
searchExpression
- The other search expression.- Returns:
- Search Expression with a conjunction.
-
or
Combine current string with another search string in disjunction.- Parameters:
term
- The other search string.- Returns:
- Search Expression with a disjunction string.
-
or
Combine current search expression with another search expression in disjunction.- Parameters:
searchExpression
- The other search expression.- Returns:
- Search Expression with a disjunction.
-
not
Negate the current search expression.- Returns:
- Modified search expression with negation.
-
getTerm
-