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.krad.bo.TransientBusinessObjectBase;
22
23
24
25
26
27 public class SecurityAttributeMetadata extends TransientBusinessObjectBase {
28 private Class attributeClass;
29 private String attributeField;
30 private String attributeNameField;
31
32 public SecurityAttributeMetadata() {
33 }
34
35 public SecurityAttributeMetadata(Class attributeClass, String attributeField) {
36 this.attributeClass = attributeClass;
37 this.attributeField = attributeField;
38 }
39
40 public SecurityAttributeMetadata(Class attributeClass, String attributeField, String attributeNameField) {
41 this.attributeClass = attributeClass;
42 this.attributeField = attributeField;
43 this.attributeNameField = attributeNameField;
44 }
45
46
47
48
49
50
51 public Class getAttributeClass() {
52 return attributeClass;
53 }
54
55
56
57
58
59
60
61 public void setAttributeClass(Class attributeClass) {
62 this.attributeClass = attributeClass;
63 }
64
65
66
67
68
69
70
71 public String getAttributeField() {
72 return attributeField;
73 }
74
75
76
77
78
79
80
81 public void setAttributeField(String attributeField) {
82 this.attributeField = attributeField;
83 }
84
85
86
87
88
89
90
91 public String getAttributeNameField() {
92 return attributeNameField;
93 }
94
95
96
97
98
99
100 public void setAttributeNameField(String attributeNameField) {
101 this.attributeNameField = attributeNameField;
102 }
103
104
105 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
106 LinkedHashMap m = new LinkedHashMap();
107
108 m.put(SecPropertyConstants.ATTRIBUTE_ID, this.attributeField);
109
110 return m;
111 }
112
113 }