Fix checkstyle
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronObject.java
index 9131a81380094826c36869ecef40024cb71f9c7a..2176b8ada4f06c66d2b5e4de638d9b7bcb7983de 100644 (file)
@@ -5,15 +5,15 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 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
+ * This class contains behaviour common to Neutron configuration objects.
  */
-public interface INeutronObject {
+public interface INeutronObject<T extends INeutronObject<T>> {
 
     String getID();
 
@@ -25,5 +25,15 @@ public interface INeutronObject {
 
     void setTenantID(Uuid tenantID);
 
+    String getProjectID();
+
+    void setProjectID(String projectID);
+
+    Long getRevisionNumber();
+
+    void setRevisionNumber(Long revisionNumber);
+
     void initDefaults();
+
+    T extractFields(List<String> fields);
 }