1 19 20 package org.netbeans.modules.j2ee.blueprints.ui; 21 22 28 public class BrowseHistoryToken { 29 30 private String category; 31 private String article; 32 private String tab; 34 private int scrollPosition; 35 36 public BrowseHistoryToken() { 37 } 38 39 public BrowseHistoryToken(String category, String article, String tab, 40 int scrollPosition) 41 { 42 this.category = category; 43 this.article = article; 44 this.tab = tab; 45 this.scrollPosition = scrollPosition; 46 } 47 48 public String getCategory() { 49 return category; 50 } 51 52 public void setCategory(String category) { 53 this.category = category; 54 } 55 56 public String getArticle() { 57 return article; 58 } 59 60 public void setArticle(String article) { 61 this.article = article; 62 } 63 64 public String getTab() { 65 return tab; 66 } 67 68 public void setTab(String tab) { 69 this.tab = tab; 70 } 71 72 public int getScrollPosition() { 73 return scrollPosition; 74 } 75 76 public void setScrollPosition(int scrollPosition) { 77 this.scrollPosition = scrollPosition; 78 } 79 80 public String toString() { 81 return "[BrowseHistoryToken;" 82 + "category='" + category 83 + "',article='" + article 84 + "',tab='" + tab 85 + "',scrollPosition='" + scrollPosition 86 + "']"; 87 } 88 } 89 | Popular Tags |