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.krad.labs;
17  
18  import org.kuali.rice.kim.api.group.GroupMemberContract;
19  import org.kuali.rice.kim.impl.membership.AbstractMemberBo;
20  import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
21  
22  import javax.persistence.Cacheable;
23  import javax.persistence.Column;
24  import javax.persistence.Entity;
25  import javax.persistence.GeneratedValue;
26  import javax.persistence.Id;
27  import javax.persistence.Table;
28  
29  
30  @Entity
31  @Cacheable(false)
32  @Table(name = "KRIM_GRP_MBR_T")
33  
34  public class LabsGroupControl extends AbstractMemberBo implements GroupMemberContract{
35  
36      private transient String myGroupName;
37      private transient String myGroupNameSpace;
38  
39      private static final long serialVersionUID = 6773749266062306217L;
40  
41      @PortableSequenceGenerator(name = "KRIM_GRP_MBR_ID_S")
42      @GeneratedValue(generator = "KRIM_GRP_MBR_ID_S")
43      @Id
44      @Column(name = "GRP_MBR_ID")
45      private String id;
46  
47      @Column(name = "GRP_ID")
48      private String groupId;
49  
50      @Override
51      public String getId() {
52          return id;
53      }
54  
55      public void setId(String id) {
56          this.id = id;
57      }
58  
59      @Override
60      public String getGroupId() {
61          return groupId;
62      }
63  
64      public void setGroupId(String groupId) {
65          this.groupId = groupId;
66      }
67  
68      public String getMyGroupName() {
69          return myGroupName;
70      }
71  
72      public void setMyGroupName(String myGroupName) {
73          this.myGroupName = myGroupName;
74      }
75  
76      public String getMyGroupNameSpace() {
77          return myGroupNameSpace;
78      }
79  
80      public void setMyGroupNameSpace(String myGroupNameSpace) {
81          this.myGroupNameSpace = myGroupNameSpace;
82      }
83  
84  
85  }