Add SpectrumFillingRule check in postAlgoValidator
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / graph / PceGraphEdge.java
1 /*
2  * Copyright © 2017 AT&T, 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.pce.graph;
9
10 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
11 import org.jgrapht.graph.DefaultWeightedEdge;
12 import org.opendaylight.transportpce.pce.networkanalyzer.PceLink;
13
14 @SuppressWarnings("serial")
15 @SuppressFBWarnings(
16     value = "SE_NO_SERIALVERSIONID",
17     justification = "https://github.com/rzwitserloot/lombok/wiki/WHY-NOT:-serialVersionUID")
18 public class PceGraphEdge extends DefaultWeightedEdge {
19
20     private PceLink link;
21
22     public PceGraphEdge(PceLink link) {
23         super();
24         this.link = link;
25     }
26
27     public PceLink link() {
28         return link;
29     }
30
31 }