2 * Copyright (c) 2013 Contextream, 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.lispflowmapping.interfaces.dao;
13 public interface ILispDAO {
15 public <K> void put(K key, MappingEntry<?>... values);
17 public <K, V> V getSpecific(K key, MappingValueKey<V> valueKey);
19 public <K> Object getSpecific(K key, String valueKey);
21 public <K> Map<String, ?> get(K key);
23 public <K> boolean remove(K key);
25 public void clearAll();
27 public <UserType, DbType> void register(Class<? extends ILispTypeConverter<UserType, DbType>> userType);