Class AnyInFilterImpl<T>
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.prism.impl.query.ObjectFilterImpl
-
- com.evolveum.midpoint.prism.impl.query.ValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
- com.evolveum.midpoint.prism.impl.query.PropertyValueFilterImpl<T>
-
- com.evolveum.midpoint.prism.impl.query.AnyInFilterImpl<T>
-
- All Implemented Interfaces:
Freezable
,Itemable
,PrismContextSensitive
,AnyInFilter<T>
,ItemFilter
,ObjectFilter
,PropertyValueFilter<T>
,ValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
,Revivable
,DebugDumpable
,Serializable
public class AnyInFilterImpl<T> extends PropertyValueFilterImpl<T> implements AnyInFilter<T>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.prism.query.AnyInFilter
ELEMENT_NAME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AnyInFilterImpl(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @Nullable List<PrismPropertyValue<T>> prismPropertyValues, @Nullable ExpressionWrapper expression, @Nullable ItemPath rightHandSidePath, @Nullable ItemDefinition<?> rightHandSideDefinition)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnyInFilterImpl<T>
clone()
Does a SHALLOW clone.static <T> @NotNull AnyInFilter<T>
createAnyIn(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule)
static <T> @NotNull AnyInFilter<T>
createAnyIn(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, @NotNull ExpressionWrapper expression)
static <T> @NotNull AnyInFilter<T>
createAnyIn(@NotNull ItemPath path, @Nullable PrismPropertyDefinition<T> definition, @Nullable QName matchingRule, Object... values)
static <T> @NotNull AnyInFilter<T>
createAnyIn(@NotNull ItemPath propertyPath, PrismPropertyDefinition<T> propertyDefinition, QName matchingRule, @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition)
boolean
equals(Object obj, boolean exact)
protected String
getFilterName()
boolean
match(PrismContainerValue<?> objectValue, MatchingRuleRegistry matchingRuleRegistry)
ValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
nested(ItemPath existsPath)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.query.ValueFilterImpl
canNestInsideExists, checkConsistence, debugDump, debugDump, equals, getDeclaredMatchingRule, getDefinition, getElementName, getExpression, getFullPath, getParentPath, getPath, getPrismContext, getRightHandSideDefinition, getRightHandSidePath, getSingleValue, getValues, hashCode, isRaw, performFreeze, setDefinition, setExpression, setMatchingRule, setRightHandSideDefinition, setRightHandSidePath, setValue, toString, toString
-
Methods inherited from class com.evolveum.midpoint.prism.impl.query.ObjectFilterImpl
accept, revive, setPrismContext
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.query.ObjectFilter
accept, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.query.PropertyValueFilter
getMatchingRule
-
Methods inherited from interface com.evolveum.midpoint.prism.query.ValueFilter
canNestInsideExists, checkConsistence, getDeclaredMatchingRule, getDefinition, getElementName, getExpression, getFullPath, getParentPath, getPath, getRightHandSideDefinition, getRightHandSidePath, getSingleValue, getValues, hasNoValue, isRaw, matchesOnly, setDefinition, setExpression, setMatchingRule, setRightHandSideDefinition, setRightHandSidePath, setValue
-
-
-
-
Constructor Detail
-
AnyInFilterImpl
public AnyInFilterImpl(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, @Nullable @Nullable List<PrismPropertyValue<T>> prismPropertyValues, @Nullable @Nullable ExpressionWrapper expression, @Nullable @Nullable ItemPath rightHandSidePath, @Nullable @Nullable ItemDefinition<?> rightHandSideDefinition)
-
-
Method Detail
-
createAnyIn
@NotNull public static <T> @NotNull AnyInFilter<T> createAnyIn(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule)
-
createAnyIn
@NotNull public static <T> @NotNull AnyInFilter<T> createAnyIn(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, Object... values)
-
createAnyIn
@NotNull public static <T> @NotNull AnyInFilter<T> createAnyIn(@NotNull @NotNull ItemPath path, @Nullable @Nullable PrismPropertyDefinition<T> definition, @Nullable @Nullable QName matchingRule, @NotNull @NotNull ExpressionWrapper expression)
-
createAnyIn
@NotNull public static <T> @NotNull AnyInFilter<T> createAnyIn(@NotNull @NotNull ItemPath propertyPath, PrismPropertyDefinition<T> propertyDefinition, QName matchingRule, @NotNull @NotNull ItemPath rightSidePath, ItemDefinition<?> rightSideDefinition)
-
clone
public AnyInFilterImpl<T> clone()
Description copied from interface:ObjectFilter
Does a SHALLOW clone.- Specified by:
clone
in interfaceAnyInFilter<T>
- Specified by:
clone
in interfaceObjectFilter
- Specified by:
clone
in interfacePropertyValueFilter<T>
- Specified by:
clone
in interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
- Specified by:
clone
in classPropertyValueFilterImpl<T>
-
getFilterName
protected String getFilterName()
- Specified by:
getFilterName
in classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
match
public boolean match(PrismContainerValue<?> objectValue, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
- Specified by:
match
in interfaceObjectFilter
- Specified by:
match
in interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
- Specified by:
match
in classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
- Throws:
SchemaException
-
equals
public boolean equals(Object obj, boolean exact)
- Specified by:
equals
in interfaceObjectFilter
- Specified by:
equals
in interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
- Overrides:
equals
in classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
nested
public ValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>> nested(ItemPath existsPath)
- Specified by:
nested
in interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
-