1 /* 2 * Copyright 2000-2004 The Apache Software Foundation. 3 * 4 * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0 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 17 package org.apache.jetspeed.om.security; 18 19 /*** 20 * Basic Group Role implementation. 21 * 22 * @author <a href="mailto:mark_orciuch@ngsltd.com">Mark Orciuch</a> 23 * @version $Id: BaseJetspeedGroupRole.java,v 1.2 2004/02/23 03:14:12 jford Exp $ 24 */ 25 public class BaseJetspeedGroupRole implements GroupRole 26 { 27 protected Group group = null; 28 protected Role role = null; 29 30 /*** 31 * Get the Group 32 * 33 * @return the group. 34 */ 35 public Group getGroup() 36 { 37 return group; 38 } 39 40 /*** 41 * Set the Group 42 * 43 * @param group the Group. 44 */ 45 public void setGroup(Group group) 46 { 47 this.group = group; 48 } 49 50 /*** 51 * Get the Role 52 * 53 * @return the role. 54 */ 55 public Role getRole() 56 { 57 return role; 58 } 59 60 /*** 61 * Set the Role 62 * 63 * @param group the Role. 64 */ 65 public void setRole(Role role) 66 { 67 this.role = role; 68 } 69 }