001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: public class UserProfile implements Serializable {
027: protected org.jboss.portal.wsrp.core.PersonName name;
028: protected java.util.Calendar bdate;
029: protected java.lang.String gender;
030: protected org.jboss.portal.wsrp.core.EmployerInfo employerInfo;
031: protected org.jboss.portal.wsrp.core.Contact homeInfo;
032: protected org.jboss.portal.wsrp.core.Contact businessInfo;
033: protected org.jboss.portal.wsrp.core.Extension[] extensions;
034:
035: public UserProfile() {
036: }
037:
038: public UserProfile(org.jboss.portal.wsrp.core.PersonName name,
039: java.util.Calendar bdate, java.lang.String gender,
040: org.jboss.portal.wsrp.core.EmployerInfo employerInfo,
041: org.jboss.portal.wsrp.core.Contact homeInfo,
042: org.jboss.portal.wsrp.core.Contact businessInfo,
043: org.jboss.portal.wsrp.core.Extension[] extensions) {
044: this .name = name;
045: this .bdate = bdate;
046: this .gender = gender;
047: this .employerInfo = employerInfo;
048: this .homeInfo = homeInfo;
049: this .businessInfo = businessInfo;
050: this .extensions = extensions;
051: }
052:
053: public org.jboss.portal.wsrp.core.PersonName getName() {
054: return name;
055: }
056:
057: public void setName(org.jboss.portal.wsrp.core.PersonName name) {
058: this .name = name;
059: }
060:
061: public java.util.Calendar getBdate() {
062: return bdate;
063: }
064:
065: public void setBdate(java.util.Calendar bdate) {
066: this .bdate = bdate;
067: }
068:
069: public java.lang.String getGender() {
070: return gender;
071: }
072:
073: public void setGender(java.lang.String gender) {
074: this .gender = gender;
075: }
076:
077: public org.jboss.portal.wsrp.core.EmployerInfo getEmployerInfo() {
078: return employerInfo;
079: }
080:
081: public void setEmployerInfo(
082: org.jboss.portal.wsrp.core.EmployerInfo employerInfo) {
083: this .employerInfo = employerInfo;
084: }
085:
086: public org.jboss.portal.wsrp.core.Contact getHomeInfo() {
087: return homeInfo;
088: }
089:
090: public void setHomeInfo(org.jboss.portal.wsrp.core.Contact homeInfo) {
091: this .homeInfo = homeInfo;
092: }
093:
094: public org.jboss.portal.wsrp.core.Contact getBusinessInfo() {
095: return businessInfo;
096: }
097:
098: public void setBusinessInfo(
099: org.jboss.portal.wsrp.core.Contact businessInfo) {
100: this .businessInfo = businessInfo;
101: }
102:
103: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
104: return extensions;
105: }
106:
107: public void setExtensions(
108: org.jboss.portal.wsrp.core.Extension[] extensions) {
109: this.extensions = extensions;
110: }
111: }
|