01: /**
02: * $Id: DirectReport.java,v 1.1 2005/08/12 07:41:42 nk137934 Exp $
03: * Copyright 2005 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.sapportlet.manager;
14:
15: import com.sun.portal.sapportlet.stubs.manager.*;
16:
17: public class DirectReport {
18:
19: private String employeeNumber;
20: private String fullName;
21: private String shortName;
22: private String beginDate;
23:
24: /** Creates a new instance of DirectReport */
25: public DirectReport(HRWPC_S_KEYOBJEC data) {
26: setEmployeeNumber(data.getOBJID());
27: setFullName(data.getSTEXT());
28: setShortName(data.getSHORT());
29: setBeginDate(data.getBEGDA());
30:
31: }
32:
33: public String getEmployeeNumber() {
34: return employeeNumber;
35: }
36:
37: public void setEmployeeNumber(String employeeNumber) {
38: this .employeeNumber = employeeNumber;
39: }
40:
41: public String getFullName() {
42: return fullName;
43: }
44:
45: public void setFullName(String fullName) {
46: this .fullName = fullName;
47: }
48:
49: public String getShortName() {
50: return shortName;
51: }
52:
53: public void setShortName(String shortName) {
54: this .shortName = shortName;
55: }
56:
57: public String getBeginDate() {
58: return beginDate;
59: }
60:
61: public void setBeginDate(String beginDate) {
62: this.beginDate = beginDate;
63: }
64:
65: }
|