Class SearchFilterType
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.prism.xml.ns._public.query_3.SearchFilterType
-
- All Implemented Interfaces:
Freezable
,JaxbVisitable
,DebugDumpable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
ConditionalSearchFilterType
public class SearchFilterType extends AbstractFreezable implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, DebugDumpable, Freezable, JaxbVisitable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected String
description
static QName
F_DESCRIPTION
static QName
F_TEXT
protected MapXNode
filterClauseXNode
protected String
text
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description SearchFilterType()
Creates a newQueryType
instance.SearchFilterType(SearchFilterType o)
Creates a newQueryType
instance by deeply copying a givenQueryType
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
SearchFilterType
clone()
Creates and returns a deep copy of this object.boolean
containsFilterClause()
static SearchFilterType
createFromParsedXNode(XNode xnode, ParsingContext pc, PrismContext prismContext)
String
debugDump(int indent)
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
String
getDescription()
RootXNode
getFilterClauseAsRootXNode()
MapXNode
getFilterClauseXNode()
String
getText()
int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
void
parseFromXNode(XNode xnode, ParsingContext pc, PrismContext prismContext)
protected void
performFreeze()
MapXNode
serializeToXNode(PrismContext prismContext)
void
setDescription(String description)
void
setFilterClauseXNode(MapXNode filterClauseXNode)
void
setFilterClauseXNode(RootXNode filterClauseNode)
void
setText(String text)
String
toString()
Generates a String representation of the contents of this type.-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
-
-
-
Constructor Detail
-
SearchFilterType
public SearchFilterType()
Creates a newQueryType
instance.
-
SearchFilterType
public SearchFilterType(SearchFilterType o)
Creates a newQueryType
instance by deeply copying a givenQueryType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getDescription
public String getDescription()
-
getText
public String getText()
-
setDescription
public void setDescription(String description)
-
setText
public void setText(String text)
-
containsFilterClause
public boolean containsFilterClause()
-
setFilterClauseXNode
public void setFilterClauseXNode(MapXNode filterClauseXNode)
-
setFilterClauseXNode
public void setFilterClauseXNode(RootXNode filterClauseNode)
-
getFilterClauseXNode
public MapXNode getFilterClauseXNode()
-
getFilterClauseAsRootXNode
public RootXNode getFilterClauseAsRootXNode() throws SchemaException
- Throws:
SchemaException
-
createFromParsedXNode
public static SearchFilterType createFromParsedXNode(XNode xnode, ParsingContext pc, PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
parseFromXNode
public void parseFromXNode(XNode xnode, ParsingContext pc, PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
serializeToXNode
public MapXNode serializeToXNode(PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
clone
public SearchFilterType clone()
Creates and returns a deep copy of this object.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
performFreeze
protected void performFreeze()
- Overrides:
performFreeze
in classAbstractFreezable
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
-