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 PersonName implements Serializable {
027: protected java.lang.String prefix;
028: protected java.lang.String given;
029: protected java.lang.String family;
030: protected java.lang.String middle;
031: protected java.lang.String suffix;
032: protected java.lang.String nickname;
033: protected org.jboss.portal.wsrp.core.Extension[] extensions;
034:
035: public PersonName() {
036: }
037:
038: public PersonName(java.lang.String prefix, java.lang.String given,
039: java.lang.String family, java.lang.String middle,
040: java.lang.String suffix, java.lang.String nickname,
041: org.jboss.portal.wsrp.core.Extension[] extensions) {
042: this .prefix = prefix;
043: this .given = given;
044: this .family = family;
045: this .middle = middle;
046: this .suffix = suffix;
047: this .nickname = nickname;
048: this .extensions = extensions;
049: }
050:
051: public java.lang.String getPrefix() {
052: return prefix;
053: }
054:
055: public void setPrefix(java.lang.String prefix) {
056: this .prefix = prefix;
057: }
058:
059: public java.lang.String getGiven() {
060: return given;
061: }
062:
063: public void setGiven(java.lang.String given) {
064: this .given = given;
065: }
066:
067: public java.lang.String getFamily() {
068: return family;
069: }
070:
071: public void setFamily(java.lang.String family) {
072: this .family = family;
073: }
074:
075: public java.lang.String getMiddle() {
076: return middle;
077: }
078:
079: public void setMiddle(java.lang.String middle) {
080: this .middle = middle;
081: }
082:
083: public java.lang.String getSuffix() {
084: return suffix;
085: }
086:
087: public void setSuffix(java.lang.String suffix) {
088: this .suffix = suffix;
089: }
090:
091: public java.lang.String getNickname() {
092: return nickname;
093: }
094:
095: public void setNickname(java.lang.String nickname) {
096: this .nickname = nickname;
097: }
098:
099: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
100: return extensions;
101: }
102:
103: public void setExtensions(
104: org.jboss.portal.wsrp.core.Extension[] extensions) {
105: this.extensions = extensions;
106: }
107: }
|