# ValueSetDefinitionType (Complex Type)

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

Definition of value set. It can define a set of values by several methods. E.g. it can define set by a condition, enumeration of the values and so on.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
predefined | property ValueSetDefinitionPredefinedType | [0,1] | Pre-defined set definition, such as all or none.
condition | property ExpressionType | [0,1] | Expression that is evaluated to check whether the value belongs to the set.
yieldCondition | property ExpressionType | [0,1] | Expression that is evaluated to check whether specific value yield belongs to the set.
additionalMappingSpecification | container MappingSpecificationType | [0,-1] | Specification of additional mappings, which are considered as part of value set.

- ### Items

  - #### predefined

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Pre-defined set definition, such as all or none.

  - #### condition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Expression that is evaluated to check whether the value belongs to the set. If the condition returns true then the value belongs to the set. Otherwise it does not.

  - #### yieldCondition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Expression that is evaluated to check whether specific value yield belongs to the set. If the condition returns true then the value yield belongs to the set. Otherwise it does not. VERY EXPERIMENTAL.

  - #### additionalMappingSpecification

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Specification of additional mappings, which are considered as part of value set. Ideal for migration after rename of mapping.