Class ExpressionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ExpressionType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
- Direct Known Subclasses:
ProvisioningScriptArgumentType
public class ExpressionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
TODOJava class for ExpressionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExpressionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}description" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}extension" minOccurs="0"/> <element name="parameter" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionParameterType" maxOccurs="unbounded" minOccurs="0"/> <element name="returnType" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="trace" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="stringFilter" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StringFilterType" maxOccurs="unbounded" minOccurs="0"/> <element name="variable" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionVariableDefinitionType" maxOccurs="unbounded" minOccurs="0"/> <element name="returnMultiplicity" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionReturnMultiplicityType" minOccurs="0"/> <element name="allowEmptyValues" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="queryInterpretationOfNoValue" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}QueryInterpretationOfNoValueType" minOccurs="0"/> <element name="runAsRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}expressionEvaluator" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExpressionType()
Creates a newExpressionType
instance.ExpressionType(ExpressionType o)
Creates a newExpressionType
instance by deeply copying a givenExpressionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
allowEmptyValues(Boolean value)
ExtensionType
beginExtension()
ExpressionParameterType
beginParameter()
ObjectReferenceType
beginRunAsRef()
StringFilterType
beginStringFilter()
ExpressionVariableDefinitionType
beginVariable()
ExpressionType
clone()
Creates and returns a deep copy of this object.ExpressionType
description(String value)
ExpressionType
documentation(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
expressionEvaluator(javax.xml.bind.JAXBElement<?> value)
ExpressionType
extension(ExtensionType value)
String
getDescription()
Gets the value of the description property.String
getDocumentation()
Gets the value of the documentation property.List<javax.xml.bind.JAXBElement<?>>
getExpressionEvaluator()
A single expression evaluator.ExtensionType
getExtension()
Gets the value of the extension property.String
getName()
Gets the value of the name property.List<ExpressionParameterType>
getParameter()
Gets the value of the parameter property.QueryInterpretationOfNoValueType
getQueryInterpretationOfNoValue()
Gets the value of the queryInterpretationOfNoValue property.ExpressionReturnMultiplicityType
getReturnMultiplicity()
Gets the value of the returnMultiplicity property.QName
getReturnType()
Gets the value of the returnType property.ObjectReferenceType
getRunAsRef()
Gets the value of the runAsRef property.List<StringFilterType>
getStringFilter()
Gets the value of the stringFilter property.List<ExpressionVariableDefinitionType>
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
isAllowEmptyValues()
Gets the value of the allowEmptyValues property.Boolean
isTrace()
Gets the value of the trace property.ExpressionType
name(String value)
ExpressionType
parameter(ExpressionParameterType value)
ExpressionType
queryInterpretationOfNoValue(QueryInterpretationOfNoValueType value)
ExpressionType
returnMultiplicity(ExpressionReturnMultiplicityType value)
ExpressionType
returnType(QName value)
ExpressionType
runAsRef(ObjectReferenceType value)
ExpressionType
runAsRef(String oid, QName type)
ExpressionType
runAsRef(String oid, QName type, QName relation)
void
setAllowEmptyValues(Boolean value)
Sets the value of the allowEmptyValues property.void
setDescription(String value)
Sets the value of the description property.void
setDocumentation(String value)
Sets the value of the documentation property.void
setExtension(ExtensionType value)
Sets the value of the extension property.void
setName(String value)
Sets the value of the name property.void
setQueryInterpretationOfNoValue(QueryInterpretationOfNoValueType value)
Sets the value of the queryInterpretationOfNoValue property.void
setReturnMultiplicity(ExpressionReturnMultiplicityType value)
Sets the value of the returnMultiplicity property.void
setReturnType(QName value)
Sets the value of the returnType property.void
setRunAsRef(ObjectReferenceType value)
Sets the value of the runAsRef property.void
setTrace(Boolean value)
Sets the value of the trace property.ExpressionType
stringFilter(StringFilterType value)
String
toString()
Generates a String representation of the contents of this type.ExpressionType
trace(Boolean value)
ExpressionType
variable(ExpressionVariableDefinitionType value)
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
documentation
protected String documentation
-
extension
protected ExtensionType extension
-
parameter
protected List<ExpressionParameterType> parameter
-
returnType
protected QName returnType
-
trace
protected Boolean trace
-
stringFilter
protected List<StringFilterType> stringFilter
-
variable
protected List<ExpressionVariableDefinitionType> variable
-
returnMultiplicity
protected ExpressionReturnMultiplicityType returnMultiplicity
-
allowEmptyValues
protected Boolean allowEmptyValues
-
queryInterpretationOfNoValue
protected QueryInterpretationOfNoValueType queryInterpretationOfNoValue
-
runAsRef
protected ObjectReferenceType runAsRef
-
expressionEvaluator
protected List<javax.xml.bind.JAXBElement<?>> expressionEvaluator
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_EXTENSION
public static final ItemName F_EXTENSION
-
F_PARAMETER
public static final ItemName F_PARAMETER
-
F_RETURN_TYPE
public static final ItemName F_RETURN_TYPE
-
F_TRACE
public static final ItemName F_TRACE
-
F_STRING_FILTER
public static final ItemName F_STRING_FILTER
-
F_VARIABLE
public static final ItemName F_VARIABLE
-
F_RETURN_MULTIPLICITY
public static final ItemName F_RETURN_MULTIPLICITY
-
F_ALLOW_EMPTY_VALUES
public static final ItemName F_ALLOW_EMPTY_VALUES
-
F_QUERY_INTERPRETATION_OF_NO_VALUE
public static final ItemName F_QUERY_INTERPRETATION_OF_NO_VALUE
-
F_RUN_AS_REF
public static final ItemName F_RUN_AS_REF
-
F_EXPRESSION_EVALUATOR
public static final ItemName F_EXPRESSION_EVALUATOR
-
-
Constructor Detail
-
ExpressionType
public ExpressionType()
Creates a newExpressionType
instance.
-
ExpressionType
public ExpressionType(ExpressionType o)
Creates a newExpressionType
instance by deeply copying a givenExpressionType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getDocumentation
public String getDocumentation()
Gets the value of the documentation property.- Returns:
- possible object is
String
-
setDocumentation
public void setDocumentation(String value)
Sets the value of the documentation property.- Parameters:
value
- allowed object isString
-
getExtension
public ExtensionType getExtension()
Gets the value of the extension property.- Returns:
- possible object is
ExtensionType
-
setExtension
public void setExtension(ExtensionType value)
Sets the value of the extension property.- Parameters:
value
- allowed object isExtensionType
-
getParameter
public List<ExpressionParameterType> 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
ExpressionParameterType
-
getReturnType
public QName getReturnType()
Gets the value of the returnType property.- Returns:
- possible object is
QName
-
setReturnType
public void setReturnType(QName value)
Sets the value of the returnType property.- Parameters:
value
- allowed object isQName
-
isTrace
public Boolean isTrace()
Gets the value of the trace property.- Returns:
- possible object is
Boolean
-
setTrace
public void setTrace(Boolean value)
Sets the value of the trace property.- Parameters:
value
- allowed object isBoolean
-
getStringFilter
public List<StringFilterType> getStringFilter()
Gets the value of the stringFilter 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 stringFilter property.For example, to add a new item, do as follows:
getStringFilter().add(newItem);
Objects of the following type(s) are allowed in the list
StringFilterType
-
getVariable
public List<ExpressionVariableDefinitionType> getVariable()
Gets the value of the variable 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 variable property.For example, to add a new item, do as follows:
getVariable().add(newItem);
Objects of the following type(s) are allowed in the list
ExpressionVariableDefinitionType
-
getReturnMultiplicity
public ExpressionReturnMultiplicityType getReturnMultiplicity()
Gets the value of the returnMultiplicity property.- Returns:
- possible object is
ExpressionReturnMultiplicityType
-
setReturnMultiplicity
public void setReturnMultiplicity(ExpressionReturnMultiplicityType value)
Sets the value of the returnMultiplicity property.- Parameters:
value
- allowed object isExpressionReturnMultiplicityType
-
isAllowEmptyValues
public Boolean isAllowEmptyValues()
Gets the value of the allowEmptyValues property.- Returns:
- possible object is
Boolean
-
setAllowEmptyValues
public void setAllowEmptyValues(Boolean value)
Sets the value of the allowEmptyValues property.- Parameters:
value
- allowed object isBoolean
-
getQueryInterpretationOfNoValue
public QueryInterpretationOfNoValueType getQueryInterpretationOfNoValue()
Gets the value of the queryInterpretationOfNoValue property.- Returns:
- possible object is
QueryInterpretationOfNoValueType
-
setQueryInterpretationOfNoValue
public void setQueryInterpretationOfNoValue(QueryInterpretationOfNoValueType value)
Sets the value of the queryInterpretationOfNoValue property.- Parameters:
value
- allowed object isQueryInterpretationOfNoValueType
-
getRunAsRef
public ObjectReferenceType getRunAsRef()
Gets the value of the runAsRef property.- Returns:
- possible object is
ObjectReferenceType
-
setRunAsRef
public void setRunAsRef(ObjectReferenceType value)
Sets the value of the runAsRef property.- Parameters:
value
- allowed object isObjectReferenceType
-
getExpressionEvaluator
public List<javax.xml.bind.JAXBElement<?>> getExpressionEvaluator()
A single expression evaluator. Although this element is formally multi-value it may be used only for multiple instances of the same evaluator that in fact form a single group. E.g. it may be used to define several "value" elements of literal evaluator that define multiple values. But it must not be used to define multiple scripts or any other combination of evaluators. Gets the value of the expressionEvaluator 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 expressionEvaluator property.For example, to add a new item, do as follows:
getExpressionEvaluator().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
AsIsExpressionEvaluatorType
>
JAXBElement
<
AssignmentTargetSearchExpressionEvaluatorType
>
JAXBElement
<
AssociationFromLinkExpressionEvaluatorType
>
JAXBElement
<
ConstExpressionEvaluatorType
>
JAXBElement
<
FunctionExpressionEvaluatorType
>
JAXBElement
<
GenerateExpressionEvaluatorType
>
JAXBElement
<
ProportionalExpressionEvaluatorType
>
JAXBElement
<
ReferenceSearchExpressionEvaluatorType
>
JAXBElement
<
ScriptExpressionEvaluatorType
>
JAXBElement
<
SearchObjectExpressionEvaluatorType
>
JAXBElement
<
SequentialValueExpressionEvaluatorType
>
JAXBElement
<
ShadowDiscriminatorExpressionEvaluatorType
>
JAXBElement
<
ItemPathType
>
JAXBElement
<
Object
>
JAXBElement
<
Object
>
-
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
-
name
public ExpressionType name(String value)
-
description
public ExpressionType description(String value)
-
documentation
public ExpressionType documentation(String value)
-
extension
public ExpressionType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
-
parameter
public ExpressionType parameter(ExpressionParameterType value)
-
beginParameter
public ExpressionParameterType beginParameter()
-
returnType
public ExpressionType returnType(QName value)
-
trace
public ExpressionType trace(Boolean value)
-
stringFilter
public ExpressionType stringFilter(StringFilterType value)
-
beginStringFilter
public StringFilterType beginStringFilter()
-
variable
public ExpressionType variable(ExpressionVariableDefinitionType value)
-
beginVariable
public ExpressionVariableDefinitionType beginVariable()
-
returnMultiplicity
public ExpressionType returnMultiplicity(ExpressionReturnMultiplicityType value)
-
allowEmptyValues
public ExpressionType allowEmptyValues(Boolean value)
-
queryInterpretationOfNoValue
public ExpressionType queryInterpretationOfNoValue(QueryInterpretationOfNoValueType value)
-
runAsRef
public ExpressionType runAsRef(ObjectReferenceType value)
-
runAsRef
public ExpressionType runAsRef(String oid, QName type)
-
runAsRef
public ExpressionType runAsRef(String oid, QName type, QName relation)
-
beginRunAsRef
public ObjectReferenceType beginRunAsRef()
-
expressionEvaluator
public ExpressionType expressionEvaluator(javax.xml.bind.JAXBElement<?> value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public ExpressionType clone()
Creates and returns a deep copy of this object.
-
-