001/**
002 * Copyright 2005-2014 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.labs;
017
018import org.kuali.rice.kim.api.group.GroupMemberContract;
019import org.kuali.rice.kim.impl.membership.AbstractMemberBo;
020import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
021
022import javax.persistence.Cacheable;
023import javax.persistence.Column;
024import javax.persistence.Entity;
025import javax.persistence.GeneratedValue;
026import javax.persistence.Id;
027import javax.persistence.Table;
028
029
030@Entity
031@Cacheable(false)
032@Table(name = "KRIM_GRP_MBR_T")
033
034public class LabsGroupControl extends AbstractMemberBo implements GroupMemberContract{
035
036    private transient String myGroupName;
037    private transient String myGroupNameSpace;
038
039    private static final long serialVersionUID = 6773749266062306217L;
040
041    @PortableSequenceGenerator(name = "KRIM_GRP_MBR_ID_S")
042    @GeneratedValue(generator = "KRIM_GRP_MBR_ID_S")
043    @Id
044    @Column(name = "GRP_MBR_ID")
045    private String id;
046
047    @Column(name = "GRP_ID")
048    private String groupId;
049
050    @Override
051    public String getId() {
052        return id;
053    }
054
055    public void setId(String id) {
056        this.id = id;
057    }
058
059    @Override
060    public String getGroupId() {
061        return groupId;
062    }
063
064    public void setGroupId(String groupId) {
065        this.groupId = groupId;
066    }
067
068    public String getMyGroupName() {
069        return myGroupName;
070    }
071
072    public void setMyGroupName(String myGroupName) {
073        this.myGroupName = myGroupName;
074    }
075
076    public String getMyGroupNameSpace() {
077        return myGroupNameSpace;
078    }
079
080    public void setMyGroupNameSpace(String myGroupNameSpace) {
081        this.myGroupNameSpace = myGroupNameSpace;
082    }
083
084
085}