01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.pluto.descriptors.common;
18:
19: import java.util.ArrayList;
20: import java.util.List;
21:
22: /**
23: * Security Role Reference Configuration.
24: *
25: * @version $Id: SecurityRoleRefDD.java 157038 2005-03-11 03:44:40Z ddewolf $
26: * @since Feb 28, 2005
27: */
28: public class SecurityRoleRefDD {
29:
30: /** The name of the role reference. */
31: private String roleName;
32:
33: /** The role to which the reference is linked. */
34: private String roleLink;
35:
36: /** The descriptions of what the role is utilized for. */
37: private List descriptions = new ArrayList();
38:
39: /**
40: * Default Constructor.
41: */
42: public SecurityRoleRefDD() {
43:
44: }
45:
46: /**
47: * Retrieve the name of the role reference.
48: * @return
49: */
50: public String getRoleName() {
51: return roleName;
52: }
53:
54: /**
55: * Set the name of the role reference.
56: * @param roleName
57: */
58: public void setRoleName(String roleName) {
59: this .roleName = roleName;
60: }
61:
62: /**
63: * Retrieve then role to which the reference is linked.
64: * @return
65: */
66: public String getRoleLink() {
67: return roleLink;
68: }
69:
70: /**
71: * Set the role to which the reference is linked.
72: * @param roleLink
73: */
74: public void setRoleLink(String roleLink) {
75: this .roleLink = roleLink;
76: }
77:
78: public List getDescriptions() {
79: return descriptions;
80: }
81:
82: public void setDescriptions(List descriptions) {
83: this.descriptions = descriptions;
84: }
85: }
|