Source Code Cross Referenced for PSFTEPIObject.java in  » Portal » Open-Portal » com » sun » portal » psftportlet » epiportlet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.psftportlet.epiportlet 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * $Id: PSFTEPIObject.java,v 1.4 2005/10/19 12:38:56 pg133018 Exp $
003:         * Copyright 2004 Sun Microsystems, Inc. All
004:         * rights reserved. Use of this product is subject
005:         * to license terms. Federal Acquisitions:
006:         * Commercial Software -- Government Users
007:         * Subject to Standard License Terms and
008:         * Conditions.
009:         *
010:         * Sun, Sun Microsystems, the Sun logo, and Sun ONE
011:         * are trademarks or registered trademarks of Sun Microsystems,
012:         * Inc. in the United States and other countries.
013:         */package com.sun.portal.psftportlet.epiportlet;
014:
015:        import com.sun.portal.psftportlet.common.StreetAddress;
016:
017:        /**
018:         * This class defines the object used by PeopleSoft EPI portlet.
019:         *
020:         * @author Pradeep Gond
021:         */
022:
023:        public class PSFTEPIObject {
024:            private String errorMessage = "";
025:            private String employeeLastName = "";
026:            private String employeeFirstName = "";
027:            private String employeeNameRow = "1";
028:            private StreetAddress homeAddress;
029:            private StreetAddress mailAddress;
030:            //private String homeAddress = "";
031:            //private String mailAddress = "";
032:            private String phoneNumber = "";
033:            private String phoneNumberRow = "1";
034:            private String emailID = "";
035:            private String emailIDRow = "1";
036:            private String maritalStatus = "";
037:            private String maritalStatusRow = "1";
038:            private String emergencyContact = "";
039:            private String contactRelation = "";
040:            private StreetAddress contactAddress;
041:            //private String contactAddress = "";
042:            private String contactPhone = "";
043:            private String emergencyContactRow = "1";
044:
045:            public PSFTEPIObject() {
046:            }
047:
048:            public PSFTEPIObject(
049:                    String employeeLastName,
050:                    String employeeFirstName,
051:                    StreetAddress homeAddress,
052:                    StreetAddress mailAddress,
053:                    //String homeAddress,
054:                    //String mailAddress,
055:                    String phoneNumber, String emailID, String maritalStatus,
056:                    String emergencyContact, String contactRelation,
057:                    StreetAddress contactAddress,
058:                    //String contactAddress,
059:                    String contactPhone) {
060:                setEmployeeLastName(employeeLastName);
061:                setEmployeeFirstName(employeeFirstName);
062:                setHomeAddress(homeAddress);
063:                setMailAddress(mailAddress);
064:                setPhoneNumber(phoneNumber);
065:                setEmailID(emailID);
066:                setMaritalStatus(maritalStatus);
067:                setEmergencyContact(emergencyContact);
068:                setContactRelation(contactRelation);
069:                setContactAddress(contactAddress);
070:                setContactPhone(contactPhone);
071:            }
072:
073:            // public get methods
074:
075:            public String getErrorMessage() {
076:                return errorMessage;
077:            }
078:
079:            public String getEmployeeName() {
080:                return employeeLastName + " " + employeeFirstName;
081:            }
082:
083:            public String getEmployeeLastName() {
084:                return employeeLastName;
085:            }
086:
087:            public String getEmployeeFirstName() {
088:                return employeeFirstName;
089:            }
090:
091:            public StreetAddress getHomeAddress() {
092:                return homeAddress;
093:            }
094:
095:            public StreetAddress getMailAddress() {
096:                return mailAddress;
097:            }
098:
099:            public String getPhoneNumber() {
100:                return phoneNumber;
101:            }
102:
103:            public String getEmailID() {
104:                return emailID;
105:            }
106:
107:            public String getMaritalStatus() {
108:                return maritalStatus;
109:            }
110:
111:            public String getEmergencyContact() {
112:                return emergencyContact;
113:            }
114:
115:            public String getContactRelation() {
116:                return contactRelation;
117:            }
118:
119:            public StreetAddress getContactAddress() {
120:                return contactAddress;
121:            }
122:
123:            public String getContactPhone() {
124:                return contactPhone;
125:            }
126:
127:            public String getEmployeeNameRow() {
128:                return employeeNameRow;
129:            }
130:
131:            public String getPhoneNumberRow() {
132:                return phoneNumberRow;
133:            }
134:
135:            public String getEmailIDRow() {
136:                return emailIDRow;
137:            }
138:
139:            public String getMaritalStatusRow() {
140:                return maritalStatusRow;
141:            }
142:
143:            public String getEmergencyContactRow() {
144:                return emergencyContactRow;
145:            }
146:
147:            // set methods
148:
149:            void setErrorMessage(String errorMessage) {
150:                this .errorMessage = errorMessage;
151:            }
152:
153:            void setEmployeeLastName(String employeeLastName) {
154:                this .employeeLastName = employeeLastName;
155:            }
156:
157:            void setEmployeeFirstName(String employeeFirstName) {
158:                this .employeeFirstName = employeeFirstName;
159:            }
160:
161:            void setHomeAddress(StreetAddress homeAddress) {
162:                this .homeAddress = homeAddress;
163:            }
164:
165:            /*void setHomeAddress(String homeAddress) {
166:                this.homeAddress = homeAddress;
167:            }*/
168:
169:            void setMailAddress(StreetAddress mailAddress) {
170:                this .mailAddress = mailAddress;
171:            }
172:
173:            /*void setMailAddress(String mailAddress) {
174:                this.mailAddress = mailAddress;
175:            }*/
176:
177:            void setPhoneNumber(String phoneNumber) {
178:                this .phoneNumber = phoneNumber;
179:            }
180:
181:            void setEmailID(String emailID) {
182:                this .emailID = emailID;
183:            }
184:
185:            void setMaritalStatus(String maritalStatus) {
186:                this .maritalStatus = maritalStatus;
187:            }
188:
189:            void setEmergencyContact(String emergencyContact) {
190:                this .emergencyContact = emergencyContact;
191:            }
192:
193:            void setContactRelation(String contactRelation) {
194:                this .contactRelation = contactRelation;
195:            }
196:
197:            void setContactAddress(StreetAddress contactAddress) {
198:                this .contactAddress = contactAddress;
199:            }
200:
201:            /*void setContactAddress (String contactAddress) {
202:                this.contactAddress = contactAddress;
203:            }*/
204:
205:            void setContactPhone(String contactPhone) {
206:                this .contactPhone = contactPhone;
207:            }
208:
209:            void setEmployeeNameRow(String employeeNameRow) {
210:                this .employeeNameRow = employeeNameRow;
211:            }
212:
213:            void setPhoneNumberRow(String phoneNumberRow) {
214:                this .phoneNumberRow = phoneNumberRow;
215:            }
216:
217:            void setEmailIDRow(String emailIDRow) {
218:                this .emailIDRow = emailIDRow;
219:            }
220:
221:            void setMaritalStatusRow(String maritalStatusRow) {
222:                this .maritalStatusRow = maritalStatusRow;
223:            }
224:
225:            void setEmergencyContactRow(String emergencyContactRow) {
226:                this.emergencyContactRow = emergencyContactRow;
227:            }
228:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.