1/*2 * Copyright 2000-2001,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 at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * 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 and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.security;
1819/***20 * A Jetspeed basic Role.21 *22 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>23 * @version $Id: Role.java,v 1.3 2004/02/23 03:14:12 jford Exp $24 */25publicinterfaceRole26 {
27/***28 * Get the name of the Role29 *30 * @return the name of the role.31 */32public String getName();
3334/***35 * Set the name of the Role36 *37 * @param roleName the name of the Role.38 */39publicvoid setName(String roleName);
4041/***42 * Get the id of the Role43 *44 * @return the id of the role.45 */46public String getId();
4748/***49 * Set the id of the Role50 *51 * @param id the new id for the role52 */53publicvoid setId(String id);
5455 }
56