Class ParentClause
java.lang.Object
com.evolveum.midpoint.schema.selector.spec.SelectorClause
com.evolveum.midpoint.schema.selector.spec.ParentClause
- All Implemented Interfaces:
DebugDumpable,Serializable
A clause that:
. Puts the (presumably) sub-object selector into the context of either a prism object, or upper-level container.
(Using a type in the
parentSelector and a path.)
. Optionally restricts the set of candidate parent values (of object or container).- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetName()Human-understandable name to be used e.g.@NotNull ValueSelector@NotNull ItemPathgetPath()booleanmatches(@NotNull PrismValue value, @NotNull MatchingContext ctx) Returns `true` if the `value` matches this clause.static ParentClauseof(@NotNull ValueSelector parent, @NotNull ItemPath path) booleantoFilter(@NotNull FilteringContext ctx) Converts the clause intoObjectFilter(passed toFilteringContext.filterCollector).toString()Methods inherited from class com.evolveum.midpoint.schema.selector.spec.SelectorClause
debugDump, requiresFullInformationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
of
public static ParentClause of(@NotNull @NotNull ValueSelector parent, @NotNull @NotNull ItemPath path) throws ConfigurationException - Throws:
ConfigurationException
-
getName
Description copied from class:SelectorClauseHuman-understandable name to be used e.g. in tracing messages.- Specified by:
getNamein classSelectorClause
-
getParentSelector
-
getPath
-
matches
public boolean matches(@NotNull @NotNull PrismValue value, @NotNull @NotNull MatchingContext ctx) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException Description copied from class:SelectorClauseReturns `true` if the `value` matches this clause. -
toFilter
public boolean toFilter(@NotNull @NotNull FilteringContext ctx) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException Description copied from class:SelectorClauseConverts the clause intoObjectFilter(passed toFilteringContext.filterCollector). Returns `false` if the clause is not applicable to given situation. -
toString
-