1 16 package com.jdon.model.query.block; 17 18 import java.util.List ; 19 20 24 public class Block { 25 26 private int start; 27 private int count; 28 29 private List list; 30 31 32 36 public Block(int start, int count) { 37 super(); 38 this.start = start; 39 this.count = count; 40 } 41 44 public int getCount() { 45 return count; 46 } 47 50 public void setCount(int count) { 51 this.count = count; 52 } 53 56 public int getStart() { 57 return start; 58 } 59 62 public void setStart(int start) { 63 this.start = start; 64 } 65 66 67 68 69 72 public List getList() { 73 return list; 74 } 75 78 public void setList(List list) { 79 this.list = list; 80 } 81 82 public String toString(){ 83 StringBuffer sb = new StringBuffer (); 84 sb.append("block start="); 85 sb.append(start); 86 sb.append(" and count="); 87 sb.append(count); 88 return sb.toString(); 89 } 90 91 92 } 93 | Popular Tags |