001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/profile/tags/sakai_2-4-1/common-composite-component-data/src/java/org/sakaiproject/component/common/edu/person/EduPersonImpl.java $
003: * $Id: EduPersonImpl.java 8424 2006-04-27 20:23:44Z ggolden@umich.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the "License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.sakaiproject.component.common.edu.person;
021:
022: import org.sakaiproject.api.common.edu.person.EduPerson;
023: import org.sakaiproject.api.common.edu.person.InetOrgPerson;
024: import org.sakaiproject.api.common.edu.person.OrganizationalPerson;
025: import org.sakaiproject.api.common.edu.person.Person;
026:
027: /**
028: * @author <a href="mailto:lance@indiana.edu">Lance Speelmon </a>
029: */
030: public class EduPersonImpl extends InetOrgPersonImpl implements Person,
031: OrganizationalPerson, InetOrgPerson, EduPerson {
032:
033: protected String affiliation;
034:
035: /**
036: * @see org.sakaiproject.service.profile.EduPerson#getAffiliation()
037: */
038: public String getAffiliation() {
039: return affiliation;
040: }
041:
042: /**
043: * @param affiliation
044: * The affiliation to set.
045: */
046: public void setAffiliation(String affiliation) {
047: this .affiliation = affiliation;
048: }
049:
050: protected String entitlement;
051:
052: /**
053: * @see org.sakaiproject.service.profile.EduPerson#getEntitlement()
054: */
055: public String getEntitlement() {
056: return entitlement;
057: }
058:
059: /**
060: * @param entitlement
061: * The entitlement to set.
062: */
063: public void setEntitlement(String entitlement) {
064: this .entitlement = entitlement;
065: }
066:
067: protected String nickname;
068:
069: /**
070: * @see org.sakaiproject.service.profile.EduPerson#getNickname()
071: */
072: public String getNickname() {
073: return nickname;
074: }
075:
076: /**
077: * @param nickname
078: * The nickname to set.
079: */
080: public void setNickname(String nickname) {
081: this .nickname = nickname;
082: }
083:
084: protected String orgDn;
085:
086: /**
087: * @see org.sakaiproject.service.profile.EduPerson#getOrgDn()
088: */
089: public String getOrgDn() {
090: return orgDn;
091: }
092:
093: /**
094: * @param orgDn
095: * The orgDn to set.
096: */
097: public void setOrgDn(String orgDn) {
098: this .orgDn = orgDn;
099: }
100:
101: protected String orgUnitDn;
102:
103: /**
104: * @see org.sakaiproject.service.profile.EduPerson#getOrgUnitDn()
105: */
106: public String getOrgUnitDn() {
107: return orgUnitDn;
108: }
109:
110: /**
111: * @param orgUnitDn
112: * The orgUnitDn to set.
113: */
114: public void setOrgUnitDn(String orgUnitDn) {
115: this .orgUnitDn = orgUnitDn;
116: }
117:
118: protected String primaryAffiliation;
119:
120: /**
121: * @see org.sakaiproject.service.profile.EduPerson#getPrimaryAffiliation()
122: */
123: public String getPrimaryAffiliation() {
124: return primaryAffiliation;
125: }
126:
127: /**
128: * @param primaryAffiliation
129: * The primaryAffiliation to set.
130: */
131: public void setPrimaryAffiliation(String primaryAffiliation) {
132: this .primaryAffiliation = primaryAffiliation;
133: }
134:
135: protected String primaryOrgUnitDn;
136:
137: /**
138: * @see org.sakaiproject.service.profile.EduPerson#getPrimaryOrgUnitDn()
139: */
140: public String getPrimaryOrgUnitDn() {
141: return primaryOrgUnitDn;
142: }
143:
144: /**
145: * @param primaryOrgUnitDn
146: * The primaryOrgUnitDn to set.
147: */
148: public void setPrimaryOrgUnitDn(String primaryOrgUnitDn) {
149: this .primaryOrgUnitDn = primaryOrgUnitDn;
150: }
151:
152: protected String principalName;
153:
154: /**
155: * @see org.sakaiproject.service.profile.EduPerson#getPrincipalName()
156: */
157: public String getPrincipalName() {
158: return principalName;
159: }
160:
161: /**
162: * @param principalName
163: * The principalName to set.
164: */
165: public void setPrincipalName(String principalName) {
166: this.principalName = principalName;
167: }
168:
169: }
|