001    /**
002     * Copyright 2005-2014 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package edu.sampleu.admin;
017    
018    /**
019     * @author Kuali Rice Team (rice.collab@kuali.org)
020     */
021    public class XmlIngesterUser {
022    
023        public XmlIngesterUser(String id) {
024            principalId = id;
025            principalName = id;
026            emplId = id;
027            givenName = id.substring(0, 1);
028            lastName = id.substring(1, id.length());
029            emailAddress = id + "@bogus.email.com";
030        }
031    
032        String principalId;
033        String principalName;
034        String emplId;
035        String givenName;
036        String lastName;
037        String emailAddress;
038    
039        public String getPrincipalId() {
040            return principalId;
041        }
042    
043        public String getPrincipalName() {
044            return principalName;
045        }
046    
047        public String getEmplId() {
048            return emplId;
049        }
050    
051        public String getGivenName() {
052            return givenName;
053        }
054    
055        public String getLastName() {
056            return lastName;
057        }
058    
059        public String getEmailAddress() {
060            return emailAddress;
061        }
062    }