BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / core / SupportedBandwidth.java
index 5cb7b33890b04e6f491a4dc0f1b39f69c77bde2e..7bcc0e01aa7f922af538e688b18a0331199fe859 100644 (file)
@@ -9,6 +9,8 @@
 
 package org.opendaylight.controller.sal.core;
 
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlRootElement;
 
 /**
@@ -21,25 +23,26 @@ import javax.xml.bind.annotation.XmlRootElement;
  * seconds.
  */
 @XmlRootElement
+@XmlAccessorType(XmlAccessType.NONE)
 public class SupportedBandwidth extends Bandwidth {
-       private static final long serialVersionUID = 1L;
-       public static final String SupportedBandwidthPropName = "supportedBandwidth";
-       
-       public SupportedBandwidth(long value) {
-               super(SupportedBandwidthPropName);
-               this.bandwidthValue = value;
-       }
-       
-       /*
+        private static final long serialVersionUID = 1L;
+        public static final String SupportedBandwidthPropName = "supportedBandwidth";
+
+        public SupportedBandwidth(long value) {
+                super(SupportedBandwidthPropName);
+                this.bandwidthValue = value;
+        }
+
+        /*
      * Private constructor used for JAXB mapping
      */
     private SupportedBandwidth() {
-       super(SupportedBandwidthPropName);
-               this.bandwidthValue = 0;
+        super(SupportedBandwidthPropName);
+                this.bandwidthValue = 0;
     }
-       
-       public SupportedBandwidth clone() {
-               return new SupportedBandwidth(this.bandwidthValue);  
+
+        public SupportedBandwidth clone() {
+                return new SupportedBandwidth(this.bandwidthValue);
     }
 
     @Override