Class SearchObjectExpressionEvaluatorType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TransformExpressionEvaluatorType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SearchObjectExpressionEvaluatorType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
AssignmentTargetSearchExpressionEvaluatorType
,ReferenceSearchExpressionEvaluatorType
public class SearchObjectExpressionEvaluatorType extends TransformExpressionEvaluatorType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Create an expression based on search results. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Note: search expression evaluators have changed default for includeNullInputs. Null inputs are NOT processed by search expression evaluators by default. The reason is that null inputs are usually insignificant for search expression and skipping them results in fewer search operations. </p>
Java class for SearchObjectExpressionEvaluatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchObjectExpressionEvaluatorType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TransformExpressionEvaluatorType"> <sequence> <element name="targetType" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="oid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="filter" type="{http://prism.evolveum.com/xml/ns/public/query-3}SearchFilterType" minOccurs="0"/> <element name="searchStrategy" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectSearchStrategyType" minOccurs="0"/> <element name="defaultTargetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="createOnDemand" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="populateObject" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PopulateType" minOccurs="0"/> <element name="populate" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PopulateType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected Boolean
createOnDemand
protected ObjectReferenceType
defaultTargetRef
static ItemName
F_CREATE_ON_DEMAND
static ItemName
F_DEFAULT_TARGET_REF
static ItemName
F_FILTER
static ItemName
F_OID
static ItemName
F_POPULATE
static ItemName
F_POPULATE_OBJECT
static ItemName
F_SEARCH_STRATEGY
static ItemName
F_TARGET_TYPE
protected SearchFilterType
filter
protected String
oid
protected PopulateType
populate
protected PopulateType
populateObject
protected ObjectSearchStrategyType
searchStrategy
protected QName
targetType
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.TransformExpressionEvaluatorType
condition, description, documentation, F_CONDITION, F_DESCRIPTION, F_DOCUMENTATION, F_INCLUDE_NULL_INPUTS, F_RELATIVITY_MODE, F_TRACE, includeNullInputs, relativityMode, trace
-
-
Constructor Summary
Constructors Constructor Description SearchObjectExpressionEvaluatorType()
Creates a newSearchObjectExpressionEvaluatorType
instance.SearchObjectExpressionEvaluatorType(SearchObjectExpressionEvaluatorType o)
Creates a newSearchObjectExpressionEvaluatorType
instance by deeply copying a givenSearchObjectExpressionEvaluatorType
instance.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.TransformExpressionEvaluatorType
getCondition, getDescription, getDocumentation, getRelativityMode, isIncludeNullInputs, isTrace, setCondition, setDescription, setDocumentation, setIncludeNullInputs, setRelativityMode, setTrace
-
-
-
-
Field Detail
-
targetType
protected QName targetType
-
oid
protected String oid
-
filter
protected SearchFilterType filter
-
searchStrategy
protected ObjectSearchStrategyType searchStrategy
-
defaultTargetRef
protected ObjectReferenceType defaultTargetRef
-
createOnDemand
protected Boolean createOnDemand
-
populateObject
protected PopulateType populateObject
-
populate
protected PopulateType populate
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TARGET_TYPE
public static final ItemName F_TARGET_TYPE
-
F_OID
public static final ItemName F_OID
-
F_FILTER
public static final ItemName F_FILTER
-
F_SEARCH_STRATEGY
public static final ItemName F_SEARCH_STRATEGY
-
F_DEFAULT_TARGET_REF
public static final ItemName F_DEFAULT_TARGET_REF
-
F_CREATE_ON_DEMAND
public static final ItemName F_CREATE_ON_DEMAND
-
F_POPULATE_OBJECT
public static final ItemName F_POPULATE_OBJECT
-
F_POPULATE
public static final ItemName F_POPULATE
-
-
Constructor Detail
-
SearchObjectExpressionEvaluatorType
public SearchObjectExpressionEvaluatorType()
Creates a newSearchObjectExpressionEvaluatorType
instance.
-
SearchObjectExpressionEvaluatorType
public SearchObjectExpressionEvaluatorType(SearchObjectExpressionEvaluatorType o)
Creates a newSearchObjectExpressionEvaluatorType
instance by deeply copying a givenSearchObjectExpressionEvaluatorType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getTargetType
public QName getTargetType()
Gets the value of the targetType property.- Returns:
- possible object is
QName
-
setTargetType
public void setTargetType(QName value)
Sets the value of the targetType property.- Parameters:
value
- allowed object isQName
-
getOid
public String getOid()
Gets the value of the oid property.- Returns:
- possible object is
String
-
setOid
public void setOid(String value)
Sets the value of the oid property.- Parameters:
value
- allowed object isString
-
getFilter
public SearchFilterType getFilter()
Gets the value of the filter property.- Returns:
- possible object is
SearchFilterType
-
setFilter
public void setFilter(SearchFilterType value)
Sets the value of the filter property.- Parameters:
value
- allowed object isSearchFilterType
-
getSearchStrategy
public ObjectSearchStrategyType getSearchStrategy()
Gets the value of the searchStrategy property.- Returns:
- possible object is
ObjectSearchStrategyType
-
setSearchStrategy
public void setSearchStrategy(ObjectSearchStrategyType value)
Sets the value of the searchStrategy property.- Parameters:
value
- allowed object isObjectSearchStrategyType
-
getDefaultTargetRef
public ObjectReferenceType getDefaultTargetRef()
Gets the value of the defaultTargetRef property.- Returns:
- possible object is
ObjectReferenceType
-
setDefaultTargetRef
public void setDefaultTargetRef(ObjectReferenceType value)
Sets the value of the defaultTargetRef property.- Parameters:
value
- allowed object isObjectReferenceType
-
isCreateOnDemand
public Boolean isCreateOnDemand()
Gets the value of the createOnDemand property.- Returns:
- possible object is
Boolean
-
setCreateOnDemand
public void setCreateOnDemand(Boolean value)
Sets the value of the createOnDemand property.- Parameters:
value
- allowed object isBoolean
-
getPopulateObject
public PopulateType getPopulateObject()
Gets the value of the populateObject property.- Returns:
- possible object is
PopulateType
-
setPopulateObject
public void setPopulateObject(PopulateType value)
Sets the value of the populateObject property.- Parameters:
value
- allowed object isPopulateType
-
getPopulate
public PopulateType getPopulate()
Gets the value of the populate property.- Returns:
- possible object is
PopulateType
-
setPopulate
public void setPopulate(PopulateType value)
Sets the value of the populate property.- Parameters:
value
- allowed object isPopulateType
-
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 classTransformExpressionEvaluatorType
-
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 classTransformExpressionEvaluatorType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTransformExpressionEvaluatorType
-
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 classTransformExpressionEvaluatorType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classTransformExpressionEvaluatorType
-
targetType
public SearchObjectExpressionEvaluatorType targetType(QName value)
-
oid
public SearchObjectExpressionEvaluatorType oid(String value)
-
filter
public SearchObjectExpressionEvaluatorType filter(SearchFilterType value)
-
beginFilter
public SearchFilterType beginFilter()
-
searchStrategy
public SearchObjectExpressionEvaluatorType searchStrategy(ObjectSearchStrategyType value)
-
defaultTargetRef
public SearchObjectExpressionEvaluatorType defaultTargetRef(ObjectReferenceType value)
-
defaultTargetRef
public SearchObjectExpressionEvaluatorType defaultTargetRef(String oid, QName type)
-
defaultTargetRef
public SearchObjectExpressionEvaluatorType defaultTargetRef(String oid, QName type, QName relation)
-
beginDefaultTargetRef
public ObjectReferenceType beginDefaultTargetRef()
-
createOnDemand
public SearchObjectExpressionEvaluatorType createOnDemand(Boolean value)
-
populateObject
public SearchObjectExpressionEvaluatorType populateObject(PopulateType value)
-
beginPopulateObject
public PopulateType beginPopulateObject()
-
populate
public SearchObjectExpressionEvaluatorType populate(PopulateType value)
-
beginPopulate
public PopulateType beginPopulate()
-
description
public SearchObjectExpressionEvaluatorType description(String value)
- Overrides:
description
in classTransformExpressionEvaluatorType
-
documentation
public SearchObjectExpressionEvaluatorType documentation(String value)
- Overrides:
documentation
in classTransformExpressionEvaluatorType
-
trace
public SearchObjectExpressionEvaluatorType trace(Boolean value)
- Overrides:
trace
in classTransformExpressionEvaluatorType
-
relativityMode
public SearchObjectExpressionEvaluatorType relativityMode(TransformExpressionRelativityModeType value)
- Overrides:
relativityMode
in classTransformExpressionEvaluatorType
-
includeNullInputs
public SearchObjectExpressionEvaluatorType includeNullInputs(Boolean value)
- Overrides:
includeNullInputs
in classTransformExpressionEvaluatorType
-
condition
public SearchObjectExpressionEvaluatorType condition(ExpressionType value)
- Overrides:
condition
in classTransformExpressionEvaluatorType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginCondition
in classTransformExpressionEvaluatorType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classTransformExpressionEvaluatorType
-
clone
public SearchObjectExpressionEvaluatorType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classTransformExpressionEvaluatorType
- Returns:
- A deep copy of this object.
-
-