Merge "Fix for cache cleanup in protocol plugin on container deletion"
[controller.git] / opendaylight / northbound / topology / src / main / java / org / opendaylight / controller / topology / northbound / TopologyUserLinks.java
index 1b19edc5f617bde3b5f66a6ffc2455055666ef38..dee2e243d429abdd6d0d3ffb62cb14e5228a356d 100644 (file)
@@ -18,27 +18,27 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.opendaylight.controller.topologymanager.TopologyUserLinkConfig;
 
-@XmlRootElement
+@XmlRootElement (name = "list")
 @XmlAccessorType(XmlAccessType.NONE)
 
 public class TopologyUserLinks {
-       @XmlElement
-       List<TopologyUserLinkConfig> userLinks;
-       
-       //To satisfy JAXB
-       private TopologyUserLinks() {
-               
-       }
-       
-       public List<TopologyUserLinkConfig> getUserLinks() {
-               return userLinks;
-       }
-
-       public void setUserLinks(List<TopologyUserLinkConfig> userLinks) {
-               this.userLinks = userLinks;
-       }
-
-       public TopologyUserLinks(List<TopologyUserLinkConfig> userLinks) {
-               this.userLinks = new ArrayList<TopologyUserLinkConfig>(userLinks);
-       }
+        @XmlElement
+        List<TopologyUserLinkConfig> userLinks;
+
+        //To satisfy JAXB
+        private TopologyUserLinks() {
+
+        }
+
+        public List<TopologyUserLinkConfig> getUserLinks() {
+                return userLinks;
+        }
+
+        public void setUserLinks(List<TopologyUserLinkConfig> userLinks) {
+                this.userLinks = userLinks;
+        }
+
+        public TopologyUserLinks(List<TopologyUserLinkConfig> userLinks) {
+                this.userLinks = new ArrayList<TopologyUserLinkConfig>(userLinks);
+        }
 }