1 16 package org.directwebremoting.extend; 17 18 import java.util.ArrayList ; 19 import java.util.List ; 20 21 27 public class Calls 28 { 29 33 public int getCallCount() 34 { 35 return calls.size(); 36 } 37 38 42 public Call getCall(int index) 43 { 44 return (Call) calls.get(index); 45 } 46 47 51 public void addCall(Call call) 52 { 53 calls.add(call); 54 } 55 56 59 public void setBatchId(String batchId) 60 { 61 this.batchId = batchId; 62 } 63 64 67 public String getBatchId() 68 { 69 return batchId; 70 } 71 72 private String batchId = null; 73 74 77 protected List calls = new ArrayList (); 78 } 79 | Popular Tags |