}
}
if( predicate instanceof CompoundPredicate )
{
CompoundPredicate compoundPredicate = (CompoundPredicate) predicate;
List<cascading.pattern.model.tree.predicate.Predicate> predicates = new ArrayList<cascading.pattern.model.tree.predicate.Predicate>();
for( Predicate child : compoundPredicate.getPredicates() )
predicates.add( getPredicateFor( modelSchema, child ) );
CompoundPredicate.BooleanOperator operator = compoundPredicate.getBooleanOperator();
switch( operator )
{
case OR:
return new OrPredicate( predicates );