sort out signature of extraceField method
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronObject.java
index 9131a81380094826c36869ecef40024cb71f9c7a..2892521358871660e3fa6c1f10a91bc8e51fc055 100644 (file)
@@ -8,12 +8,14 @@
 
 package org.opendaylight.neutron.spi;
 
+import java.util.List;
+
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
 
 /**
  * This class contains behaviour common to Neutron configuration objects
  */
-public interface INeutronObject {
+public interface INeutronObject<T extends INeutronObject> {
 
     String getID();
 
@@ -26,4 +28,6 @@ public interface INeutronObject {
     void setTenantID(Uuid tenantID);
 
     void initDefaults();
+
+    T extractFields(List<String> fields);
 }