# ExpressionVariableDefinitionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Definition of a variable. This type declares a variable name and defines the initial content of the variable.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property QName | [1,1] | Variable name.
description | property string | [0,1] | Free-form textual description of the object.
path | property ItemPathType | [0,1] |
objectRef | reference ObjectReferenceType | [0,1] | TODO
value | property anyType | [0,1] | Static value for the attribute or property.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Variable name. The variable will be presented to the expression using specified name. The name is a QName, which is good for XML-based expression languages such as XPath. For languages with flat names the namespace is fixed (see documentation of midPoint language binding) and the only relevant name is the local part.

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Free-form textual description of the object. It is supposed to describe the object or a construct that it is attached to.

    Anything that the system administrator wants may be here. The system will not interpret the information except for displaying it and allow user to edit it.

  - #### path

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### objectRef

    Flags: RAM

    Multiplicity: [0,1]

    TODO

  - #### value

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Static value for the attribute or property. Static attribute values. The values in this element should be assigned to the account as-is. List of values for the attribute provided in an appropriate XML elements that specify attribute name. (as is usual for properties) Only one attribute may be specified here, although it may have multiple values. Multi-valued attributes are expressed by repeating the same XML element multiple times. Hence all the XML elements that match this xsd:any must have the same element names (may have different values of course). Please note that this is nillable and therefore it may be explicitly set to "nil" value. Doing this means that empty set of values should be constructed. E.g. setting this to "nil" and also setting "authoritative" flag may enforce removal of all attribute values (if used properly).