1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.coreservice.impl.parameter;
17
18 import org.kuali.rice.krad.data.jpa.IdClassBase;
19
20 public class ParameterId extends IdClassBase {
21
22 private static final long serialVersionUID = -4654502682966630371L;
23
24 private String namespaceCode;
25 private String componentCode;
26 private String name;
27 private String applicationId;
28
29 public ParameterId() {}
30
31 public ParameterId(String namespaceCode, String componentCode, String name, String applicationId) {
32 this.namespaceCode = namespaceCode;
33 this.componentCode = componentCode;
34 this.name = name;
35 this.applicationId = applicationId;
36 }
37
38 public String getNamespaceCode() {
39 return namespaceCode;
40 }
41
42 public String getComponentCode() {
43 return componentCode;
44 }
45
46 public String getName() {
47 return name;
48 }
49
50 public String getApplicationId() {
51 return applicationId;
52 }
53
54 public String getCacheKey() {
55 return this.applicationId + this.componentCode + this.namespaceCode + this.name;
56 }
57 }
58