Code ReOrganization and Re-Architecture changes
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / operations / Operations.java
1 /*
2  *
3  *  * Copyright (C) 2014 EBay Software Foundation
4  *  *
5  *  * This program and the accompanying materials are made available under the
6  *  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  *  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  *  *
9  *  * Authors : Ashwin Raveendran
10  *
11  */
12
13 package org.opendaylight.ovsdb.lib.operations;
14
15 import org.opendaylight.ovsdb.lib.schema.TableSchema;
16
17 public class Operations {
18     public static Operations op = new Operations();
19
20     public <E extends TableSchema<E>> Insert<E> insert(TableSchema<E> schema) {
21         return new Insert<>(schema);
22     }
23
24     public  <E extends TableSchema<E>> Update<E> update(TableSchema<E> schema) {
25         return new Update<>(schema);
26     }
27
28
29 }