BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set
[controller.git] / opendaylight / northbound / hosttracker / src / main / java / org / opendaylight / controller / hosttracker / northbound / Hosts.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.hosttracker.northbound;
10
11 import java.util.Set;
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 Hosts {
22         @XmlElement
23         Set<HostConfig> hostConfig;
24
25         public Hosts() {
26         }
27         public Hosts (Set<HostConfig> hostConfig) {
28                 this.hostConfig = hostConfig;
29         }
30         public Set<HostConfig> getHostConfig() {
31                 return hostConfig;
32         }
33         public void setHostConfig(Set<HostConfig> hostConfig) {
34                 this.hostConfig = hostConfig;
35         }
36 }