001/**
002 * Copyright 2005-2015 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 */
016package org.kuali.rice.krad.bo;
017
018import org.kuali.rice.krad.data.jpa.IdClassBase;
019
020/**
021 * ID Class for SessionDocument.
022 *
023 * @author Kuali Rice Team (rice.collab@kuali.org)
024 *
025 */
026public class SessionDocumentId extends IdClassBase {
027
028    private static final long serialVersionUID = 2455522802669321846L;
029
030    private String sessionId;
031        private String documentNumber;
032        private String principalId;
033        private String ipAddress;
034
035        public SessionDocumentId() {}
036
037        public SessionDocumentId(String documentNumber, String sessionId, String principalId, String ipAddress) {
038                this.documentNumber = documentNumber;
039                this.sessionId = sessionId;
040                this.principalId = principalId;
041                this.ipAddress = ipAddress;
042        }
043
044        public String getDocumentNumber() {
045                return this.documentNumber;
046        }
047
048        public String getSessionId() {
049                return this.sessionId;
050        }
051
052        public String getPrincipalId() {
053                return this.principalId;
054        }
055
056        public String getIpAddress() {
057                return this.ipAddress;
058        }
059
060}