Re: [rules-users] getting latest date
by Shyam, Pallav (MSCIBARRA)
rule
when
m : MemberDataRecords( d : loggedInDate) from Data( )
and not MemberDataRecords( loggedInDate < d) from Data( )
then
end
________________________________
From: rules-users-bounces(a)lists.jboss.org
To: rules-users(a)lists.jboss.org
Sent: Thu Sep 11 19:05:22 2008
Subject: [rules-users] getting latest date
HI all.
I am inserting an Obect from a class called Data() to the working memory
Data object has a Collection (ArrayList) of Objects from a class called MemberDataRecords()
MemberDataRecords object has a field called loggedInDate of type Date()(Accually SimpleDate a subclass of java util date())
how can i get MemberDataRecords object which contain the last loggedInDate
Kapila Silwathge
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.