Fix checkstyle
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronObject.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.neutron.spi;
9
10 import java.util.List;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
12
13 /**
14  * This class contains behaviour common to Neutron configuration objects.
15  */
16 public interface INeutronObject<T extends INeutronObject<T>> {
17
18     String getID();
19
20     void setID(String id);
21
22     String getTenantID();
23
24     void setTenantID(String tenantID);
25
26     void setTenantID(Uuid tenantID);
27
28     String getProjectID();
29
30     void setProjectID(String projectID);
31
32     Long getRevisionNumber();
33
34     void setRevisionNumber(Long revisionNumber);
35
36     void initDefaults();
37
38     T extractFields(List<String> fields);
39 }