Constraints in Complex Object Database Models