001 /*
002 *
003 * $Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
004 *
005 * This file is part of *** M y C o R e ***
006 * See http://www.mycore.de/ for details.
007 *
008 * This program is free software; you can use it, redistribute it
009 * and / or modify it under the terms of the GNU General Public License
010 * (GPL) as published by the Free Software Foundation; either version 2
011 * of the License or (at your option) any later version.
012 *
013 * This program is distributed in the hope that it will be useful, but
014 * WITHOUT ANY WARRANTY; without even the implied warranty of
015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
016 * GNU General Public License for more details.
017 *
018 * You should have received a copy of the GNU General Public License
019 * along with this program, in a file called gpl.txt or license.txt.
020 * If not, write to the Free Software Foundation Inc.,
021 * 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA
022 */
023
024 package org.mycore.backend.hibernate.tables;
025
026 public class MCRGROUPADMINS {
027 private MCRGROUPADMINSPK key;
028
029 public MCRGROUPADMINS() {
030 this.key = new MCRGROUPADMINSPK();
031 }
032
033 public MCRGROUPADMINS(MCRGROUPS gid, MCRUSERS userid, MCRGROUPS groupid) {
034 this.key = new MCRGROUPADMINSPK(gid, userid, groupid);
035 }
036
037 /**
038 * @hibernate.property column="Primary Key" not-null="true" update="true"
039 */
040 public MCRGROUPADMINSPK getKey() {
041 return key;
042 }
043
044 public void setKey(MCRGROUPADMINSPK key) {
045 this.key = key;
046 }
047
048 /**
049 * @hibernate.property column="GID" not-null="true" update="true"
050 */
051 public MCRGROUPS getGid() {
052 return key.getGid();
053 }
054
055 public void setGid(MCRGROUPS gid) {
056 key.setGid(gid);
057 }
058
059 /**
060 * @hibernate.property column="USERID" not-null="true" update="true"
061 */
062 public MCRUSERS getUserid() {
063 return key.getUserid();
064 }
065
066 public void setUserid(MCRUSERS userid) {
067 key.setUserid(userid);
068 }
069
070 /**
071 * @hibernate.property column="GROUPID" not-null="true" update="true"
072 */
073 public MCRGROUPS getGroupid() {
074 return key.getGroupid();
075 }
076
077 public void setGroupid(MCRGROUPS groupid) {
078 key.setGroupid(groupid);
079 }
080 }