2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.controller.topology.northbound;
11 import java.util.ArrayList;
12 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
19 import org.opendaylight.controller.topologymanager.TopologyUserLinkConfig;
21 @XmlRootElement (name = "list")
22 @XmlAccessorType(XmlAccessType.NONE)
24 public class TopologyUserLinks {
26 List<TopologyUserLinkConfig> userLinks;
29 private TopologyUserLinks() {
33 public List<TopologyUserLinkConfig> getUserLinks() {
37 public void setUserLinks(List<TopologyUserLinkConfig> userLinks) {
38 this.userLinks = userLinks;
41 public TopologyUserLinks(List<TopologyUserLinkConfig> userLinks) {
42 this.userLinks = new ArrayList<TopologyUserLinkConfig>(userLinks);