Merge "Fix topology link and service update"
[transportpce.git] / olm / src / main / java / org / opendaylight / transportpce / olm / util / RoadmLinks.java
1 /*
2  * Copyright © 2017 AT&T 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.olm.util;
9
10 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.topology.rev180226.LinkId;
11
12 /**
13  * The Class RoadmLinks.
14  */
15 public class RoadmLinks {
16
17     /** The src node id. */
18     private String srcNodeId;
19
20     /** The src tp id. */
21     private String srcTpId;
22
23     /** The dest node id. */
24     private String destNodeId;
25
26     /** The dest tpid. */
27     private String destTpid;
28     private LinkId linkId;
29
30     /**
31      * Gets the src node id.
32      *
33      * @return the src node id
34      */
35     public String getSrcNodeId() {
36         return srcNodeId;
37     }
38
39     /**
40      * Sets the src node id.
41      *
42      * @param srcNodeId the new src node id
43      */
44     public void setSrcNodeId(String srcNodeId) {
45         this.srcNodeId = srcNodeId;
46     }
47
48     /**
49      * Gets the src tp id.
50      *
51      * @return the src tp id
52      */
53     public String getSrcTpId() {
54         return srcTpId;
55     }
56
57     /**
58      * Sets the src tp id.
59      *
60      * @param srcTpId the new src tp id
61      */
62     public void setSrcTpId(String srcTpId) {
63         this.srcTpId = srcTpId;
64     }
65
66     /**
67      * Gets the dest node id.
68      *
69      * @return the dest node id
70      */
71     public String getDestNodeId() {
72         return destNodeId;
73     }
74
75     /**
76      * Sets the dest node id.
77      *
78      * @param destNodeId the new dest node id
79      */
80     public void setDestNodeId(String destNodeId) {
81         this.destNodeId = destNodeId;
82     }
83
84     /**
85      * Gets the dest tpid.
86      *
87      * @return the dest tpid
88      */
89     public String getDestTpid() {
90         return destTpid;
91     }
92
93     /**
94      * Sets the dest tpid.
95      *
96      * @param destTpid the new dest tpid
97      */
98     public void setDestTpid(String destTpid) {
99         this.destTpid = destTpid;
100     }
101
102     public LinkId getLinkId() {
103         return linkId;
104     }
105
106     public void setLinkId(LinkId linkId) {
107         this.linkId = linkId;
108     }
109 }