The Composite pattern is a design pattern that allows a group of objects to be treated in the same way as a single instance of an object.
Per an answer to a previous question (answer here: SQL/Database Views in Grails), I have tried to use a …