[rules-users] Guvnor - will not let you add elements to List in fact object

tranhoangdai dtran at infodation.nl
Mon Jul 2 10:27:03 EDT 2012


Hello Benfro,

I have a similar problem.
I want to make a test scenario, when an Order has a list (arraylist) of
CollectionRef.
But I don't know how to input that CollectionRef in the Order test scenario
field.

The CollectionRef is a very simple interface:

//////
        private String colCode;
	private String colDescr;
	private Integer nrOfItems;
	
	public CollectionRef(String colCode, String colDescr, Integer nrOfItems) {
		super();
		this.colCode = colCode;
		this.colDescr = colDescr;
		this.nrOfItems = nrOfItems;
	}
////


Can you please tell me your workaround?

--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-will-not-let-you-add-elements-to-List-in-fact-object-tp4004819p4018392.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list