com.evolveum.midpoint.prism.query
Class EqualsFilter

java.lang.Object
  extended by com.evolveum.midpoint.prism.query.ObjectFilter
      extended by com.evolveum.midpoint.prism.query.ValueFilter
          extended by com.evolveum.midpoint.prism.query.PropertyValueFilter
              extended by com.evolveum.midpoint.prism.query.EqualsFilter
All Implemented Interfaces:
Itemable, DebugDumpable, Dumpable, Serializable

public class EqualsFilter
extends PropertyValueFilter
implements Itemable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Method Summary
 EqualsFilter clone()
           
static EqualsFilter createEqual(Class<? extends Objectable> type, PrismContext prismContext, ItemPath propertyPath, Object realValue)
           
static EqualsFilter createEqual(Class<? extends Objectable> type, PrismContext prismContext, QName propertyName, Object realValue)
           
static EqualsFilter createEqual(ItemPath path, ItemDefinition itemDef, Element expression)
           
static EqualsFilter createEqual(ItemPath path, ItemDefinition itemDef, List<PrismValue> values)
           
static EqualsFilter createEqual(ItemPath parentPath, ItemDefinition item, Object realValue)
           
static EqualsFilter createEqual(ItemPath path, ItemDefinition itemDef, PrismValue value)
           
static EqualsFilter createEqual(ItemPath parentPath, PrismContainerDefinition<? extends Containerable> containerDef, QName propertyName, Object realValue)
           
static EqualsFilter createEqual(ItemPath parentPath, PrismContainerDefinition<? extends Containerable> containerDef, QName propertyName, PrismValue... values)
           
 String debugDump()
          Show the content of the object intended for diagnostics by system administrator.
 String debugDump(int indent)
           
 String dump()
          Show the content of the object intended for diagnostics by developer.
 QName getName()
           
 ItemPath getPath(ItemPath pathPrefix)
           
 PrismContext getPrismContext()
           
 String toString()
           
 
Methods inherited from class com.evolveum.midpoint.prism.query.PropertyValueFilter
cloneValues, createPropertyFilter, createPropertyFilter, createPropertyFilter, createPropertyFilter, createPropertyFilter, getValues, setValue, setValues
 
Methods inherited from class com.evolveum.midpoint.prism.query.ValueFilter
cloneValues, getDefinition, getParentPath, setDefinition, setParentPath
 
Methods inherited from class com.evolveum.midpoint.prism.query.ObjectFilter
cloneValues, getExpression, setExpression
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.evolveum.midpoint.prism.Itemable
getDefinition
 

Method Detail

createEqual

public static EqualsFilter createEqual(ItemPath path,
                                       ItemDefinition itemDef,
                                       PrismValue value)

createEqual

public static EqualsFilter createEqual(ItemPath path,
                                       ItemDefinition itemDef,
                                       List<PrismValue> values)

createEqual

public static EqualsFilter createEqual(ItemPath path,
                                       ItemDefinition itemDef,
                                       Element expression)

createEqual

public static EqualsFilter createEqual(ItemPath parentPath,
                                       ItemDefinition item,
                                       Object realValue)

createEqual

public static EqualsFilter createEqual(ItemPath parentPath,
                                       PrismContainerDefinition<? extends Containerable> containerDef,
                                       QName propertyName,
                                       PrismValue... values)
                                throws SchemaException
Throws:
SchemaException

createEqual

public static EqualsFilter createEqual(ItemPath parentPath,
                                       PrismContainerDefinition<? extends Containerable> containerDef,
                                       QName propertyName,
                                       Object realValue)
                                throws SchemaException
Throws:
SchemaException

createEqual

public static EqualsFilter createEqual(Class<? extends Objectable> type,
                                       PrismContext prismContext,
                                       QName propertyName,
                                       Object realValue)
                                throws SchemaException
Throws:
SchemaException

createEqual

public static EqualsFilter createEqual(Class<? extends Objectable> type,
                                       PrismContext prismContext,
                                       ItemPath propertyPath,
                                       Object realValue)
                                throws SchemaException
Throws:
SchemaException

clone

public EqualsFilter clone()
Specified by:
clone in class ObjectFilter

dump

public String dump()
Description copied from interface: Dumpable
Show the content of the object intended for diagnostics by developer. The content may be multi-line, in case of hierarchical objects it may be intended. The use of this method may not be efficient. It is not supposed to be used in normal operation. However, it is very useful in tests or in case of dumping objects in severe error situations.

Specified by:
dump in interface Dumpable
Returns:
content of the object intended for diagnostics.

debugDump

public String debugDump()
Description copied from interface: DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.

Specified by:
debugDump in interface DebugDumpable
Returns:
content of the object intended for diagnostics by system administrator.

debugDump

public String debugDump(int indent)
Specified by:
debugDump in interface DebugDumpable

toString

public String toString()
Overrides:
toString in class Object

getName

public QName getName()
Specified by:
getName in interface Itemable

getPrismContext

public PrismContext getPrismContext()
Specified by:
getPrismContext in interface Itemable

getPath

public ItemPath getPath(ItemPath pathPrefix)
Specified by:
getPath in interface Itemable


Copyright © 2013 evolveum. All Rights Reserved.