Class Filter.AttributeExpression
Object
se.curity.identityserver.sdk.data.query.Filter
se.curity.identityserver.sdk.data.query.Filter.AttributeExpression
- Enclosing class:
- Filter
An attribute expression represents a comparison between a named attribute and a given value using some mechanism
defined by a given operator.
-
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
ConstructorsConstructorDescriptionAttributeExpression(Filter.AttributeOperator operator, String attributeName) This a convenience constructor and is equal to callingnew AttributeExpression(operator, attributeName, null).AttributeExpression(Filter.AttributeOperator operator, String attributeName, @Nullable Object value) Constructs anFilter.AttributeExpressionused for comparing a named attribute against a specified value using a mechanism described by a specified operator. -
Method Summary
-
Constructor Details
-
AttributeExpression
This a convenience constructor and is equal to callingnew AttributeExpression(operator, attributeName, null).- Parameters:
operator- theFilter.AttributeOperatordefining the comparison mechanism to useattributeName- the name of the attribute to compare
-
AttributeExpression
public AttributeExpression(Filter.AttributeOperator operator, String attributeName, @Nullable Object value) Constructs anFilter.AttributeExpressionused for comparing a named attribute against a specified value using a mechanism described by a specified operator.- Parameters:
operator- theFilter.AttributeOperatordefining the comparison mechanism to useattributeName- the name of the attribute to comparevalue- the value to compare the attribute against
-
-
Method Details
-
getAttributeName
Returns the name of the attribute to compare.- Returns:
- the name of the attribute to compare
-
getOperator
Returns the operator representing the mechanism that is used to compare the named attribute against the specified value.- Returns:
- the
Filter.AttributeOperatorrepresenting the comparison mechanism to use
-
getValue
Returns the value this expression compares the named attribute against.- Returns:
- the value to compare the attribute against
-
toString
-