001: /**
002: * $Id: NamefinderDetail.java,v 1.1 2005/09/05 07:35:20 nk137934 Exp $
003: * Copyright 2005 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.sapportlet.namefinder;
014:
015: import com.sun.portal.sapportlet.stubs.namefinder.*;
016:
017: public class NamefinderDetail {
018:
019: private String firstName = "";
020: private String lastName = "";
021: private String employeeNumber = "";
022: private String orgUnitText = "";
023: private String roleText = "";
024: private String buildingNumber = "";
025: private String roomNumber = "";
026: private String extension = "";
027: private String emailAddress = "";
028:
029: /** Creates a new instance of NameFinderDetail */
030: public NamefinderDetail() {
031: }
032:
033: public String getFirstName() {
034: return firstName;
035: }
036:
037: public void setFirstName(String firstName) {
038: this .firstName = firstName;
039: }
040:
041: public String getLastName() {
042: return lastName;
043: }
044:
045: public void setLastName(String lastName) {
046: this .lastName = lastName;
047: }
048:
049: public String getEmployeeNumber() {
050: return employeeNumber;
051: }
052:
053: public void setEmployeeNumber(String employeeNumber) {
054: this .employeeNumber = employeeNumber;
055: }
056:
057: public String getOrgUnitText() {
058: return orgUnitText;
059: }
060:
061: public void setOrgUnitText(String orgUnitText) {
062: this .orgUnitText = orgUnitText;
063: }
064:
065: public String getRoleText() {
066: return roleText;
067: }
068:
069: public void setRoleText(String roleText) {
070: this .roleText = roleText;
071: }
072:
073: public String getBuildingNumber() {
074: return buildingNumber;
075: }
076:
077: public void setBuildingNumber(String buildingNumber) {
078: this .buildingNumber = buildingNumber;
079: }
080:
081: public String getRoomNumber() {
082: return roomNumber;
083: }
084:
085: public void setRoomNumber(String roomNumber) {
086: this .roomNumber = roomNumber;
087: }
088:
089: public String getExtension() {
090: return extension;
091: }
092:
093: public void setExtension(String extension) {
094: this .extension = extension;
095: }
096:
097: public String getEmailAddress() {
098: return emailAddress;
099: }
100:
101: public void setEmailAddress(String emailAddress) {
102: this .emailAddress = emailAddress;
103: }
104:
105: public String toString() {
106: return "Employee Number:" + getEmployeeNumber()
107: + " First Name:" + getFirstName() + " Last Name:"
108: + getLastName() + " Room Number:" + getRoomNumber()
109: + " Building Number:" + getBuildingNumber()
110: + " Extension:" + getExtension() + " Email:"
111: + getEmailAddress();
112: }
113: }
|