1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.datadictionary;
17
18 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
19 import org.kuali.rice.krad.uif.util.CopyUtils;
20
21
22
23
24
25
26 public abstract class DictionaryBeanBase implements DictionaryBean, Copyable {
27 private static final long serialVersionUID = 4334492273538657771L;
28
29 protected String namespaceCode;
30 protected String componentCode;
31
32 public DictionaryBeanBase() {}
33
34
35
36
37 @Override
38 @BeanTagAttribute(name = "namespaceCode")
39 public String getNamespaceCode() {
40 return namespaceCode;
41 }
42
43
44
45
46
47
48 public void setNamespaceCode(String namespaceCode) {
49 this.namespaceCode = namespaceCode;
50 }
51
52
53
54
55 @Override
56 @BeanTagAttribute(name = "componentCode")
57 public String getComponentCode() {
58 return componentCode;
59 }
60
61
62
63
64
65
66 public void setComponentCode(String componentCode) {
67 this.componentCode = componentCode;
68 }
69
70
71
72
73 @Override
74 public DictionaryBeanBase clone() throws CloneNotSupportedException {
75 return (DictionaryBeanBase) super.clone();
76 }
77
78
79
80
81
82 public <T> T copy() {
83 return CopyUtils.copy(this);
84 }
85
86 @Override
87 public void dataDictionaryPostProcessing() {
88
89 }
90 }