[rules-users] Using XMLGregorianCalendar for @timestamp metadata

ScalaEnthusiast carvel.baus at gmail.com
Wed May 8 08:26:09 EDT 2013


Thank you for your help.

One thing I want to be clear on about what you said above, where you
mentioned @timestamp looks for an attribute or a getter, but what about a
chain of getter calls? Can the @timestamp handle something like:

@timestamp(fieldLevel1.fieldLevel2.fieldLeve3.timestamp)

where the java equivalent would be

eventObject.getFieldLevel1().getFieldLevel2().getFieldLevel3().getTimeStamp();

I am trying to do something like this and its telling me it can't resolve
this. I know I can do this type of chaining in the RHS, but not sure about
LHS or in something like @timestamp.

The objects I am playing with were not designed with a rules engine in mind
:)




--
View this message in context: http://drools.46999.n3.nabble.com/Using-XMLGregorianCalendar-for-timestamp-metadata-tp4023636p4023721.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list