Values
A value is a constant, a reference to objects or a calculation. Values are compared using relationships (see Relationships).
Value | Description | Parameters | Child Nodes |
---|---|---|---|
Aggregate Value |
Calculates a single value by combining others, using functions such as Count, Sum, Average, max, min or geometric union. This value should have a condition to test and zero or more child values. This value is computed by aggregating the values over any objects that are satisfied by the condition. There are a number of different types of aggregate functions. Detailed information on the child values required are provided in a tool-tip within 1Validate. |
|
|
Built-in Function Value |
A value which is computed by applying the specified built-in function to one or more parameters. There are typically one or more child values of this element, to specify the parameters which will be passed to the function. When a function has been selected from the list of all possible built-in functions, a help icon provides a tool tip with information about the parameters required by this function. See Built-in Functions. |
|
|
Class Name |
Returns the name of the class of an object. The object is specified by the class label or object label pair. |
|
None |
Conditional Value |
This value should have a condition to test and two child values to choose between. If the condition is true, the result is the first child value. If the condition is false, the result is the second child value. |
None |
|
Difference | This value should have two child values (integers or real numbers). The result is obtained by subtracting the second value from the first. |
None |
|
Division | This value should have two child values (integers or real numbers). The result is obtained by dividing the first value by the second. |
None |
|
This value should have one child value (an integer or a real number), containing a sign that will be inverted. For example, -1 becomes +1 and vice-versa. |
None |
|
|
Null Value |
A Null value always evaluates as null. This can be used to verify if an object attribute value or the result of a calculation is null. Note: Searching on a null value is not valid for arrays. |
None |
None |
Object or Element Value |
An object or an element from a collection. These are used in two ways:
|
|
None |
Product | This value should have two child values (integers or real numbers). The result is obtained by multiplying together all child values. |
None |
|
Remainder | This value should have two child values (integers or real numbers). The result is obtained by dividing the first value by the second, and taking the remainder. |
None |
|
Static Value |
A Static Value is fixed, and does not change. This can be used on either side of a comparison condition or as part of a more complicated expression. It can be a boolean, an integer, a real (floating point) or a string (text or timestamp). You must specify both the type of value, and the value itself. |
|
None |
Sum |
This value should have at least two child values (integers or real numbers). The result is the sum of all child values. Alternatively, the values can be string types, in which case they are joined together. |
None |
|