01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.ubt.report.data;
06:
07: import java.util.Vector;
08: import java.io.Serializable;
09:
10: /**
11: *
12: */
13: public class MinerCollection implements Serializable {
14: private Vector miners = new Vector();
15: private static MinerCollection self;
16:
17: public MinerCollection() {
18: }
19:
20: public void add(DataMiner miner) {
21: miners.add(miner);
22: }
23:
24: public Vector getCollection() {
25: return miners;
26: }
27:
28: public void add(DataMiner[] miners) {
29: for (int i = 0; i < miners.length; i++) {
30: this.miners.add(miners[i]);
31: }
32: }
33: }
|