2 * Copyright © 2018 Orange, Inc. and others. All rights reserved.
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
8 package org.opendaylight.transportpce.servicehandler.mappers;
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;
13 public final class ServiceImplementationRequestOutputConverter {
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();
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();
32 private ServiceImplementationRequestOutputConverter() {