1 14 15 package org.apache.activemq.kaha.impl.index.tree; 16 17 22 class TreePageEntry{ 23 24 private TreeEntry treeEntry; 25 private TreePage treePage; 26 private TreePage.Flavour flavour; 27 private int index = -1; 28 29 TreePageEntry(TreeEntry treeEntry,TreePage treePage,TreePage.Flavour flavour, int index){ 30 this.treeEntry = treeEntry; 31 this.treePage=treePage; 32 this.flavour=flavour; 33 this.index = index; 34 } 35 36 39 TreePage.Flavour getFlavour(){ 40 return this.flavour; 41 } 42 43 46 void setFlavour(TreePage.Flavour flavour){ 47 this.flavour=flavour; 48 } 49 50 53 TreePage getTreePage(){ 54 return this.treePage; 55 } 56 57 60 void setTreePage(TreePage treePage){ 61 this.treePage=treePage; 62 } 63 64 65 68 public int getIndex(){ 69 return this.index; 70 } 71 72 73 76 public void setIndex(int index){ 77 this.index=index; 78 } 79 80 81 84 public TreeEntry getTreeEntry(){ 85 return this.treeEntry; 86 } 87 88 89 92 public void setTreeEntry(TreeEntry treeEntry){ 93 this.treeEntry=treeEntry; 94 } 95 } 96 | Popular Tags |