2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. 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.genius.utils.batching;
10 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
12 public interface SubTransaction {
13 static final short CREATE = 1;
14 static final short UPDATE = 2;
15 static final short DELETE = 3;
17 InstanceIdentifier getInstanceIdentifier();
18 void setInstanceIdentifier(InstanceIdentifier identifier);
20 void setInstance(Object instance);
22 void setAction(short action);