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 BooleanaggregateOutputstatic QNameCOMPLEX_TYPEstatic ItemNameF_AGGREGATE_OUTPUTstatic ItemNameF_OPTIONSstatic ItemNameF_PARAMETERstatic ItemNameF_QUERYstatic ItemNameF_SCRIPTING_EXPRESSIONstatic ItemNameF_SEARCH_FILTERstatic ItemNameF_TYPEstatic ItemNameF_VARIABLEprotected SelectorQualifiedGetOptionsTypeoptionsprotected List<ActionParameterValueType>parameterprotected QueryTypequeryprotected javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>scriptingExpressionprotected SearchFilterTypesearchFilterprotected QNametypeprotected Stringvariable
-
Constructor Summary
Constructors Constructor Description SearchExpressionType()Creates a newSearchExpressionTypeinstance.SearchExpressionType(SearchExpressionType o)Creates a newSearchExpressionTypeinstance by deeply copying a givenSearchExpressionTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)SearchExpressionTypeaggregateOutput(Boolean value)SelectorQualifiedGetOptionsTypebeginOptions()ActionParameterValueTypebeginParameter()QueryTypebeginQuery()SearchFilterTypebeginSearchFilter()SearchExpressionTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)SelectorQualifiedGetOptionsTypegetOptions()Gets the value of the options property.List<ActionParameterValueType>getParameter()Gets the value of the parameter property.QueryTypegetQuery()Gets the value of the query property.javax.xml.bind.JAXBElement<? extends ScriptingExpressionType>getScriptingExpression()Expression to evaluate for each object found.SearchFilterTypegetSearchFilter()Gets the value of the searchFilter property.QNamegetType()Gets the value of the type property.StringgetVariable()Gets the value of the variable property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)BooleanisAggregateOutput()Gets the value of the aggregateOutput property.SearchExpressionTypeoptions(SelectorQualifiedGetOptionsType value)SearchExpressionTypeparameter(ActionParameterValueType value)SearchExpressionTypequery(QueryType value)SearchExpressionTypescriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)SearchExpressionTypesearchFilter(SearchFilterType value)voidsetAggregateOutput(Boolean value)Sets the value of the aggregateOutput property.voidsetOptions(SelectorQualifiedGetOptionsType value)Sets the value of the options property.voidsetQuery(QueryType value)Sets the value of the query property.voidsetScriptingExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> value)Sets the value of the scriptingExpression property.voidsetSearchFilter(SearchFilterType value)Sets the value of the searchFilter property.voidsetType(QName value)Sets the value of the type property.voidsetVariable(String value)Sets the value of the variable property.StringtoString()Generates a String representation of the contents of this type.SearchExpressionTypetype(QName value)SearchExpressionTypevariable(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 newSearchExpressionTypeinstance.
-
SearchExpressionType
public SearchExpressionType(SearchExpressionType o)
Creates a newSearchExpressionTypeinstance by deeply copying a givenSearchExpressionTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
toStringin classScriptingExpressionType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classScriptingExpressionType
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classScriptingExpressionType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin 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:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classScriptingExpressionType
-
clone
public SearchExpressionType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classScriptingExpressionType- Returns:
- A deep copy of this object.
-
-