View Javadoc

1   /*
2    * Copyright 2005 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  package org.apache.pluto.descriptors.common;
17  
18  /***
19   * Security Role Reference Configuration.
20   *
21   * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
22   * @version $Id: SecurityRoleRefDD.java 157038 2005-03-11 03:44:40Z ddewolf $
23   * @since Feb 28, 2005
24   */
25  public class SecurityRoleRefDD {
26  
27      /*** The name of the role reference. */
28      private String roleName;
29  
30      /*** The role to which the reference is linked. */
31      private String roleLink;
32  
33      /*** The description of what the role is utilized for. */
34      private String description;
35  
36      /***
37       * Default Constructor.
38       */
39      public SecurityRoleRefDD() {
40  
41      }
42  
43      /***
44       * Retrieve the name of the role reference.
45       * @return
46       */
47      public String getRoleName() {
48          return roleName;
49      }
50  
51      /***
52       * Set the name of the role reference.
53       * @param roleName
54       */
55      public void setRoleName(String roleName) {
56          this.roleName = roleName;
57      }
58  
59      /***
60       * Retrieve then role to which the reference is linked.
61       * @return
62       */
63      public String getRoleLink() {
64          return roleLink;
65      }
66  
67      /***
68       * Set the role to which the reference is linked.
69       * @param roleLink
70       */
71      public void setRoleLink(String roleLink) {
72          this.roleLink = roleLink;
73      }
74  
75      /***
76       * Retrieve the description of the role reference.
77       * @return
78       */
79      public String getDescription() {
80          return description;
81      }
82  
83      /***
84       * Set the description of the role reference.
85       * @param description
86       */
87      public void setDescription(String description) {
88          this.description = description;
89      }
90  }
91