1 15 16 package com.jdon.strutsutil; 17 18 import com.jdon.controller.model.ModelIF; 19 import org.apache.struts.action.ActionForm; 20 import java.util.*; 21 22 39 public class ModelListForm extends ActionForm { 40 41 44 private int allCount = 0; 45 46 49 private int start = 0; 50 51 54 private int count = 30; 55 56 57 60 private ModelIF oneModel = null; 61 62 65 private Collection list = new ArrayList(); 66 67 public Collection getList() { 68 return list; 69 } 70 71 public void setList(Collection list) { 72 this.list = list; 73 } 74 75 public int getCount() { 76 return (this.count); 77 } 78 79 public void setCount(int count) { 80 this.count = count; 81 } 82 83 public int getAllCount() { 84 return (this.allCount); 85 } 86 87 public void setAllCount(int allCount) { 88 this.allCount = allCount; 89 } 90 91 public int getStart() { 92 return (this.start); 93 } 94 95 public void setStart(int start) { 96 this.start = start; 97 } 98 99 100 public ModelIF getOneModel() { 101 return oneModel; 102 } 103 104 public void setOneModel(ModelIF oneModel) { 105 this.oneModel = oneModel; 106 } 107 108 109 } 110 | Popular Tags |