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
 
  10  * http://www.apache.org/licenses/LICENSE-2.0
 
  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
 
  16  * ============LICENSE_END==========================================================================
 
  17  ******************************************************************************/
 
  18 package org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container;
 
  20 import org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.util.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.rev181010.AirInterfaceConfigurationG;
 
  26 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.microwave.model.rev181010.AirInterfaceHistoricalPerformanceTypeG;
 
  27 import org.opendaylight.yangtools.yang.binding.DataContainer;
 
  29 public class ExtendedAirInterfaceHistoricalPerformanceType1211p implements OtnHistoryDataG, LinkIdentifyingObject {
 
  31     private final AirInterfaceHistoricalPerformanceTypeG airInterfaceHistoricalPerformanceType;
 
  32     private final AirInterfaceConfigurationG airInterfaceConfiguration;
 
  34     public ExtendedAirInterfaceHistoricalPerformanceType1211p(AirInterfaceHistoricalPerformanceTypeG data, AirInterfaceConfigurationG conf) {
 
  35         this.airInterfaceHistoricalPerformanceType = data;
 
  36         this.airInterfaceConfiguration = conf;
 
  40     public AirInterfaceHistoricalPerformanceTypeG getAirInterfaceHistoricalPerformanceType() {
 
  41         return airInterfaceHistoricalPerformanceType;
 
  45     public AirInterfaceConfigurationG getAirInterfaceConfiguration() {
 
  46         return airInterfaceConfiguration;
 
  51     public Class<? extends DataContainer> getImplementedInterface() {
 
  52         return airInterfaceHistoricalPerformanceType.getImplementedInterface();
 
  56     public String getHistoryDataId() {
 
  57         return airInterfaceHistoricalPerformanceType.getHistoryDataId();
 
  61     public DateAndTime getPeriodEndTime() {
 
  62         return airInterfaceHistoricalPerformanceType.getPeriodEndTime();
 
  67     public GranularityPeriodType getGranularityPeriod() {
 
  68         return airInterfaceHistoricalPerformanceType.getGranularityPeriod();
 
  73     public ObjectIdentifier getObjectClass() {
 
  74         return airInterfaceHistoricalPerformanceType.getObjectClass();
 
  79     public ObjectIdentifier getNameBinding() {
 
  80         return airInterfaceHistoricalPerformanceType.getNameBinding();
 
  84     public Boolean isSuspectIntervalFlag() {
 
  85         return airInterfaceHistoricalPerformanceType.isSuspectIntervalFlag();
 
  88     @SuppressWarnings("deprecation")
 
  90     public String getSignalId() {
 
  91         return airInterfaceConfiguration.getRadioSignalId();
 
  96     public String toString() {
 
  97         return "ExtendedAirInterfaceHistoricalPerformanceType [airInterfaceHistoricalPerformanceType="
 
  98                 + airInterfaceHistoricalPerformanceType + ", airInterfaceConfiguration=" + airInterfaceConfiguration