fix some compilation warnings
[transportpce.git] / servicehandler / src / test / java / org / opendaylight / transportpce / servicehandler / mappers / ServiceImplementationRequestOutputConverter.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.ServiceImplementationRequestOutput;
11 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.ServiceImplementationRequestOutputBuilder;
12
13 public final class ServiceImplementationRequestOutputConverter {
14
15     public static ServiceImplementationRequestOutput getStub(org.opendaylight.yang.gen.v1.http.org.transportpce
16             .b.c._interface.servicepath.rev170426.ServiceImplementationRequestOutput concrete) {
17         ServiceImplementationRequestOutputBuilder stubBuilder = new ServiceImplementationRequestOutputBuilder();
18         stubBuilder.setConfigurationResponseCommon(concrete.getConfigurationResponseCommon());
19         return stubBuilder.build();
20     }
21
22
23     public static org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426
24         .ServiceImplementationRequestOutput getConcrete(ServiceImplementationRequestOutput stub) {
25         org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426
26             .ServiceImplementationRequestOutputBuilder concreteBuilder = new org.opendaylight.yang.gen.v1.http.org
27                 .transportpce.b.c._interface.servicepath.rev170426.ServiceImplementationRequestOutputBuilder();
28         concreteBuilder.setConfigurationResponseCommon(stub.getConfigurationResponseCommon());
29         return concreteBuilder.build();
30     }
31
32     private ServiceImplementationRequestOutputConverter() {
33     }
34
35 }