public abstract class ValueFilter<V extends PrismValue,D extends ItemDefinition> extends ObjectFilter implements Itemable, ItemFilter
INDENT_STRING
Modifier | Constructor and Description |
---|---|
protected |
ValueFilter(ItemPath fullPath,
D definition)
TODO decide whether to make these fields final.
|
protected |
ValueFilter(ItemPath fullPath,
D definition,
QName matchingRule,
List<V> values,
ExpressionWrapper expression,
ItemPath rightHandSidePath,
ItemDefinition rightHandSideDefinition) |
accept, revive, setPrismContext
finalize, getClass, notify, notifyAll, wait, wait, wait
debugDumpLazily, debugDumpLazily
protected ValueFilter(@NotNull ItemPath fullPath, @Nullable D definition)
protected ValueFilter(@NotNull ItemPath fullPath, @Nullable D definition, @Nullable QName matchingRule, @Nullable List<V> values, @Nullable ExpressionWrapper expression, @Nullable ItemPath rightHandSidePath, @Nullable ItemDefinition rightHandSideDefinition)
@NotNull public ItemPath getFullPath()
getFullPath
in interface ItemFilter
@NotNull public ItemPath getParentPath()
@NotNull public QName getElementName()
getElementName
in interface Itemable
@Nullable public D getDefinition()
getDefinition
in interface Itemable
public void setDefinition(@Nullable D definition)
@Nullable public QName getMatchingRule()
public void setMatchingRule(@Nullable QName matchingRule)
@Nullable public V getSingleValue()
public void setValue(V value)
value
- value, has to be parent-less@Nullable public ExpressionWrapper getExpression()
public void setExpression(@Nullable ExpressionWrapper expression)
@Nullable public ItemPath getRightHandSidePath()
public void setRightHandSidePath(@Nullable ItemPath rightHandSidePath)
@Nullable public ItemDefinition getRightHandSideDefinition()
public void setRightHandSideDefinition(@Nullable ItemDefinition rightHandSideDefinition)
public PrismContext getPrismContext()
getPrismContext
in interface Itemable
getPrismContext
in class ObjectFilter
public boolean isRaw()
public boolean match(PrismContainerValue cvalue, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
match
in class ObjectFilter
SchemaException
public abstract ValueFilter clone()
ObjectFilter
clone
in class ObjectFilter
public boolean equals(Object o, boolean exact)
equals
in class ObjectFilter
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
protected abstract String getFilterName()
protected void debugDump(int indent, StringBuilder sb)
protected String toString(StringBuilder sb)
public void checkConsistence(boolean requireDefinitions)
checkConsistence
in class ObjectFilter
Copyright © 2019 Evolveum. All rights reserved.