001/** 002 * Copyright 2005-2016 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.kim.impl.common.delegate; 017 018import javax.persistence.Column; 019import javax.persistence.Entity; 020import javax.persistence.GeneratedValue; 021import javax.persistence.Id; 022import javax.persistence.Table; 023import org.kuali.rice.kim.impl.common.attribute.KimAttributeDataBo; 024import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator; 025 026/** 027 * @author Kuali Rice Team (rice.collab@kuali.org) 028 */ 029@Entity 030@Table(name = "KRIM_DLGN_MBR_ATTR_DATA_T") 031public class DelegateMemberAttributeDataBo extends KimAttributeDataBo { 032 private static final long serialVersionUID = 1L; 033 034 @PortableSequenceGenerator(name = "KRIM_ATTR_DATA_ID_S") 035 @GeneratedValue(generator = "KRIM_ATTR_DATA_ID_S") 036 @Id 037 @Column(name = "ATTR_DATA_ID") 038 private String id; 039 040 @Column(name = "DLGN_MBR_ID") 041 private String assignedToId; 042 043 public String getId() { 044 return id; 045 } 046 047 public void setId(String id) { 048 this.id = id; 049 } 050 051 @Override 052 public String getAssignedToId() { 053 return assignedToId; 054 } 055 056 @Override 057 public void setAssignedToId(String assignedToId) { 058 this.assignedToId = assignedToId; 059 } 060}