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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
21 package org.onap.policy.apex.context.impl;
23 import java.util.Collection;
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;
35 * Dummy album implementation class.
38 public class DummyContextAlbumImpl implements ContextAlbum {
45 throw new NotImplementedException("Not Implemeted on dummy class");
52 public boolean containsKey(Object key) {
53 throw new NotImplementedException("Not Implemeted on dummy class");
60 public boolean containsValue(Object value) {
61 throw new NotImplementedException("Not Implemeted on dummy class");
68 public Set<Entry<String, Object>> entrySet() {
69 throw new NotImplementedException("Not Implemeted on dummy class");
76 public Object get(Object key) {
77 throw new NotImplementedException("Not Implemeted on dummy class");
84 public boolean isEmpty() {
85 throw new NotImplementedException("Not Implemeted on dummy class");
92 public Set<String> keySet() {
93 throw new NotImplementedException("Not Implemeted on dummy class");
100 public Object put(String key, Object value) {
101 throw new NotImplementedException("Not Implemeted on dummy class");
108 public void putAll(Map<? extends String, ? extends Object> map) {
109 throw new NotImplementedException("Not Implemeted on dummy class");
117 public Object remove(Object key) {
118 throw new NotImplementedException("Not Implemeted on dummy class");
126 throw new NotImplementedException("Not Implemeted on dummy class");
133 public Collection<Object> values() {
134 throw new NotImplementedException("Not Implemeted on dummy class");
141 public AxArtifactKey getKey() {
142 throw new NotImplementedException("Not Implemeted on dummy class");
149 public String getName() {
150 throw new NotImplementedException("Not Implemeted on dummy class");
157 public AxContextAlbum getAlbumDefinition() {
158 throw new NotImplementedException("Not Implemeted on dummy class");
165 public SchemaHelper getSchemaHelper() {
166 throw new NotImplementedException("Not Implemeted on dummy class");
173 public void lockForReading(String key) throws ContextException {
174 throw new NotImplementedException("Not Implemeted on dummy class");
182 public void lockForWriting(String key) throws ContextException {
183 throw new NotImplementedException("Not Implemeted on dummy class");
191 public void unlockForReading(String key) throws ContextException {
192 throw new NotImplementedException("Not Implemeted on dummy class");
200 public void unlockForWriting(String key) throws ContextException {
201 throw new NotImplementedException("Not Implemeted on dummy class");
209 public AxConcept[] getUserArtifactStack() {
210 throw new NotImplementedException("Not Implemeted on dummy class");
217 public void setUserArtifactStack(AxConcept[] userArtifactStack) {
218 throw new NotImplementedException("Not Implemeted on dummy class");
226 public void flush() throws ContextException {
227 throw new NotImplementedException("Not Implemeted on dummy class");