1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kns.datadictionary.exporter;
17
18 import java.util.Collection;
19 import java.util.Map;
20 import java.util.Set;
21
22 @Deprecated
23 public abstract class DataDictionaryMapBase implements Map {
24
25 public int size() {
26 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
27 }
28
29 public boolean isEmpty() {
30 return false;
31 }
32
33 public boolean containsKey(Object key) {
34 return get( key ) != null;
35 }
36
37 public boolean containsValue(Object value) {
38 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
39 }
40
41 public Object put(Object key, Object value) {
42 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
43 }
44
45 public Object remove(Object key) {
46 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
47 }
48
49 public void putAll(Map map) {
50 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
51 }
52
53 public void clear() {
54 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
55 }
56
57 public Set keySet() {
58 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
59 }
60
61 public Collection values() {
62 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
63 }
64
65 public Set entrySet() {
66 throw new UnsupportedOperationException( "This operation not supported on a " + this.getClass().getName() );
67 }
68
69 }