Changes for checkstyle 8.32
[policy/apex-pdp.git] / context / context-management / src / test / java / org / onap / policy / apex / context / impl / DummyContextAlbumImpl.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2018 Ericsson. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  * 
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  * 
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  * 
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.apex.context.impl;
22
23 import java.util.Collection;
24 import java.util.Map;
25 import java.util.Set;
26 import org.apache.commons.lang3.NotImplementedException;
27 import org.onap.policy.apex.context.ContextAlbum;
28 import org.onap.policy.apex.context.ContextException;
29 import org.onap.policy.apex.context.SchemaHelper;
30 import org.onap.policy.apex.model.basicmodel.concepts.AxArtifactKey;
31 import org.onap.policy.apex.model.basicmodel.concepts.AxConcept;
32 import org.onap.policy.apex.model.contextmodel.concepts.AxContextAlbum;
33
34 /**
35  * Dummy album implementation class.
36  *
37  */
38 public class DummyContextAlbumImpl implements ContextAlbum {
39
40     /**
41      * {@inheritDoc}.
42      */
43     @Override
44     public void clear() {
45         throw new NotImplementedException("Not Implemeted on dummy class");
46     }
47
48     /**
49      * {@inheritDoc}.
50      */
51     @Override
52     public boolean containsKey(Object key) {
53         throw new NotImplementedException("Not Implemeted on dummy class");
54     }
55
56     /**
57      * {@inheritDoc}.
58      */
59     @Override
60     public boolean containsValue(Object value) {
61         throw new NotImplementedException("Not Implemeted on dummy class");
62     }
63
64     /**
65      * {@inheritDoc}.
66      */
67     @Override
68     public Set<Entry<String, Object>> entrySet() {
69         throw new NotImplementedException("Not Implemeted on dummy class");
70     }
71
72     /**
73      * {@inheritDoc}.
74      */
75     @Override
76     public Object get(Object key) {
77         throw new NotImplementedException("Not Implemeted on dummy class");
78     }
79
80     /**
81      * {@inheritDoc}.
82      */
83     @Override
84     public boolean isEmpty() {
85         throw new NotImplementedException("Not Implemeted on dummy class");
86     }
87
88     /**
89      * {@inheritDoc}.
90      */
91     @Override
92     public Set<String> keySet() {
93         throw new NotImplementedException("Not Implemeted on dummy class");
94     }
95
96     /**
97      * {@inheritDoc}.
98      */
99     @Override
100     public Object put(String key, Object value) {
101         throw new NotImplementedException("Not Implemeted on dummy class");
102     }
103
104     /**
105      * {@inheritDoc}.
106      */
107     @Override
108     public void putAll(Map<? extends String, ? extends Object> map) {
109         throw new NotImplementedException("Not Implemeted on dummy class");
110
111     }
112
113     /**
114      * {@inheritDoc}.
115      */
116     @Override
117     public Object remove(Object key) {
118         throw new NotImplementedException("Not Implemeted on dummy class");
119     }
120
121     /**
122      * {@inheritDoc}.
123      */
124     @Override
125     public int size() {
126         throw new NotImplementedException("Not Implemeted on dummy class");
127     }
128
129     /**
130      * {@inheritDoc}.
131      */
132     @Override
133     public Collection<Object> values() {
134         throw new NotImplementedException("Not Implemeted on dummy class");
135     }
136
137     /**
138      * {@inheritDoc}.
139      */
140     @Override
141     public AxArtifactKey getKey() {
142         throw new NotImplementedException("Not Implemeted on dummy class");
143     }
144
145     /**
146      * {@inheritDoc}.
147      */
148     @Override
149     public String getName() {
150         throw new NotImplementedException("Not Implemeted on dummy class");
151     }
152
153     /**
154      * {@inheritDoc}.
155      */
156     @Override
157     public AxContextAlbum getAlbumDefinition() {
158         throw new NotImplementedException("Not Implemeted on dummy class");
159     }
160
161     /**
162      * {@inheritDoc}.
163      */
164     @Override
165     public SchemaHelper getSchemaHelper() {
166         throw new NotImplementedException("Not Implemeted on dummy class");
167     }
168
169     /**
170      * {@inheritDoc}.
171      */
172     @Override
173     public void lockForReading(String key) throws ContextException {
174         throw new NotImplementedException("Not Implemeted on dummy class");
175
176     }
177
178     /**
179      * {@inheritDoc}.
180      */
181     @Override
182     public void lockForWriting(String key) throws ContextException {
183         throw new NotImplementedException("Not Implemeted on dummy class");
184
185     }
186
187     /**
188      * {@inheritDoc}.
189      */
190     @Override
191     public void unlockForReading(String key) throws ContextException {
192         throw new NotImplementedException("Not Implemeted on dummy class");
193
194     }
195
196     /**
197      * {@inheritDoc}.
198      */
199     @Override
200     public void unlockForWriting(String key) throws ContextException {
201         throw new NotImplementedException("Not Implemeted on dummy class");
202
203     }
204
205     /**
206      * {@inheritDoc}.
207      */
208     @Override
209     public AxConcept[] getUserArtifactStack() {
210         throw new NotImplementedException("Not Implemeted on dummy class");
211     }
212
213     /**
214      * {@inheritDoc}.
215      */
216     @Override
217     public void setUserArtifactStack(AxConcept[] userArtifactStack) {
218         throw new NotImplementedException("Not Implemeted on dummy class");
219
220     }
221
222     /**
223      * {@inheritDoc}.
224      */
225     @Override
226     public void flush() throws ContextException {
227         throw new NotImplementedException("Not Implemeted on dummy class");
228
229     }
230
231 }