git-svn-id: http://svn.cacert.cl/Software/BirdShack@8 d4452222-2f33-11de-9270-0100000...
[cacert-birdshack.git] / Business Logic / trunk / src / org / cacert / bl / model / Permission.java
1 /**
2 *
3 */
4 package org.cacert.bl.model;
5
6 import com.sun.tools.javac.util.List;
7
8 /**
9 * @author law
10 *
11 */
12 public class Permission extends CacertObject {
13 private String recourcePattern;
14 private List<String> actions;
15 /**
16 * @return the recourcePattern
17 */
18 public String getRecourcePattern() {
19 return recourcePattern;
20 }
21 /**
22 * @param recourcePattern the recourcePattern to set
23 */
24 protected Permission setRecourcePattern(String recourcePattern) {
25 this.recourcePattern = recourcePattern;
26 return this;
27 }
28 /**
29 * @return the actions
30 */
31 public List<String> getActions() {
32 return actions;
33 }
34 /**
35 * @param actions the actions to set
36 */
37 protected Permission setActions(List<String> actions) {
38 this.actions = actions;
39 return this;
40 }
41
42
43 }