package policy.price.outline; import java.util.Iterator; import foundation.dao.preload.Bucket; import policy.price.OnsiteLine; public class CustomerOnsiteResult implements Iterable { private String customerId; private Bucket onsiteList; public CustomerOnsiteResult(String customerId, Bucket onsiteList) { this.customerId = customerId; this.onsiteList = onsiteList; } public String getCustomerId() { return customerId; } @Override public Iterator iterator() { return onsiteList.iterator(); } }