com.evolveum.midpoint.prism.query
Class SubstringFilter

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.StringValueFilter
              extended by com.evolveum.midpoint.prism.query.SubstringFilter
All Implemented Interfaces:
DebugDumpable, Dumpable, Serializable

public class SubstringFilter
extends StringValueFilter

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Constructor Summary
SubstringFilter(ItemPath parentPath, ItemDefinition definition, String value)
           
 
Method Summary
 SubstringFilter clone()
           
static SubstringFilter createSubstring(Class clazz, PrismContext prismContext, QName propertyName, String value)
           
static SubstringFilter createSubstring(ItemPath path, ItemDefinition definition, String value)
           
 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.
 String toString()
           
 
Methods inherited from class com.evolveum.midpoint.prism.query.StringValueFilter
getValue, setValue
 
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
 

Constructor Detail

SubstringFilter

public SubstringFilter(ItemPath parentPath,
                       ItemDefinition definition,
                       String value)
Method Detail

createSubstring

public static SubstringFilter createSubstring(ItemPath path,
                                              ItemDefinition definition,
                                              String value)

createSubstring

public static SubstringFilter createSubstring(Class clazz,
                                              PrismContext prismContext,
                                              QName propertyName,
                                              String value)

clone

public SubstringFilter 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.

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.

Returns:
content of the object intended for diagnostics by system administrator.

debugDump

public String debugDump(int indent)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 evolveum. All Rights Reserved.