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;
12 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
15 * This class contains behaviour common to Neutron configuration objects.
17 public interface INeutronObject<T extends INeutronObject> {
21 void setID(String id);
25 void setTenantID(String tenantID);
27 void setTenantID(Uuid tenantID);
29 String getProjectID();
31 void setProjectID(String projectID);
33 Long getRevisionNumber();
35 void setRevisionNumber(Long revisionNumber);
39 T extractFields(List<String> fields);