Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / northbound / switchmanager / src / main / java / org / opendaylight / controller / switchmanager / northbound / NodeConnectors.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, 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
9 package org.opendaylight.controller.switchmanager.northbound;
10
11 import java.util.List;
12
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17
18 @XmlRootElement(name="list")
19 @XmlAccessorType(XmlAccessType.NONE)
20
21 public class NodeConnectors {
22         @XmlElement
23         List<NodeConnectorProperties> nodeConnectorProperties;
24         //To satisfy JAXB
25         private NodeConnectors() {
26
27         }
28
29         public NodeConnectors(List<NodeConnectorProperties> nodeConnectorProperties) {
30                 this.nodeConnectorProperties = nodeConnectorProperties;
31         }
32
33         public List<NodeConnectorProperties> getNodeConnectorProperties() {
34                 return nodeConnectorProperties;
35         }
36
37         public void setNodeConnectorProperties(List<NodeConnectorProperties> nodeConnectorProperties) {
38                 this.nodeConnectorProperties = nodeConnectorProperties;
39         }
40 }