1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.pluto.portalImpl.om.servlet.impl;
18
19 public class ResourceRef {
20
21 private String description = "my description";
22 private String name = "name";
23 private String type = "type";
24 private String auth = "container";
25 private String sharing = "shareable";
26
27 /***
28 * @return description of the resource reference.
29 */
30 public String getDescription() {
31 return description;
32 }
33
34 /***
35 * @return name of the reference.
36 */
37 public String getName() {
38 return name;
39 }
40
41 /***
42 * Retrieve the type of resource referenced by this
43 * resource reference.
44 * @return the resource type.
45 */
46 public String getType() {
47 return type;
48 }
49
50 /***
51 *
52 * @return the authorization type of the resource.
53 */
54 public String getAuth() {
55 return auth;
56 }
57
58 public String getSharing() {
59 return sharing;
60 }
61
62 /***
63 * @param string the resource reference description.
64 */
65 public void setDescription(String string) {
66 description = string;
67 }
68
69 /***
70 * @param string the name of the resource reference
71 */
72 public void setName(String string) {
73 name = string;
74 }
75
76 public void setType(String string) {
77 type = string;
78 }
79
80 public void setAuth(String string) {
81 auth = string;
82 }
83
84 public void setSharing(String string) {
85 sharing = string;
86 }
87
88 }