fix some compilation warnings
[transportpce.git] / servicehandler / src / test / java / org / opendaylight / transportpce / servicehandler / mappers / ServiceDeleteOutputConverter.java
1 /*
2  * Copyright © 2018 Orange, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.transportpce.servicehandler.mappers;
9
10 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceDeleteOutput;
11 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceDeleteOutputBuilder;
12
13 public final class ServiceDeleteOutputConverter {
14
15     public static ServiceDeleteOutput
16         getStub(
17             org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426.ServiceDeleteOutput
18             concrete
19     ) {
20         ServiceDeleteOutputBuilder stubBuilder = new ServiceDeleteOutputBuilder();
21         stubBuilder.setConfigurationResponseCommon(concrete.getConfigurationResponseCommon());
22         return stubBuilder.build();
23     }
24
25
26     public static
27         org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426.ServiceDeleteOutput
28         getConcrete(ServiceDeleteOutput stub) {
29         org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426
30             .ServiceDeleteOutputBuilder concreteBuilder =
31                 new org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426
32                     .ServiceDeleteOutputBuilder();
33         concreteBuilder.setConfigurationResponseCommon(stub.getConfigurationResponseCommon());
34         return concreteBuilder.build();
35     }
36
37     private ServiceDeleteOutputConverter() {
38     }
39 }