EventType type = new EventType("Finance", "StockQuote");
FixedEventHeader fixed = new FixedEventHeader(type, "10");
StructuredEvent quoteEvent = new StructuredEvent();
// Complete header date
Property variable[] = new Property[0];
quoteEvent.header = new EventHeader(fixed, variable);
quoteEvent.filterable_data = new Property[2];
Any idAny = getORB().create_any();
idAny.insert_string("stockQuotes");
quoteEvent.filterable_data[0] = new Property("stock_id", idAny);
Any priceAny = getORB().create_any();
priceAny.insert_double(200.0);
quoteEvent.filterable_data[1] = new Property("stock_price", priceAny);
quoteEvent.remainder_of_body = getORB().create_any();
runEvaluation(quoteEvent, "$stock_price >= 200.00", "TRUE");
runEvaluation(quoteEvent, "$stock_price <= 200.00", "TRUE");
runEvaluation(quoteEvent, "$stock_price == 200.00", "TRUE");