Constraints object logic is introduced to define constraints in it
To define a constraint or constraints for a model, a child object called 'Constraints' should be created in the model itself. Within the 'Constraints' object one can define as many costraints as he wants by creating elements and defining functions in the input area. Name of a constraint is used to display the statuses of validations.