01: /**
02: * $Id: PSFTTimeEntryObject.java,v 1.1 2005/05/13 07:39:40 pg133018 Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.psftportlet.timeentryportlet;
14:
15: import java.util.Vector;
16:
17: /**
18: * This class defines the object used by PeopleSoft Time Entry portlet.
19: *
20: * @author Pradeep Gond
21: */
22:
23: public class PSFTTimeEntryObject {
24: private String employeeName = "";
25: private String errorMessage = "";
26: private Vector dates;
27: private Vector timeReported;
28:
29: public PSFTTimeEntryObject() {
30: }
31:
32: public PSFTTimeEntryObject(String employeeName, Vector dates,
33: Vector timeReported) {
34: this .employeeName = employeeName;
35: this .dates = dates;
36: this .timeReported = timeReported;
37: }
38:
39: // public get methods
40: public String getEmployeeName() {
41: return employeeName;
42: }
43:
44: public String getErrorMessage() {
45: return errorMessage;
46: }
47:
48: public Vector getDates() {
49: return dates;
50: }
51:
52: public Vector getTimeReported() {
53: return timeReported;
54: }
55:
56: // set methods
57: void setEmployeeName(String employeeName) {
58: this .employeeName = employeeName;
59: }
60:
61: void setErrorMessage(String errorMessage) {
62: this .errorMessage = errorMessage;
63: }
64:
65: void setDates(Vector dates) {
66: this .dates = dates;
67: }
68:
69: void setTimeReported(Vector timeReported) {
70: this.timeReported = timeReported;
71: }
72: }
|