Class ConditionalSearchFilterType
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.prism.xml.ns._public.query_3.SearchFilterType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ConditionalSearchFilterType
-
- All Implemented Interfaces:
Freezable
,JaxbVisitable
,DebugDumpable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ConditionalSearchFilterType extends SearchFilterType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
A filter with an expression that denotes a necessary condition for the filter to be applied. <p>Java class for ConditionalSearchFilterType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="ConditionalSearchFilterType"> <complexContent> <extension base="{http://prism.evolveum.com/xml/ns/public/query-3}SearchFilterType"> <sequence> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected ExpressionType
condition
static ItemName
F_CONDITION
-
Fields inherited from class com.evolveum.prism.xml.ns._public.query_3.SearchFilterType
description, F_DESCRIPTION, F_TEXT, filterClauseXNode, text
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ConditionalSearchFilterType()
Creates a new {@code ConditionalSearchFilterType} instance.ConditionalSearchFilterType(ConditionalSearchFilterType o)
Creates a new {@code ConditionalSearchFilterType} instance by deeply copying a given {@code ConditionalSearchFilterType} instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
beginCondition()
ConditionalSearchFilterType
clone()
Creates and returns a deep copy of this object.ConditionalSearchFilterType
condition(ExpressionType value)
ConditionalSearchFilterType
description(String value)
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)
ExpressionType
getCondition()
Gets the value of the condition property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
void
setCondition(ExpressionType value)
Sets the value of the condition property.ConditionalSearchFilterType
text(String value)
String
toString()
Generates a String representation of the contents of this type.-
Methods inherited from class com.evolveum.prism.xml.ns._public.query_3.SearchFilterType
containsFilterClause, createFromParsedXNode, debugDump, getDescription, getFilterClauseAsRootXNode, getFilterClauseXNode, getText, parseFromXNode, performFreeze, serializeToXNode, setDescription, setFilterClauseXNode, setFilterClauseXNode, setText
-
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
-
-
-
-
Field Detail
-
condition
protected ExpressionType condition
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_CONDITION
public static final ItemName F_CONDITION
-
-
Constructor Detail
-
ConditionalSearchFilterType
public ConditionalSearchFilterType()
Creates a new {@code ConditionalSearchFilterType} instance.
-
ConditionalSearchFilterType
public ConditionalSearchFilterType(ConditionalSearchFilterType o)
Creates a new {@code ConditionalSearchFilterType} instance by deeply copying a given {@code ConditionalSearchFilterType} instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- if {@code o} is {@code null}.
-
-
Method Detail
-
getCondition
public ExpressionType getCondition()
Gets the value of the condition property.- Returns:
- possible object is
ExpressionType
-
setCondition
public void setCondition(ExpressionType value)
Sets the value of the condition property.- Parameters:
value
- allowed object isExpressionType
-
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- Overrides:
toString
in classSearchFilterType
-
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
- Overrides:
hashCode
in classSearchFilterType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSearchFilterType
-
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
- Overrides:
equals
in classSearchFilterType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classSearchFilterType
-
condition
public ConditionalSearchFilterType condition(ExpressionType value)
-
beginCondition
public ExpressionType beginCondition()
-
description
public ConditionalSearchFilterType description(String value)
-
text
public ConditionalSearchFilterType text(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classSearchFilterType
-
clone
public ConditionalSearchFilterType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classSearchFilterType
- Returns:
- A deep copy of this object.
-
-