Defines the base class for all constraint classes.
VmSpec(GridObjectInfo): Constructs a default VmSpec.
Retrieves the fact id of the left side of the operation.Returns the fact id.
If set with setFactValue(), retrieves the fact name whose value is used on the right side of the operation, otherwise this will return None.
Retrieves the reason string that contains the human readable explanation that can be displayed as an error when a constraint evaluates to False.
If set as a value, retrieves the value of the right side of the operation or else it returns null.
Sets the fact ID for the left side of the operation.
Sets the fact name whose value is used in the right side of the operation and, in doing so, negates any previous setValue() call.
Sets the reason string that contains the human readable explanation that can be displayed as an error when a constraint evaluates to false.
Sets the value of the right side of the operation and, in doing so, negates any previous setFactValue() call.