YANG Model update for A1 Adapter
[ccsdk/features.git] / sdnr / wt / devicemanager / provider / src / main / java / org / onap / ccsdk / features / sdnr / wt / devicemanager / base / onfcore / container / ExtendedAirInterfaceHistoricalPerformanceType12.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 package org.onap.ccsdk.features.sdnr.wt.devicemanager.base.onfcore.container;
19
20 import org.onap.ccsdk.features.sdnr.wt.devicemanager.impl.LinkIdentifyingObject;
21 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
22 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.g._874._1.model.rev170320.GranularityPeriodType;
23 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.g._874._1.model.rev170320.ObjectIdentifier;
24 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.g._874._1.model.rev170320.OtnHistoryDataG;
25 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.microwave.model.rev170324.AirInterfaceConfigurationG;
26 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.microwave.model.rev170324.AirInterfaceHistoricalPerformanceTypeG;
27 import org.opendaylight.yangtools.yang.binding.DataContainer;
28
29 public class ExtendedAirInterfaceHistoricalPerformanceType12 implements OtnHistoryDataG, LinkIdentifyingObject {
30
31     private final AirInterfaceHistoricalPerformanceTypeG airInterfaceHistoricalPerformanceType;
32     private final AirInterfaceConfigurationG airInterfaceConfiguration;
33
34     public ExtendedAirInterfaceHistoricalPerformanceType12(AirInterfaceHistoricalPerformanceTypeG data, AirInterfaceConfigurationG conf) {
35         this.airInterfaceHistoricalPerformanceType = data;
36         this.airInterfaceConfiguration = conf;
37     }
38
39
40     public AirInterfaceHistoricalPerformanceTypeG getAirInterfaceHistoricalPerformanceType() {
41         return airInterfaceHistoricalPerformanceType;
42     }
43
44
45     public AirInterfaceConfigurationG getAirInterfaceConfiguration() {
46         return airInterfaceConfiguration;
47     }
48
49
50     @Override
51     public Class<? extends DataContainer> getImplementedInterface() {
52         return airInterfaceHistoricalPerformanceType.getImplementedInterface();
53     }
54
55     @Override
56     public String getHistoryDataId() {
57         return airInterfaceHistoricalPerformanceType.getHistoryDataId();
58     }
59
60     @Override
61     public DateAndTime getPeriodEndTime() {
62         return airInterfaceHistoricalPerformanceType.getPeriodEndTime();
63     }
64
65
66     @Override
67     public GranularityPeriodType getGranularityPeriod() {
68         return airInterfaceHistoricalPerformanceType.getGranularityPeriod();
69     }
70
71
72      @Override
73     public ObjectIdentifier getObjectClass() {
74         return airInterfaceHistoricalPerformanceType.getObjectClass();
75     }
76
77
78     @Override
79     public ObjectIdentifier getNameBinding() {
80         return airInterfaceHistoricalPerformanceType.getNameBinding();
81     }
82
83     @Override
84     public Boolean isSuspectIntervalFlag() {
85         return airInterfaceHistoricalPerformanceType.isSuspectIntervalFlag();
86     }
87
88     @Override
89     public String getSignalId() {
90         return airInterfaceConfiguration.getRadioSignalId();
91     }
92
93
94     @Override
95     public String toString() {
96         return "ExtendedAirInterfaceHistoricalPerformanceType [airInterfaceHistoricalPerformanceType="
97                 + airInterfaceHistoricalPerformanceType + ", airInterfaceConfiguration=" + airInterfaceConfiguration
98                 + "]";
99     }
100
101
102
103
104
105 }