45de69e6858664fe8c01a0a224a80490c50650d3
[policy/models.git] / models-base / src / test / java / org / onap / policy / models / base / testconcepts / DummyPfConceptContainer.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
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.models.base.testconcepts;
22
23 import java.util.Map;
24
25 import lombok.NonNull;
26
27 import org.onap.policy.models.base.PfConceptContainer;
28 import org.onap.policy.models.base.PfConceptKey;
29
30 /**
31  * Dummy container for PF concepts.
32  *
33  * @author Liam Fallon (liam.fallon@est.tech)
34  */
35 public class DummyPfConceptContainer extends PfConceptContainer<DummyPfConcept, DummyAuthorativeConcept> {
36     private static final long serialVersionUID = -3018432331484294280L;
37
38
39     /**
40      * The Default Constructor creates a {@link DummyPfConceptContainer} object with a null artifact key
41      * and creates an empty concept map.
42      */
43     public DummyPfConceptContainer() {
44         super();
45     }
46
47     /**
48      * The Key Constructor creates a {@link DummyPfConceptContainer} object with the given artifact key and
49      * creates an empty concept map.
50      *
51      * @param key the concept key
52      */
53     public DummyPfConceptContainer(@NonNull final PfConceptKey key) {
54         super(key);
55     }
56
57     /**
58      * This Constructor creates an concept container with all of its fields defined.
59      *
60      * @param key the concept container key
61      * @param conceptMap the concepts to be stored in the concept container
62      */
63     public DummyPfConceptContainer(@NonNull final PfConceptKey key,
64             @NonNull final Map<PfConceptKey, DummyPfConcept> conceptMap) {
65         super(key, conceptMap);
66     }
67
68     /**
69      * Copy constructor.
70      *
71      * @param copyConcept the concept to copy from
72      */
73     public DummyPfConceptContainer(@NonNull final DummyPfConceptContainer copyConcept) {
74         super(copyConcept);
75     }
76
77 }