title: Inheritance in Groovy -Base class table lists entries of sub class
body: <p>I have  class Contract which extends Base class Rule . i have different CRUD for Rule and Contract. my base class has got 6 fields and derived class got 3 specified fields. when i am listing the Rules created, it also displays Contract which is saved in the table. if i am listing rule it should list only Rules. how can i do that? what is the Thing that i need to take care when dealing with groovy inheritance? </p>