com.evolveum.midpoint.xml.ns._public.common.common_1
Class ExpressionType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ExpressionType
All Implemented Interfaces:
java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class ExpressionType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Generic expression. The purpose of the expression is to return a value. The expression must produce something that is a piece of XML, which means that it may produce either string value, XML node or a list of XML nodes. The expression may use variables or arguments. However, such variables or arguments passed to the expression will be different for each invocation. It should be documented in each case this type is used.

Java 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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}description" minOccurs="0"/>
         <element name="ref" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/>
         <element name="language" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="variable" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}VariableDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="returnType" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExpressionReturnTypeType" minOccurs="0"/>
         <element name="code" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExpressionCodeType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  org.w3c.dom.Element code
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
protected  java.lang.String description
           
static javax.xml.namespace.QName F_CODE
           
static javax.xml.namespace.QName F_DESCRIPTION
           
static javax.xml.namespace.QName F_LANGUAGE
           
static javax.xml.namespace.QName F_REF
           
static javax.xml.namespace.QName F_RETURN_TYPE
           
static javax.xml.namespace.QName F_VARIABLE
           
protected  java.lang.String language
           
protected  javax.xml.namespace.QName ref
           
protected  ExpressionReturnTypeType returnType
           
protected  java.util.List<VariableDefinitionType> variable
           
 
Constructor Summary
ExpressionType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 org.w3c.dom.Element getCode()
          Gets the value of the code property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getLanguage()
          Gets the value of the language property.
 javax.xml.namespace.QName getRef()
          Gets the value of the ref property.
 ExpressionReturnTypeType getReturnType()
          Gets the value of the returnType property.
 java.util.List<VariableDefinitionType> 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)
           
 void setCode(org.w3c.dom.Element value)
          Sets the value of the code property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setLanguage(java.lang.String value)
          Sets the value of the language property.
 void setRef(javax.xml.namespace.QName value)
          Sets the value of the ref property.
 void setReturnType(ExpressionReturnTypeType value)
          Sets the value of the returnType property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

description

protected java.lang.String description

ref

protected javax.xml.namespace.QName ref

language

protected java.lang.String language

variable

protected java.util.List<VariableDefinitionType> variable

returnType

protected ExpressionReturnTypeType returnType

code

protected org.w3c.dom.Element code

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_DESCRIPTION

public static final javax.xml.namespace.QName F_DESCRIPTION

F_REF

public static final javax.xml.namespace.QName F_REF

F_LANGUAGE

public static final javax.xml.namespace.QName F_LANGUAGE

F_VARIABLE

public static final javax.xml.namespace.QName F_VARIABLE

F_RETURN_TYPE

public static final javax.xml.namespace.QName F_RETURN_TYPE

F_CODE

public static final javax.xml.namespace.QName F_CODE
Constructor Detail

ExpressionType

public ExpressionType()
Method Detail

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getRef

public javax.xml.namespace.QName getRef()
Gets the value of the ref property.

Returns:
possible object is QName

setRef

public void setRef(javax.xml.namespace.QName value)
Sets the value of the ref property.

Parameters:
value - allowed object is QName

getLanguage

public java.lang.String getLanguage()
Gets the value of the language property.

Returns:
possible object is String

setLanguage

public void setLanguage(java.lang.String value)
Sets the value of the language property.

Parameters:
value - allowed object is String

getVariable

public java.util.List<VariableDefinitionType> 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 VariableDefinitionType


getReturnType

public ExpressionReturnTypeType getReturnType()
Gets the value of the returnType property.

Returns:
possible object is ExpressionReturnTypeType

setReturnType

public void setReturnType(ExpressionReturnTypeType value)
Sets the value of the returnType property.

Parameters:
value - allowed object is ExpressionReturnTypeType

getCode

public org.w3c.dom.Element getCode()
Gets the value of the code property.

Returns:
possible object is Element

setCode

public void setCode(org.w3c.dom.Element value)
Sets the value of the code property.

Parameters:
value - allowed object is Element

toString

public java.lang.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 class java.lang.Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.