Network topology and inventory init
[transportpce.git] / networkmodel / src / main / java / org / opendaylight / transportpce / networkmodel / dto / NodeData.java
1 /*
2  * Copyright © 2016 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.networkmodel.dto;
9
10 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev150608.network.NodeBuilder;
11
12 public class NodeData {
13
14     private final NodeBuilder nodeBuilder;
15     private final int portDirectionEnum;
16
17     public NodeData(NodeBuilder nodeBuilder, int portDirectionEnum) {
18         this.nodeBuilder = nodeBuilder;
19         this.portDirectionEnum = portDirectionEnum;
20     }
21
22     public NodeBuilder getNodeBuilder() {
23         return nodeBuilder;
24     }
25
26     public int getPortDirectionEnum() {
27         return portDirectionEnum;
28     }
29 }