Fix checkstyle
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronObject.java
index 2892521358871660e3fa6c1f10a91bc8e51fc055..2176b8ada4f06c66d2b5e4de638d9b7bcb7983de 100644 (file)
@@ -5,17 +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<T extends INeutronObject> {
+public interface INeutronObject<T extends INeutronObject<T>> {
 
     String getID();
 
@@ -27,6 +25,14 @@ public interface INeutronObject<T extends INeutronObject> {
 
     void setTenantID(Uuid tenantID);
 
+    String getProjectID();
+
+    void setProjectID(String projectID);
+
+    Long getRevisionNumber();
+
+    void setRevisionNumber(Long revisionNumber);
+
     void initDefaults();
 
     T extractFields(List<String> fields);