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
9 package org.opendaylight.neutron.spi;
11 import java.util.List;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
16 * This class contains behaviour common to Neutron configuration objects.
18 public interface INeutronObject<T extends INeutronObject> {
22 void setID(String id);
26 void setTenantID(String tenantID);
28 void setTenantID(Uuid tenantID);
30 String getProjectID();
32 void setProjectID(String projectID);
34 Long getRevisionNumber();
36 void setRevisionNumber(Long revisionNumber);
40 T extractFields(List<String> fields);