1 /**
2 * Copyright 2005-2015 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package edu.sampleu.admin;
17
18 /**
19 * @author Kuali Rice Team (rice.collab@kuali.org)
20 */
21 public class XmlIngesterUser {
22
23 public XmlIngesterUser(String id) {
24 principalId = id;
25 principalName = id;
26 emplId = id;
27 givenName = id.substring(0, 1);
28 lastName = id.substring(1, id.length());
29 emailAddress = id + "@bogus.email.com";
30 }
31
32 String principalId;
33 String principalName;
34 String emplId;
35 String givenName;
36 String lastName;
37 String emailAddress;
38
39 public String getPrincipalId() {
40 return principalId;
41 }
42
43 public String getPrincipalName() {
44 return principalName;
45 }
46
47 public String getEmplId() {
48 return emplId;
49 }
50
51 public String getGivenName() {
52 return givenName;
53 }
54
55 public String getLastName() {
56 return lastName;
57 }
58
59 public String getEmailAddress() {
60 return emailAddress;
61 }
62 }