sort out signature of extraceField method
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronVPNIKEPolicy.java
index df1d276d32c5c43f4391c08f7d0f0ac78190c0f9..4685298aa5d42f8bba18b7ec68c11d896d947d92 100644 (file)
@@ -9,10 +9,8 @@
 package org.opendaylight.neutron.spi;
 
 import java.io.Serializable;
-
 import java.util.Iterator;
 import java.util.List;
-
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
@@ -20,34 +18,32 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 @XmlRootElement
 @XmlAccessorType(XmlAccessType.NONE)
-public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable, INeutronObject {
+public class NeutronVPNIKEPolicy extends NeutronObject<NeutronVPNIKEPolicy>
+        implements Serializable, INeutronObject<NeutronVPNIKEPolicy> {
     private static final long serialVersionUID = 1L;
 
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement (name = "name")
+    @XmlElement(name = "name")
     String name;
 
-    @XmlElement (name = "description")
-    String description;
-
-    @XmlElement (name = "auth_algorithm")
+    @XmlElement(name = "auth_algorithm")
     String authAlgorithm;
 
-    @XmlElement (name = "encryption_algorithm")
+    @XmlElement(name = "encryption_algorithm")
     String encryptionAlgorithm;
 
-    @XmlElement (name = "phase1_negotiation_mode")
+    @XmlElement(name = "phase1_negotiation_mode")
     String phase1NegotiationMode;
 
-    @XmlElement (name = "pfs")
+    @XmlElement(name = "pfs")
     String perfectForwardSecrecy;
 
-    @XmlElement (name = "ike_version")
+    @XmlElement(name = "ike_version")
     String ikeVersion;
 
-    @XmlElement (name = "lifetime")
+    @XmlElement(name = "lifetime")
     NeutronVPNLifetime lifetime;
 
     public NeutronVPNIKEPolicy() {
@@ -61,14 +57,6 @@ public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable,
         this.name = name;
     }
 
-    public String getDescription() {
-        return description;
-    }
-
-    public void setDescription(String description) {
-        this.description = description;
-    }
-
     public String getAuthAlgorithm() {
         return authAlgorithm;
     }
@@ -140,9 +128,6 @@ public class NeutronVPNIKEPolicy extends NeutronObject implements Serializable,
             if (s.equals("tenant_id")) {
                 ans.setTenantID(this.getTenantID());
             }
-            if (s.equals("description")) {
-                ans.setDescription(this.getDescription());
-            }
             if (s.equals("auth_algorithm")) {
                 ans.setAuthAlgorithm(this.getAuthAlgorithm());
             }