2 * Copyright (c) 2016 Cisco Systems, Inc. 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
9 package org.opendaylight.controller.md.sal.dom.broker.impl.legacy.sharded.adapter;
11 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
13 final class LegacyShardedDOMDataBrokerAdapterUtils {
15 private LegacyShardedDOMDataBrokerAdapterUtils() {
16 throw new AssertionError("Util class should not be instantiated");
19 public static org.opendaylight.mdsal.common.api.LogicalDatastoreType translateDataStoreType(
20 final LogicalDatastoreType store) {
22 .equals(LogicalDatastoreType.CONFIGURATION) ? org.opendaylight.mdsal.common.api.LogicalDatastoreType
23 .CONFIGURATION : org.opendaylight.mdsal.common.api.LogicalDatastoreType.OPERATIONAL;