Changed package name from controller to affinity
[affinity.git] / affinity / northbound / src / main / java / org / opendaylight / affinity / affinity / northbound / AffinityLinkList.java
1 /*
2  * Copyright (c) 2013 Plexxi, 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.affinity.affinity.northbound;
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 import org.opendaylight.affinity.affinity.AffinityLink;
19
20 @XmlRootElement
21 @XmlAccessorType(XmlAccessType.NONE)
22 public class AffinityLinkList {
23         @XmlElement (name="affinity")
24         List<AffinityLink> affinityLinkList;
25
26         public AffinityLinkList() {
27         }
28         public AffinityLinkList (List<AffinityLink> aff) {
29             this.affinityLinkList = aff;
30         }
31         public List<AffinityLink> getAffinityList() {
32                 return affinityLinkList;
33         }
34         public void setAffinityList(List<AffinityLink> aff) {
35                 this.affinityLinkList = aff;
36         }
37 }