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.datadictionary.validator.ValidationTrace;
20
21
22
23
24
25
26 abstract public class DataDictionaryDefinitionBase extends DictionaryBeanBase implements DataDictionaryDefinition {
27 private static final long serialVersionUID = -2003626577498716712L;
28
29 protected String id;
30 protected boolean embeddedDataObjectMetadata = false;
31 protected boolean generatedFromMetadata = false;
32
33 public DataDictionaryDefinitionBase() {
34 }
35
36 @Override
37 @BeanTagAttribute(name = "id")
38 public String getId() {
39 return this.id;
40 }
41
42
43
44
45 public void setId(String id) {
46 this.id = id;
47 }
48
49
50
51
52
53
54 public boolean hasEmbeddedDataObjectMetadata() {
55 return embeddedDataObjectMetadata;
56 }
57
58
59
60
61
62 public boolean wasGeneratedFromMetadata() {
63 return generatedFromMetadata;
64 }
65
66 public void setEmbeddedDataObjectMetadata(boolean embeddedDataObjectMetadata) {
67 this.embeddedDataObjectMetadata = embeddedDataObjectMetadata;
68 }
69
70 public void setGeneratedFromMetadata(boolean generatedFromMetadata) {
71 this.generatedFromMetadata = generatedFromMetadata;
72 }
73
74
75
76
77 @Override
78 @Deprecated
79 public void completeValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass) {
80 completeValidation(rootBusinessObjectClass, otherBusinessObjectClass, new ValidationTrace());
81 }
82
83
84
85
86 @Override
87 public void completeValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass, ValidationTrace tracer) {}
88 }