2 * Copyright (c) 2017 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.ovsdb.hwvtepsouthbound;
10 import org.opendaylight.ovsdb.utils.mdsal.utils.TransactionElement;
11 import org.opendaylight.ovsdb.utils.mdsal.utils.TransactionType;
13 public class HwvtepTransactionLogElement extends TransactionElement {
15 private final boolean isDeviceLog;
17 public HwvtepTransactionLogElement(TransactionType transactionType,
19 boolean isDeviceLog) {
20 super(transactionType, data);
21 this.isDeviceLog = isDeviceLog;
24 public HwvtepTransactionLogElement(TransactionElement element,
25 boolean isDeviceLog) {
26 super(element.getTransactionType(), element.getData());
27 this.isDeviceLog = isDeviceLog;
31 public String toString() {
32 return "HwvtepTransactionLogElement [isDeviceLog=" + isDeviceLog + "]";