Merge "Bug:129 Connection Manager Dashlet"
[controller.git] / opendaylight / md-sal / sal-zeromq-connector / src / main / java / org / opendaylight / controller / sal / connector / zeromq / RouteIdentifierImpl.java
1 package org.opendaylight.controller.sal.connector.zeromq;
2
3 import org.opendaylight.controller.sal.connector.api.RpcRouter;
4 import org.opendaylight.yangtools.yang.common.QName;
5 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
6
7 import java.io.Serializable;
8
9 /**
10  * User: abhishk2
11  */
12 public class RouteIdentifierImpl implements RpcRouter.RouteIdentifier<QName, QName, InstanceIdentifier>,Serializable {
13
14   private QName context;
15   private QName type;
16   private InstanceIdentifier route;
17
18   @Override
19   public QName getContext() {
20     return this.context;
21   }
22
23   @Override
24   public QName getType() {
25     return this.type;
26   }
27
28   @Override
29   public InstanceIdentifier getRoute() {
30     return this.route;
31   }
32
33   public void setContext(QName context) {
34     this.context = context;
35   }
36
37   public void setType(QName type) {
38     this.type = type;
39   }
40
41   public void setRoute(InstanceIdentifier route) {
42     this.route = route;
43   }
44
45   @Override
46   public String toString() {
47     return "RouteIdentifierImpl{" +
48         "context=" + context +
49         ", type=" + type +
50         ", route=" + route +
51         '}';
52   }
53 }