1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r2.common.datadictionary.util;
17
18
19 import java.util.List;
20 import org.kuali.rice.krad.datadictionary.exception.AttributeValidationException;
21 import org.kuali.rice.krad.datadictionary.validation.AttributeValueReader;
22 import org.kuali.rice.krad.datadictionary.validation.capability.Constrainable;
23
24 public class MockAttributeValueReader implements AttributeValueReader
25 {
26 @Override
27 public boolean isReadable(){
28 return true;
29 }
30
31 @Override
32 public String getAttributeName() {
33 return "test";
34 }
35
36 @Override
37 public List<String> getCleanSearchableValues(String attributeName) throws AttributeValidationException {
38 throw new UnsupportedOperationException("Not supported yet.");
39 }
40
41 @Override
42 public Constrainable getDefinition(String attributeName) {
43 return null;
44 }
45
46 @Override
47 public List<Constrainable> getDefinitions() {
48 throw new UnsupportedOperationException("Not supported yet.");
49 }
50
51 @Override
52 public Constrainable getEntry() {
53 throw new UnsupportedOperationException("Not supported yet.");
54 }
55
56 @Override
57 public String getEntryName() {
58 return "test";
59 }
60
61 @Override
62 public String getLabel(String attributeName) {
63 throw new UnsupportedOperationException("Not supported yet.");
64 }
65
66 @Override
67 public Object getObject() {
68 throw new UnsupportedOperationException("Not supported yet.");
69 }
70
71 @Override
72 public String getPath() {
73 throw new UnsupportedOperationException("Not supported yet.");
74 }
75
76 @Override
77 public Class<?> getType(String attributeName) {
78 throw new UnsupportedOperationException("Not supported yet.");
79 }
80
81 @Override
82 public <X> X getValue() throws AttributeValidationException {
83 throw new UnsupportedOperationException("Not supported yet.");
84 }
85
86 @Override
87 public <X> X getValue(String attributeName) throws AttributeValidationException {
88 throw new UnsupportedOperationException("Not supported yet.");
89 }
90
91 @Override
92 public void setAttributeName(String attributeName) {
93 throw new UnsupportedOperationException("Not supported yet.");
94 }
95
96 @Override
97 public AttributeValueReader clone() {
98 throw new UnsupportedOperationException("Not supported yet.");
99 }
100 }