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 QName
COMPLEX_TYPE
protected String
description
protected ExpressionType
expression
static ItemName
F_DESCRIPTION
static ItemName
F_EXPRESSION
static ItemName
F_MAX_OCCURS
static ItemName
F_NAME
static ItemName
F_TYPE
protected String
maxOccurs
protected String
name
protected QName
type
-
Constructor Summary
Constructors Constructor Description ScriptingVariableDefinitionType()
Creates a newScriptingVariableDefinitionType
instance.ScriptingVariableDefinitionType(ScriptingVariableDefinitionType o)
Creates a newScriptingVariableDefinitionType
instance by deeply copying a givenScriptingVariableDefinitionType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
beginExpression()
ScriptingVariableDefinitionType
clone()
Creates and returns a deep copy of this object.ScriptingVariableDefinitionType
description(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)
ScriptingVariableDefinitionType
expression(ExpressionType value)
String
getDescription()
Gets the value of the description property.ExpressionType
getExpression()
Gets the value of the expression property.String
getMaxOccurs()
Gets the value of the maxOccurs property.String
getName()
Gets the value of the name property.QName
getType()
Gets the value of the type property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ScriptingVariableDefinitionType
maxOccurs(String value)
ScriptingVariableDefinitionType
name(String value)
void
setDescription(String value)
Sets the value of the description property.void
setExpression(ExpressionType value)
Sets the value of the expression property.void
setMaxOccurs(String value)
Sets the value of the maxOccurs property.void
setName(String value)
Sets the value of the name property.void
setType(QName value)
Sets the value of the type property.String
toString()
Generates a String representation of the contents of this type.ScriptingVariableDefinitionType
type(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 newScriptingVariableDefinitionType
instance.
-
ScriptingVariableDefinitionType
public ScriptingVariableDefinitionType(ScriptingVariableDefinitionType o)
Creates a newScriptingVariableDefinitionType
instance by deeply copying a givenScriptingVariableDefinitionType
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
-
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:
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 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:
accept
in interfaceJaxbVisitable
-
clone
public ScriptingVariableDefinitionType clone()
Creates and returns a deep copy of this object.
-
-