2 * Copyright (c) 2013 Cisco Systems, 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.controller.sal.connector.remoterpc.dto;
10 import java.io.Serializable;
13 import com.fasterxml.jackson.databind.JsonNode;
14 import com.fasterxml.jackson.databind.ObjectMapper;
15 import org.opendaylight.controller.sal.connector.api.RpcRouter;
16 import org.opendaylight.yangtools.yang.common.QName;
17 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
19 public class RouteIdentifierImpl implements RpcRouter.RouteIdentifier<QName, QName, InstanceIdentifier>,Serializable {
21 private QName context;
23 private InstanceIdentifier route;
26 public QName getContext() {
31 public QName getType() {
36 public InstanceIdentifier getRoute() {
40 public void setContext(QName context) {
41 this.context = context;
44 public void setType(QName type) {
48 public void setRoute(InstanceIdentifier route) {