Class ScriptingVariableDefinitionType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.model.scripting_3.ScriptingVariableDefinitionType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class ScriptingVariableDefinitionType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Definition of a scripting variable. Expression types other than path-based ones are to be considered EXPERIMENTAL.Java class for ScriptingVariableDefinitionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ScriptingVariableDefinitionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="type" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="maxOccurs" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="expression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionType"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEprotected Stringdescriptionprotected ExpressionTypeexpressionstatic ItemNameF_DESCRIPTIONstatic ItemNameF_EXPRESSIONstatic ItemNameF_MAX_OCCURSstatic ItemNameF_NAMEstatic ItemNameF_TYPEprotected StringmaxOccursprotected Stringnameprotected QNametype
-
Constructor Summary
Constructors Constructor Description ScriptingVariableDefinitionType()Creates a newScriptingVariableDefinitionTypeinstance.ScriptingVariableDefinitionType(ScriptingVariableDefinitionType o)Creates a newScriptingVariableDefinitionTypeinstance by deeply copying a givenScriptingVariableDefinitionTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ExpressionTypebeginExpression()ScriptingVariableDefinitionTypeclone()Creates and returns a deep copy of this object.ScriptingVariableDefinitionTypedescription(String value)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)ScriptingVariableDefinitionTypeexpression(ExpressionType value)StringgetDescription()Gets the value of the description property.ExpressionTypegetExpression()Gets the value of the expression property.StringgetMaxOccurs()Gets the value of the maxOccurs property.StringgetName()Gets the value of the name property.QNamegetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)ScriptingVariableDefinitionTypemaxOccurs(String value)ScriptingVariableDefinitionTypename(String value)voidsetDescription(String value)Sets the value of the description property.voidsetExpression(ExpressionType value)Sets the value of the expression property.voidsetMaxOccurs(String value)Sets the value of the maxOccurs property.voidsetName(String value)Sets the value of the name property.voidsetType(QName value)Sets the value of the type property.StringtoString()Generates a String representation of the contents of this type.ScriptingVariableDefinitionTypetype(QName value)
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
type
protected QName type
-
maxOccurs
protected String maxOccurs
-
expression
protected ExpressionType expression
-
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_TYPE
public static final ItemName F_TYPE
-
F_MAX_OCCURS
public static final ItemName F_MAX_OCCURS
-
F_EXPRESSION
public static final ItemName F_EXPRESSION
-
-
Constructor Detail
-
ScriptingVariableDefinitionType
public ScriptingVariableDefinitionType()
Creates a newScriptingVariableDefinitionTypeinstance.
-
ScriptingVariableDefinitionType
public ScriptingVariableDefinitionType(ScriptingVariableDefinitionType o)
Creates a newScriptingVariableDefinitionTypeinstance by deeply copying a givenScriptingVariableDefinitionTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
-
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
-
getMaxOccurs
public String getMaxOccurs()
Gets the value of the maxOccurs property.- Returns:
- possible object is
String
-
setMaxOccurs
public void setMaxOccurs(String value)
Sets the value of the maxOccurs property.- Parameters:
value- allowed object isString
-
getExpression
public ExpressionType getExpression()
Gets the value of the expression property.- Returns:
- possible object is
ExpressionType
-
setExpression
public void setExpression(ExpressionType value)
Sets the value of the expression property.- Parameters:
value- allowed object isExpressionType
-
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:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
name
public ScriptingVariableDefinitionType name(String value)
-
description
public ScriptingVariableDefinitionType description(String value)
-
type
public ScriptingVariableDefinitionType type(QName value)
-
maxOccurs
public ScriptingVariableDefinitionType maxOccurs(String value)
-
expression
public ScriptingVariableDefinitionType expression(ExpressionType value)
-
beginExpression
public ExpressionType beginExpression()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public ScriptingVariableDefinitionType clone()
Creates and returns a deep copy of this object.
-
-