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.profile.psml;
1819import org.apache.jetspeed.om.profile.Role;
2021/***22 * Bean like implementation of the Role interface suitable for 23 * Castor serialization.24 * 25 * @see org.apache.jetspeed.om.registry.Security26 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>27 * @version $Id: PsmlRole.java,v 1.3 2004/02/23 03:02:54 jford Exp $28 */29publicclassPsmlRole implements Role, java.io.Serializable
30 {
3132private String name = null;
3334publicPsmlRole()
35 {}
3637/*** @return the role name that is required for accessing this entry */38public String getName()
39 {
40returnthis.name;
41 }
4243/*** Sets the role name required for accessing this entry44 * @param name the required role name45 */46publicvoid setName( String name )
47 {
48this.name = name;
49 }
5051 }