01: package org.drools.repository.events;
02:
03: import java.util.ArrayList;
04: import java.util.Iterator;
05:
06: public class ChangeSet {
07:
08: private ArrayList assetChanges;
09:
10: public ChangeSet() {
11: assetChanges = new ArrayList();
12: }
13:
14: public void addChange(AssetChange change) {
15: this .assetChanges.add(change);
16: }
17:
18: public Iterator getChanges() {
19: return this.assetChanges.iterator();
20: }
21:
22: }
|