Changed the trigger constraint class from an interface to a concrete type
Added test to check that the trigger constraints are the same
Added code to set the trigger constraints
Added code for the trigger constraints