|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.xml.ns._public.common.common_1.ExpressionType
public class ExpressionType
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>
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 |
---|
protected java.lang.String description
protected javax.xml.namespace.QName ref
protected java.lang.String language
protected java.util.List<VariableDefinitionType> variable
protected ExpressionReturnTypeType returnType
protected org.w3c.dom.Element code
public static final javax.xml.namespace.QName COMPLEX_TYPE
public static final javax.xml.namespace.QName F_DESCRIPTION
public static final javax.xml.namespace.QName F_REF
public static final javax.xml.namespace.QName F_LANGUAGE
public static final javax.xml.namespace.QName F_VARIABLE
public static final javax.xml.namespace.QName F_RETURN_TYPE
public static final javax.xml.namespace.QName F_CODE
Constructor Detail |
---|
public ExpressionType()
Method Detail |
---|
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public javax.xml.namespace.QName getRef()
QName
public void setRef(javax.xml.namespace.QName value)
value
- allowed object is
QName
public java.lang.String getLanguage()
String
public void setLanguage(java.lang.String value)
value
- allowed object is
String
public java.util.List<VariableDefinitionType> getVariable()
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
public ExpressionReturnTypeType getReturnType()
ExpressionReturnTypeType
public void setReturnType(ExpressionReturnTypeType value)
value
- allowed object is
ExpressionReturnTypeType
public org.w3c.dom.Element getCode()
Element
public void setCode(org.w3c.dom.Element value)
value
- allowed object is
Element
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class java.lang.Object
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |