Merge " changes for REST API to make TZ specific parameters (transport zone name...
[genius.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / genius / utils / batching / SubTransaction.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  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.genius.utils.batching;
9
10 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
11
12 public interface SubTransaction {
13     static final short CREATE = 1;
14     static final short UPDATE = 2;
15     static final short DELETE = 3;
16
17     InstanceIdentifier getInstanceIdentifier();
18     void setInstanceIdentifier(InstanceIdentifier identifier);
19     Object getInstance();
20     void setInstance(Object instance);
21     short getAction();
22     void setAction(short action);
23 }