View Javadoc
1   /**
2    * Copyright 2005-2014 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 org.kuali.rice.kim.impl.common.delegate;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.GeneratedValue;
21  import javax.persistence.Id;
22  import javax.persistence.Table;
23  import org.kuali.rice.kim.impl.common.attribute.KimAttributeDataBo;
24  import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
25  
26  /**
27   * @author Kuali Rice Team (rice.collab@kuali.org)
28   */
29  @Entity
30  @Table(name = "KRIM_DLGN_MBR_ATTR_DATA_T")
31  public class DelegateMemberAttributeDataBo extends KimAttributeDataBo {
32      private static final long serialVersionUID = 1L;
33  
34      @PortableSequenceGenerator(name = "KRIM_ATTR_DATA_ID_S")
35      @GeneratedValue(generator = "KRIM_ATTR_DATA_ID_S")
36      @Id
37      @Column(name = "ATTR_DATA_ID")
38      private String id;
39  
40      @Column(name = "DLGN_MBR_ID")
41      private String assignedToId;
42  
43      public String getId() {
44          return id;
45      }
46  
47      public void setId(String id) {
48          this.id = id;
49      }
50  
51      @Override
52      public String getAssignedToId() {
53          return assignedToId;
54      }
55  
56      @Override
57      public void setAssignedToId(String assignedToId) {
58          this.assignedToId = assignedToId;
59      }
60  }