Class SearchExpressionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.model.scripting_3.ScriptingExpressionType
-
- com.evolveum.midpoint.xml.ns._public.model.scripting_3.SearchExpressionType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class SearchExpressionType extends ScriptingExpressionType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Queries the model for objects of a given type, optionally fulfilling given condition.Java class for SearchExpressionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchExpressionType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/model/scripting-3}ScriptingExpressionType"> <sequence> <element name="type" type="{http://www.w3.org/2001/XMLSchema}QName"/> <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="query" type="{http://prism.evolveum.com/xml/ns/public/query-3}QueryType" minOccurs="0"/> <element name="searchFilter" type="{http://prism.evolveum.com/xml/ns/public/query-3}SearchFilterType" minOccurs="0"/> <element name="options" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SelectorQualifiedGetOptionsType" minOccurs="0"/> <element name="parameter" type="{http://midpoint.evolveum.com/xml/ns/public/model/scripting-3}ActionParameterValueType" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/model/scripting-3}scriptingExpression" minOccurs="0"/> <element name="aggregateOutput" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
aggregateOutput
static QName
COMPLEX_TYPE
static ItemName
F_AGGREGATE_OUTPUT
static ItemName
F_OPTIONS
static ItemName
F_PARAMETER
static ItemName
F_QUERY
static ItemName
F_SCRIPTING_EXPRESSION
static ItemName
F_SEARCH_FILTER
static ItemName
F_TYPE
static ItemName
F_VARIABLE
protected SelectorQualifiedGetOptionsType
options
protected List<ActionParameterValueType>
parameter
protected QueryType
query
protected javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>
scriptingExpression
protected SearchFilterType
searchFilter
protected QName
type
protected String
variable
-
Constructor Summary
Constructors Constructor Description SearchExpressionType()
Creates a newSearchExpressionType
instance.SearchExpressionType(SearchExpressionType o)
Creates a newSearchExpressionType
instance by deeply copying a givenSearchExpressionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
SearchExpressionType
aggregateOutput(Boolean value)
SelectorQualifiedGetOptionsType
beginOptions()
ActionParameterValueType
beginParameter()
QueryType
beginQuery()
SearchFilterType
beginSearchFilter()
SearchExpressionType
clone()
Creates and returns a deep copy of this object.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)
SelectorQualifiedGetOptionsType
getOptions()
Gets the value of the options property.List<ActionParameterValueType>
getParameter()
Gets the value of the parameter property.QueryType
getQuery()
Gets the value of the query property.javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>
getScriptingExpression()
Expression to evaluate for each object found.SearchFilterType
getSearchFilter()
Gets the value of the searchFilter property.QName
getType()
Gets the value of the type property.String
getVariable()
Gets the value of the variable property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Boolean
isAggregateOutput()
Gets the value of the aggregateOutput property.SearchExpressionType
options(SelectorQualifiedGetOptionsType value)
SearchExpressionType
parameter(ActionParameterValueType value)
SearchExpressionType
query(QueryType value)
SearchExpressionType
scriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)
SearchExpressionType
searchFilter(SearchFilterType value)
void
setAggregateOutput(Boolean value)
Sets the value of the aggregateOutput property.void
setOptions(SelectorQualifiedGetOptionsType value)
Sets the value of the options property.void
setQuery(QueryType value)
Sets the value of the query property.void
setScriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)
Sets the value of the scriptingExpression property.void
setSearchFilter(SearchFilterType value)
Sets the value of the searchFilter property.void
setType(QName value)
Sets the value of the type property.void
setVariable(String value)
Sets the value of the variable property.String
toString()
Generates a String representation of the contents of this type.SearchExpressionType
type(QName value)
SearchExpressionType
variable(String value)
-
-
-
Field Detail
-
type
protected QName type
-
variable
protected String variable
-
query
protected QueryType query
-
searchFilter
protected SearchFilterType searchFilter
-
options
protected SelectorQualifiedGetOptionsType options
-
parameter
protected List<ActionParameterValueType> parameter
-
scriptingExpression
protected javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> scriptingExpression
-
aggregateOutput
protected Boolean aggregateOutput
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TYPE
public static final ItemName F_TYPE
-
F_VARIABLE
public static final ItemName F_VARIABLE
-
F_QUERY
public static final ItemName F_QUERY
-
F_SEARCH_FILTER
public static final ItemName F_SEARCH_FILTER
-
F_OPTIONS
public static final ItemName F_OPTIONS
-
F_PARAMETER
public static final ItemName F_PARAMETER
-
F_SCRIPTING_EXPRESSION
public static final ItemName F_SCRIPTING_EXPRESSION
-
F_AGGREGATE_OUTPUT
public static final ItemName F_AGGREGATE_OUTPUT
-
-
Constructor Detail
-
SearchExpressionType
public SearchExpressionType()
Creates a newSearchExpressionType
instance.
-
SearchExpressionType
public SearchExpressionType(SearchExpressionType o)
Creates a newSearchExpressionType
instance by deeply copying a givenSearchExpressionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getType
public QName getType()
Gets the value of the type property.- Returns:
- possible object is
QName
-
setType
public void setType(QName value)
Sets the value of the type property.- Parameters:
value
- allowed object isQName
-
getVariable
public String getVariable()
Gets the value of the variable property.- Returns:
- possible object is
String
-
setVariable
public void setVariable(String value)
Sets the value of the variable property.- Parameters:
value
- allowed object isString
-
getQuery
public QueryType getQuery()
Gets the value of the query property.- Returns:
- possible object is
QueryType
-
setQuery
public void setQuery(QueryType value)
Sets the value of the query property.- Parameters:
value
- allowed object isQueryType
-
getSearchFilter
public SearchFilterType getSearchFilter()
Gets the value of the searchFilter property.- Returns:
- possible object is
SearchFilterType
-
setSearchFilter
public void setSearchFilter(SearchFilterType value)
Sets the value of the searchFilter property.- Parameters:
value
- allowed object isSearchFilterType
-
getOptions
public SelectorQualifiedGetOptionsType getOptions()
Gets the value of the options property.- Returns:
- possible object is
SelectorQualifiedGetOptionsType
-
setOptions
public void setOptions(SelectorQualifiedGetOptionsType value)
Sets the value of the options property.- Parameters:
value
- allowed object isSelectorQualifiedGetOptionsType
-
getParameter
public List<ActionParameterValueType> getParameter()
Gets the value of the parameter property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the parameter property.For example, to add a new item, do as follows:
getParameter().add(newItem);
Objects of the following type(s) are allowed in the list
ActionParameterValueType
-
getScriptingExpression
public javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> getScriptingExpression()
Expression to evaluate for each object found.- Returns:
- possible object is
JAXBElement
<
ActionExpressionType
>
JAXBElement
<
AddActionExpressionType
>
JAXBElement
<
ApplyDefinitionActionExpressionType
>
JAXBElement
<
AssignActionExpressionType
>
JAXBElement
<
DeleteActionExpressionType
>
JAXBElement
<
DisableActionExpressionType
>
JAXBElement
<
EnableActionExpressionType
>
JAXBElement
<
ExecuteScriptActionExpressionType
>
JAXBElement
<
ExpressionPipelineType
>
JAXBElement
<
ExpressionSequenceType
>
JAXBElement
<
FilterContentExpressionType
>
JAXBElement
<
FilterExpressionType
>
JAXBElement
<
ForeachExpressionType
>
JAXBElement
<
GenerateValueActionExpressionType
>
JAXBElement
<
LogActionExpressionType
>
JAXBElement
<
ModifyActionExpressionType
>
JAXBElement
<
NotifyActionExpressionType
>
JAXBElement
<
PurgeSchemaActionExpressionType
>
JAXBElement
<
RecomputeActionExpressionType
>
JAXBElement
<
ResolveReferenceActionExpressionType
>
JAXBElement
<
ResumeTaskActionExpressionType
>
JAXBElement
<
ScriptingExpressionType
>
JAXBElement
<
SearchExpressionType
>
JAXBElement
<
SelectExpressionType
>
JAXBElement
<
TestResourceActionExpressionType
>
JAXBElement
<
UnassignActionExpressionType
>
-
setScriptingExpression
public void setScriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)
Sets the value of the scriptingExpression property.- Parameters:
value
- allowed object isJAXBElement
<
ActionExpressionType
>
JAXBElement
<
AddActionExpressionType
>
JAXBElement
<
ApplyDefinitionActionExpressionType
>
JAXBElement
<
AssignActionExpressionType
>
JAXBElement
<
DeleteActionExpressionType
>
JAXBElement
<
DisableActionExpressionType
>
JAXBElement
<
EnableActionExpressionType
>
JAXBElement
<
ExecuteScriptActionExpressionType
>
JAXBElement
<
ExpressionPipelineType
>
JAXBElement
<
ExpressionSequenceType
>
JAXBElement
<
FilterContentExpressionType
>
JAXBElement
<
FilterExpressionType
>
JAXBElement
<
ForeachExpressionType
>
JAXBElement
<
GenerateValueActionExpressionType
>
JAXBElement
<
LogActionExpressionType
>
JAXBElement
<
ModifyActionExpressionType
>
JAXBElement
<
NotifyActionExpressionType
>
JAXBElement
<
PurgeSchemaActionExpressionType
>
JAXBElement
<
RecomputeActionExpressionType
>
JAXBElement
<
ResolveReferenceActionExpressionType
>
JAXBElement
<
ResumeTaskActionExpressionType
>
JAXBElement
<
ScriptingExpressionType
>
JAXBElement
<
SearchExpressionType
>
JAXBElement
<
SelectExpressionType
>
JAXBElement
<
TestResourceActionExpressionType
>
JAXBElement
<
UnassignActionExpressionType
>
-
isAggregateOutput
public Boolean isAggregateOutput()
Gets the value of the aggregateOutput property.- Returns:
- possible object is
Boolean
-
setAggregateOutput
public void setAggregateOutput(Boolean value)
Sets the value of the aggregateOutput property.- Parameters:
value
- allowed object isBoolean
-
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 classScriptingExpressionType
-
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 classScriptingExpressionType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classScriptingExpressionType
-
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 classScriptingExpressionType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classScriptingExpressionType
-
type
public SearchExpressionType type(QName value)
-
variable
public SearchExpressionType variable(String value)
-
query
public SearchExpressionType query(QueryType value)
-
beginQuery
public QueryType beginQuery()
-
searchFilter
public SearchExpressionType searchFilter(SearchFilterType value)
-
beginSearchFilter
public SearchFilterType beginSearchFilter()
-
options
public SearchExpressionType options(SelectorQualifiedGetOptionsType value)
-
beginOptions
public SelectorQualifiedGetOptionsType beginOptions()
-
parameter
public SearchExpressionType parameter(ActionParameterValueType value)
-
beginParameter
public ActionParameterValueType beginParameter()
-
scriptingExpression
public SearchExpressionType scriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)
-
aggregateOutput
public SearchExpressionType aggregateOutput(Boolean value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classScriptingExpressionType
-
clone
public SearchExpressionType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classScriptingExpressionType
- Returns:
- A deep copy of this object.
-
-