001: package fr.aliacom.dbmjui;
002:
003: import java.util.Date;
004:
005: /**
006: * @author tom
007: *
008: * (C) 2001, 2002 Thomas Cataldo
009: */
010: public class HistoryLine {
011:
012: private String key;
013: private String label;
014: private String action;
015: private Date stamp1;
016: private Date stamp2;
017: private Date start;
018: private Date stop;
019: private Integer firstLog;
020: private Integer lastLog;
021: private Boolean log;
022: private String media;
023: private Integer pages;
024: private Integer volumes;
025: private Integer rc;
026: private String error;
027:
028: public HistoryLine() {
029: }
030:
031: /**
032: * Returns the action.
033: * @return String
034: */
035: public String getAction() {
036: return action;
037: }
038:
039: /**
040: * Returns the error.
041: * @return String
042: */
043: public String getError() {
044: return error;
045: }
046:
047: /**
048: * Returns the firstLog.
049: * @return int
050: */
051: public Integer getFirstLog() {
052: return firstLog;
053: }
054:
055: /**
056: * Returns the key.
057: * @return String
058: */
059: public String getKey() {
060: return key;
061: }
062:
063: /**
064: * Returns the label.
065: * @return String
066: */
067: public String getLabel() {
068: return label;
069: }
070:
071: /**
072: * Returns the lastLog.
073: * @return int
074: */
075: public Integer getLastLog() {
076: return lastLog;
077: }
078:
079: /**
080: * Returns the log.
081: * @return boolean
082: */
083: public Boolean getLog() {
084: return log;
085: }
086:
087: /**
088: * Returns the media.
089: * @return String
090: */
091: public String getMedia() {
092: return media;
093: }
094:
095: /**
096: * Returns the pages.
097: * @return int
098: */
099: public Integer getPages() {
100: return pages;
101: }
102:
103: /**
104: * Returns the stamp1.
105: * @return Date
106: */
107: public Date getStamp1() {
108: return stamp1;
109: }
110:
111: /**
112: * Returns the stamp2.
113: * @return Date
114: */
115: public Date getStamp2() {
116: return stamp2;
117: }
118:
119: /**
120: * Returns the start.
121: * @return String
122: */
123: public Date getStart() {
124: return start;
125: }
126:
127: /**
128: * Returns the stop.
129: * @return String
130: */
131: public Date getStop() {
132: return stop;
133: }
134:
135: /**
136: * Returns the volumes.
137: * @return int
138: */
139: public Integer getVolumes() {
140: return volumes;
141: }
142:
143: /**
144: * Sets the action.
145: * @param action The action to set
146: */
147: public void setAction(String action) {
148: this .action = action;
149: }
150:
151: /**
152: * Sets the error.
153: * @param error The error to set
154: */
155: public void setError(String error) {
156: this .error = error;
157: }
158:
159: /**
160: * Sets the firstLog.
161: * @param firstLog The firstLog to set
162: */
163: public void setFirstLog(Integer firstLog) {
164: this .firstLog = firstLog;
165: }
166:
167: /**
168: * Sets the key.
169: * @param key The key to set
170: */
171: public void setKey(String key) {
172: this .key = key;
173: }
174:
175: /**
176: * Sets the label.
177: * @param label The label to set
178: */
179: public void setLabel(String label) {
180: this .label = label;
181: }
182:
183: /**
184: * Sets the lastLog.
185: * @param lastLog The lastLog to set
186: */
187: public void setLastLog(Integer lastLog) {
188: this .lastLog = lastLog;
189: }
190:
191: /**
192: * Sets the log.
193: * @param log The log to set
194: */
195: public void setLog(Boolean log) {
196: this .log = log;
197: }
198:
199: /**
200: * Sets the media.
201: * @param media The media to set
202: */
203: public void setMedia(String media) {
204: this .media = media;
205: }
206:
207: /**
208: * Sets the pages.
209: * @param pages The pages to set
210: */
211: public void setPages(Integer pages) {
212: this .pages = pages;
213: }
214:
215: /**
216: * Sets the stamp1.
217: * @param stamp1 The stamp1 to set
218: */
219: public void setStamp1(Date stamp1) {
220: this .stamp1 = stamp1;
221: }
222:
223: /**
224: * Sets the stamp2.
225: * @param stamp2 The stamp2 to set
226: */
227: public void setStamp2(Date stamp2) {
228: this .stamp2 = stamp2;
229: }
230:
231: /**
232: * Sets the start.
233: * @param start The start to set
234: */
235: public void setStart(Date start) {
236: this .start = start;
237: }
238:
239: /**
240: * Sets the stop.
241: * @param stop The stop to set
242: */
243: public void setStop(Date stop) {
244: this .stop = stop;
245: }
246:
247: /**
248: * Sets the volumes.
249: * @param volumes The volumes to set
250: */
251: public void setVolumes(Integer volumes) {
252: this .volumes = volumes;
253: }
254:
255: /**
256: * Returns the rc.
257: * @return Integer
258: */
259: public Integer getRc() {
260: return rc;
261: }
262:
263: /**
264: * Sets the rc.
265: * @param rc The rc to set
266: */
267: public void setRc(Integer rc) {
268: this.rc = rc;
269: }
270:
271: }
|