1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.sec.businessobject;
17
18 import java.util.LinkedHashMap;
19
20 import org.kuali.ole.sec.SecPropertyConstants;
21 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22 import org.kuali.rice.core.api.util.type.KualiInteger;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24
25
26
27
28
29 public class SecurityModelDefinition extends AbstractSecurityModelDefinition {
30 protected KualiInteger modelDefinitionId;
31 protected KualiInteger modelId;
32
33
34
35
36
37
38 public KualiInteger getModelDefinitionId() {
39 return modelDefinitionId;
40 }
41
42
43
44
45
46
47
48 public void setModelDefinitionId(KualiInteger modelDefinitionId) {
49 this.modelDefinitionId = modelDefinitionId;
50 }
51
52
53
54
55
56
57
58 public KualiInteger getModelId() {
59 return modelId;
60 }
61
62
63
64
65
66
67
68 public void setModelId(KualiInteger modelId) {
69 this.modelId = modelId;
70 }
71
72
73 @Override
74 public String toString() {
75 StringBuilder builder = new StringBuilder();
76 builder.append("SecurityModelDefinition [");
77 if (modelDefinitionId != null) {
78 builder.append("modelDefinitionId=");
79 builder.append(modelDefinitionId);
80 builder.append(", ");
81 }
82 if (modelId != null) {
83 builder.append("modelId=");
84 builder.append(modelId);
85 builder.append(", ");
86 }
87 if (definitionId != null) {
88 builder.append("definitionId=");
89 builder.append(definitionId);
90 builder.append(", ");
91 }
92 if (constraintCode != null) {
93 builder.append("constraintCode=");
94 builder.append(constraintCode);
95 builder.append(", ");
96 }
97 if (operatorCode != null) {
98 builder.append("operatorCode=");
99 builder.append(operatorCode);
100 builder.append(", ");
101 }
102 if (attributeValue != null) {
103 builder.append("attributeValue=");
104 builder.append(attributeValue);
105 builder.append(", ");
106 }
107 builder.append("overrideDeny=");
108 builder.append(overrideDeny);
109 builder.append("]");
110 return builder.toString();
111 }
112
113
114 }