Merge "Application name changes in meta json"
[ccsdk/features.git] / sdnr / wt / devicemanager / provider / src / main / java / org / onap / ccsdk / features / sdnr / wt / devicemanager / base / netconf / ONFCoreEmpty.java
1 /*******************************************************************************
2  * ============LICENSE_START========================================================================
3  * ONAP : ccsdk feature sdnr wt
4  * =================================================================================================
5  * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
6  * =================================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
8  * in compliance with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software distributed under the License
13  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14  * or implied. See the License for the specific language governing permissions and limitations under
15  * the License.
16  * ============LICENSE_END==========================================================================
17  ******************************************************************************/
18 /**
19  *
20  */
21 package org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf;
22
23 import org.onap.ccsdk.features.sdnr.wt.devicemanager.base.internalTypes.InventoryInformation;
24 import org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container.AllPm;
25 import org.opendaylight.controller.md.sal.binding.api.MountPoint;
26
27 /**
28  * @author herbert
29  *
30  */
31 public class ONFCoreEmpty implements ONFCoreNetworkElementRepresentation {
32
33     private String mountPointNodeName = "";
34
35
36     ONFCoreEmpty(String mountPointNodeName) {
37         this.mountPointNodeName = mountPointNodeName;
38     }
39
40     @Override
41     public void initialReadFromNetworkElement() {
42     }
43
44     @Override
45     public String getMountPointNodeName() {
46         return mountPointNodeName;
47     }
48
49     @Override
50     public void resetPMIterator() {
51     }
52
53     @Override
54     public boolean hasNext() {
55         return false;
56     }
57
58     @Override
59     public void next() {
60     }
61
62     @Override
63     public AllPm getHistoricalPM() {
64         return AllPm.getEmpty();
65     }
66
67     @Override
68     public String pmStatusToString() {
69         return "ONFCoreEmpty";
70     }
71
72     @Override
73     public int removeAllCurrentProblemsOfNode() {
74         return 0;
75     }
76
77     @Override
78     public void doRegisterMicrowaveEventListener(MountPoint mointPoint) {
79         //Do nothing
80     }
81
82     @Override
83     public void prepareCheck() {
84         //Do nothing here
85     }
86
87     @Override
88     public boolean checkIfConnectionToMediatorIsOk() {
89         return false;
90     }
91
92     @Override
93     public boolean checkIfConnectionToNeIsOk() {
94         return false;
95     }
96
97     @Override
98     public void initSynchronizationExtension() {
99     }
100
101     @Override
102     public InventoryInformation getInventoryInformation() {
103         return InventoryInformation.getDefault();
104     }
105
106     @Override
107     public InventoryInformation getInventoryInformation(String layerProtocolFilter) {
108         return InventoryInformation.getDefault();
109     }
110
111 }