I have extended the entity Club, to my own entity Trip. The type Trip has two attributes, StartDate and EndDate. I need to create a query filtering out the trips that are currently going on. I can't use a ClubQuery because the attributes are attached to Trip, not to Club. Can I subclass or extend ClubQuery to make a TripQuery that can handle the filtering?