001: /*
002: * Created on Mar 2, 2003
003: *
004: * Dbmjui is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License version 2 as
006: * published by the Free Software Foundation.
007: *
008: * Dbmjui is distributed in the hope that it will be useful,
009: * but WITHOUT ANY WARRANTY; without even the implied warranty of
010: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
011: * Library General Public License for more details.
012: *
013: * You should have received a copy of the GNU General Public
014: * License along with dbmjui; see the file COPYING. If not,
015: * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
016: * Boston, MA 02111-1307, USA.
017: *
018: */
019: package fr.aliacom.dbmjui.beans;
020:
021: import java.io.Serializable;
022:
023: /**
024: * @author tom
025: *
026: * (c) 2001, 2003 Thomas Cataldo
027: */
028: public final class CacheInfoEntry implements Serializable {
029:
030: private String type;
031: private String access;
032: private String successfull;
033: private String unsuccessfull;
034: private String hitRate;
035:
036: public CacheInfoEntry() {
037: this ("", "", "", "", "");
038: }
039:
040: public CacheInfoEntry(String type, String access,
041: String successfull, String unsuccessfull, String hitRate) {
042: this .type = type;
043: this .access = access;
044: this .successfull = successfull;
045: this .unsuccessfull = unsuccessfull;
046: this .hitRate = hitRate;
047: }
048:
049: /**
050: * @return String
051: */
052: public String getAccess() {
053: return access;
054: }
055:
056: /**
057: * @return String
058: */
059: public String getHitRate() {
060: return hitRate;
061: }
062:
063: /**
064: * @return String
065: */
066: public String getSuccessfull() {
067: return successfull;
068: }
069:
070: /**
071: * @return String
072: */
073: public String getType() {
074: return type;
075: }
076:
077: /**
078: * @return String
079: */
080: public String getUnsuccessfull() {
081: return unsuccessfull;
082: }
083:
084: /**
085: * Sets the access.
086: * @param access The access to set
087: */
088: public void setAccess(String access) {
089: this .access = access;
090: }
091:
092: /**
093: * Sets the hitRate.
094: * @param hitRate The hitRate to set
095: */
096: public void setHitRate(String hitRate) {
097: this .hitRate = hitRate;
098: }
099:
100: /**
101: * Sets the successfull.
102: * @param successfull The successfull to set
103: */
104: public void setSuccessfull(String successfull) {
105: this .successfull = successfull;
106: }
107:
108: /**
109: * Sets the type.
110: * @param type The type to set
111: */
112: public void setType(String type) {
113: this .type = type;
114: }
115:
116: /**
117: * Sets the unsuccessfull.
118: * @param unsuccessfull The unsuccessfull to set
119: */
120: public void setUnsuccessfull(String unsuccessfull) {
121: this.unsuccessfull = unsuccessfull;
122: }
123:
124: }
|