return false;
}
public static void main( String [] args ) throws ExpressionParseError
{
MetaClass mc = new BeanMetaClass();
mc.setName( "test" );
MetaField a = new LongField();
a.setName( "id" );
MetaField b = new StringField();
b.setName( "name" );
MetaField c = new IntegerField();
c.setName( "value" );
MetaField d = new DateField();
d.setName( "time" );
mc.addMetaField( a );
mc.addMetaField( b );
mc.addMetaField( c );
mc.addMetaField( d );
Expression exp = ExpressionParser.getInstance().parse( mc, "( time > = '10/12/2006 14:55' and ( ( id = 5 or name = 'test me!' ) and value <> 20))" );
System.out.println( "EXPRESSION: " + exp );
}