Merge changes from topic 'northbound-refactor'
[neutron.git] / northbound-api / src / main / java / org / opendaylight / neutron / northbound / api / NeutronPageLink.java
1 /*
2  * Copyright (c) 2014, 2015 Hewlett-Packard Development Company L.P 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.neutron.northbound.api;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlElement;
14 import javax.xml.bind.annotation.XmlRootElement;
15
16 @XmlRootElement
17 @XmlAccessorType(XmlAccessType.NONE)
18
19 public class NeutronPageLink {
20
21     @XmlElement(name="ref")
22     String ref;
23
24     @XmlElement (name="href")
25     String href;
26
27     public String getRef() {
28         return ref;
29     }
30
31     public void setRef(String ref) {
32         this.ref = ref;
33     }
34
35     public String getHref() {
36         return href;
37     }
38
39     public void setHref(String href) {
40         this.href = href;
41     }
42 }