Class Filter.LogicalExpression
Object
se.curity.identityserver.sdk.data.query.Filter
se.curity.identityserver.sdk.data.query.Filter.LogicalExpression
- Enclosing class:
- Filter
A logical expression combines a pair of filters by applying some logical operator to them.
-
Nested Class Summary
Nested classes/interfaces inherited from class se.curity.identityserver.sdk.data.query.Filter
Filter.AttributeExpression, Filter.AttributeOperator, Filter.LogicalExpression, Filter.LogicalOperator, Filter.NotExpression -
Constructor Summary
ConstructorsConstructorDescriptionLogicalExpression(Filter.LogicalOperator operator, Filter leftHandFilter, Filter rightHandFilter) Constructs aFilter.LogicalExpressionused for combining twoFilters using a mechanism described by a specified operator. -
Method Summary
Modifier and TypeMethodDescriptionReturns the filter on the left hand side of the operator.Returns the operator combining the left hand filter and the right hand filter.Returns the filter on the right hand side of the operator.toString()
-
Constructor Details
-
LogicalExpression
public LogicalExpression(Filter.LogicalOperator operator, Filter leftHandFilter, Filter rightHandFilter) Constructs aFilter.LogicalExpressionused for combining twoFilters using a mechanism described by a specified operator.- Parameters:
operator- theFilter.LogicalOperatorused for combining the givenFilterpairleftHandFilter- theFilterdeclared before the operator when serialized to a stringrightHandFilter- theFilterdeclared after the operator when serialized to a string
-
-
Method Details
-
getOperator
Returns the operator combining the left hand filter and the right hand filter.- Returns:
- the
Filter.LogicalOperatorcombining theFilterpair
-
getLeftHandFilter
Returns the filter on the left hand side of the operator.- Returns:
- the child
Filterdeclared before theFilter.LogicalOperatorwhen this filter is serialized to a string
-
getRightHandFilter
Returns the filter on the right hand side of the operator.- Returns:
- the child
Filterdeclared after theFilter.LogicalOperatorwhen this filter is serialized to a string
-
toString
-