Make sure invokeOperation is set once
[controller.git] / opendaylight / adsal / northbound / commons / src / main / java / org / opendaylight / controller / northbound / commons / types / StringList.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.northbound.commons.types;
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 /**
19  * Represents a list of string values
20  */
21 @XmlRootElement(name = "list")
22 @XmlAccessorType(XmlAccessType.NONE)
23 public class StringList {
24     @XmlElement(name = "item")
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 }