protected String asSQLClause(SelectionCriteria c, ClassDescriptor cld)
    {
        if (c instanceof FieldCriteria)
            return toSQLClause((FieldCriteria) c, cld);

        if (c instanceof NullCriteria)
            return toSQLClause((NullCriteria) c);

        if (c instanceof BetweenCriteria)
            return toSQLClause((BetweenCriteria) c, cld);

        if (c instanceof InCriteria)
            return toSQLClause((InCriteria) c);

        if (c instanceof SqlCriteria)
            return toSQLClause((SqlCriteria) c);

        if (c instanceof ExistsCriteria)
            return toSQLClause((ExistsCriteria) c, cld);

        return toSQLClause(c, cld);
    }
protected String asSQLClause ( SelectionCriteria c , ClassDescriptor cld ) { if ( c instanceof FieldCriteria ) return toSQLClause ( ( FieldCriteria ) c , cld ) ; if ( c instanceof NullCriteria ) return toSQLClause ( ( NullCriteria ) c ) ; if ( c instanceof BetweenCriteria ) return toSQLClause ( ( BetweenCriteria ) c , cld ) ; if ( c instanceof InCriteria ) return toSQLClause ( ( InCriteria ) c ) ; if ( c instanceof SqlCriteria ) return toSQLClause ( ( SqlCriteria ) c ) ; if ( c instanceof ExistsCriteria ) return toSQLClause ( ( ExistsCriteria ) c , cld ) ; return toSQLClause ( c , cld ) ; }
Answer the SQL-Clause for a SelectionCriteria

@param c SelectionCriteria
@param cld ClassDescriptor