2 * Copyright (C) 2014 Red Hat, Inc. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.neutron.spi;
10 import java.util.List;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
14 * This class contains behaviour common to Neutron configuration objects.
16 public interface INeutronObject<T extends INeutronObject<T>> {
20 void setID(String id);
24 void setTenantID(String tenantID);
26 void setTenantID(Uuid tenantID);
28 String getProjectID();
30 void setProjectID(String projectID);
32 Long getRevisionNumber();
34 void setRevisionNumber(Long revisionNumber);
38 T extractFields(List<String> fields);