1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.client.console.policies;
20
21 import java.io.Serializable;
22 import org.apache.syncope.common.lib.policy.RuleConf;
23 import org.apache.syncope.common.lib.types.ImplementationEngine;
24
25 public class PolicyRuleWrapper implements Serializable {
26
27 private static final long serialVersionUID = 2472755929742424558L;
28
29 private final boolean isNew;
30
31 private String implementationKey;
32
33 private ImplementationEngine implementationEngine;
34
35 private RuleConf conf;
36
37 public PolicyRuleWrapper(final boolean isNew) {
38 this.isNew = isNew;
39 }
40
41 public boolean isNew() {
42 return isNew;
43 }
44
45 public String getImplementationKey() {
46 return implementationKey;
47 }
48
49 public PolicyRuleWrapper setImplementationKey(final String implementationKey) {
50 this.implementationKey = implementationKey;
51 return this;
52 }
53
54 public ImplementationEngine getImplementationEngine() {
55 return implementationEngine;
56 }
57
58 public PolicyRuleWrapper setImplementationEngine(final ImplementationEngine implementationEngine) {
59 this.implementationEngine = implementationEngine;
60 return this;
61 }
62
63 public RuleConf getConf() {
64 return conf;
65 }
66
67 public PolicyRuleWrapper setConf(final RuleConf conf) {
68 this.conf = conf;
69 return this;
70 }
71 }