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 SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier 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.SelectorClausedebugDump, requiresFullInformationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
ofpublic static ParentClause of(@NotNull @NotNull ValueSelector parent, @NotNull @NotNull ItemPath path) throws ConfigurationException - Throws:
- ConfigurationException
 
- 
getNameDescription copied from class:SelectorClauseHuman-understandable name to be used e.g. in tracing messages.- Specified by:
- getNamein class- SelectorClause
 
- 
getParentSelector
- 
getPath
- 
matchespublic 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.
- 
toFilterpublic 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
 
-