Convert project from AJSC to Spring Boot
[aai/model-loader.git] / src / test / java / org / onap / aai / modelloader / fixture / TestResourceInstanceImpl.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017-2018 European Software Marketing Ltd.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *       http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21 package org.onap.aai.modelloader.fixture;
22
23 import java.util.List;
24 import org.onap.sdc.api.notification.IArtifactInfo;
25 import org.onap.sdc.api.notification.IResourceInstance;
26
27 /**
28  * This class is an implementation of IResourceInstance for test purposes.
29  */
30 public class TestResourceInstanceImpl implements IResourceInstance {
31
32     private List<IArtifactInfo> artifacts;
33
34     @Override
35     public String getResourceInstanceName() {
36         return null;
37     }
38
39     @Override
40     public String getResourceName() {
41         return null;
42     }
43
44     @Override
45     public String getResourceVersion() {
46         return null;
47     }
48
49     @Override
50     public String getResourceType() {
51         return null;
52     }
53
54     @Override
55     public String getResourceUUID() {
56         return null;
57     }
58
59     @Override
60     public List<IArtifactInfo> getArtifacts() {
61         return artifacts;
62     }
63
64     @Override
65     public String getResourceInvariantUUID() {
66         return null;
67     }
68
69     @Override
70     public String getResourceCustomizationUUID() {
71         return null;
72     }
73
74     @Override
75     public String getCategory() {
76         return null;
77     }
78
79     @Override
80     public String getSubcategory() {
81         return null;
82     }
83
84     void setArtifacts(List<IArtifactInfo> artifacts) {
85         this.artifacts = artifacts;
86     }
87 }