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 IOInfoEntry implements Serializable {
029:
030: private String name;
031: private String logicalReads;
032: private String logicalWrites;
033: private String physicalReads;
034: private String physicalWrites;
035:
036: /**
037: * @param name
038: * @param logicalReads
039: * @param logicalWrites
040: * @param physicalReads
041: * @param physicalWrites
042: */
043: public IOInfoEntry(String name, String logicalReads,
044: String logicalWrites, String physicalReads,
045: String physicalWrites) {
046: this .name = name;
047: this .logicalReads = logicalReads;
048: this .logicalWrites = logicalWrites;
049: this .physicalReads = physicalReads;
050: this .physicalWrites = physicalWrites;
051: }
052:
053: /**
054: * @return String
055: */
056: public String getLogicalReads() {
057: return logicalReads;
058: }
059:
060: /**
061: * @return String
062: */
063: public String getLogicalWrites() {
064: return logicalWrites;
065: }
066:
067: /**
068: * @return String
069: */
070: public String getName() {
071: return name;
072: }
073:
074: /**
075: * @return String
076: */
077: public String getPhysicalReads() {
078: return physicalReads;
079: }
080:
081: /**
082: * @return String
083: */
084: public String getPhysicalWrites() {
085: return physicalWrites;
086: }
087:
088: /**
089: * Sets the logicalReads.
090: * @param logicalReads The logicalReads to set
091: */
092: public void setLogicalReads(String logicalReads) {
093: this .logicalReads = logicalReads;
094: }
095:
096: /**
097: * Sets the logicalWrites.
098: * @param logicalWrites The logicalWrites to set
099: */
100: public void setLogicalWrites(String logicalWrites) {
101: this .logicalWrites = logicalWrites;
102: }
103:
104: /**
105: * Sets the name.
106: * @param name The name to set
107: */
108: public void setName(String name) {
109: this .name = name;
110: }
111:
112: /**
113: * Sets the physicalReads.
114: * @param physicalReads The physicalReads to set
115: */
116: public void setPhysicalReads(String physicalReads) {
117: this .physicalReads = physicalReads;
118: }
119:
120: /**
121: * Sets the physicalWrites.
122: * @param physicalWrites The physicalWrites to set
123: */
124: public void setPhysicalWrites(String physicalWrites) {
125: this.physicalWrites = physicalWrites;
126: }
127:
128: }
|