* 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();
void setTenantID(String tenantID);
void setTenantID(Uuid tenantID);
+
+ String getProjectID();
+
+ void setProjectID(String projectID);
+
+ Long getRevisionNumber();
+
+ void setRevisionNumber(Long revisionNumber);
+
+ void initDefaults();
+
+ T extractFields(List<String> fields);
}