001: /*
002: * Created on Mar 6, 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: * 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 SessionInfoEntry implements Serializable {
029:
030: private String name;
031: private String terminalID;
032: private String sessionID;
033: private String taskID;
034: private String node;
035: private String catalogCacheSize;
036:
037: /**
038: * @param name
039: * @param terminalID
040: * @param sessionID
041: * @param taskID
042: * @param node
043: * @param catalogCacheSize
044: */
045: public SessionInfoEntry(String name, String terminalID,
046: String sessionID, String taskID, String node,
047: String catalogCacheSize) {
048: this .name = name;
049: this .terminalID = terminalID;
050: this .sessionID = sessionID;
051: this .taskID = taskID;
052: this .node = node;
053: this .catalogCacheSize = catalogCacheSize;
054: }
055:
056: /**
057: * @return String
058: */
059: public String getCatalogCacheSize() {
060: return catalogCacheSize;
061: }
062:
063: /**
064: * @return String
065: */
066: public String getName() {
067: return name;
068: }
069:
070: /**
071: * @return String
072: */
073: public String getNode() {
074: return node;
075: }
076:
077: /**
078: * @return String
079: */
080: public String getSessionID() {
081: return sessionID;
082: }
083:
084: /**
085: * @return String
086: */
087: public String getTaskID() {
088: return taskID;
089: }
090:
091: /**
092: * @return String
093: */
094: public String getTerminalID() {
095: return terminalID;
096: }
097:
098: /**
099: * Sets the catalogCacheSize.
100: * @param catalogCacheSize The catalogCacheSize to set
101: */
102: public void setCatalogCacheSize(String catalogCacheSize) {
103: this .catalogCacheSize = catalogCacheSize;
104: }
105:
106: /**
107: * Sets the name.
108: * @param name The name to set
109: */
110: public void setName(String name) {
111: this .name = name;
112: }
113:
114: /**
115: * Sets the node.
116: * @param node The node to set
117: */
118: public void setNode(String node) {
119: this .node = node;
120: }
121:
122: /**
123: * Sets the sessionID.
124: * @param sessionID The sessionID to set
125: */
126: public void setSessionID(String sessionID) {
127: this .sessionID = sessionID;
128: }
129:
130: /**
131: * Sets the taskID.
132: * @param taskID The taskID to set
133: */
134: public void setTaskID(String taskID) {
135: this .taskID = taskID;
136: }
137:
138: /**
139: * Sets the terminalID.
140: * @param terminalID The terminalID to set
141: */
142: public void setTerminalID(String terminalID) {
143: this.terminalID = terminalID;
144: }
145:
146: }
|