Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git] / opendaylight / northbound / containermanager / src / main / java / org / opendaylight / controller / containermanager / northbound / StringList.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.containermanager.northbound;
11
12 import java.util.List;
13
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;
18
19 //TODO: Remove this once StringList is provided by commons.northboud
20
21 @XmlRootElement(name = "nodeConnectors")
22 @XmlAccessorType(XmlAccessType.NONE)
23 public class StringList {
24     @XmlElement(name = "nodeConnectors")
25     private List<String> list;
26
27     public StringList() {
28     }
29
30     public StringList(List<String> list) {
31         this.list = list;
32     }
33
34     public List<String> getList() {
35         return list;
36     }
37
38 }