View Javadoc

1   /**
2    * Copyright 2005-2013 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 org.kuali.rice.kim.impl.common.attribute.KimAttributeDataBo;
19  
20  import javax.persistence.Column;
21  import javax.persistence.Entity;
22  import javax.persistence.GeneratedValue;
23  import javax.persistence.Id;
24  import javax.persistence.Table;
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  
33      @Id
34      @GeneratedValue(generator = "KRIM_ATTR_DATA_ID_S")
35      @Column(name="ATTR_DATA_ID")
36      private String id;
37  
38      @Column(name = "DLGN_MBR_ID")
39      private String assignedToId;
40  
41      public String getId() {
42          return id;
43      }
44  
45      public void setId(String id) {
46          this.id = id;
47      }
48  
49      @Override
50      public String getAssignedToId() {
51          return assignedToId;
52      }
53  
54      @Override
55      public void setAssignedToId(String assignedToId) {
56          this.assignedToId = assignedToId;
57      }
58  
59  }