fom same senario i am writing code 
public static class Item
        {
private String CustomerId;
private String Price ;
}

public static class Data
{
        public ArrayList<Item> items = new ArrayList<Item>();
        
        public ArrayList<Item>  GetData()
        {Item item1 = new Item();
// some code 
from database 
item1.CustomerId=rs.getString("CustomerId");
  item1.Price=rs.getString("Price");
                   items.add(item);
return item1
}

i want to check the customer and find its price for some rule 
my rule 

-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/need-to-manipulate-ArrayList-in-rules-Reg-tp2150864p2161266.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to