Merge "Added constructor in QName to create instance from String."
[yangtools.git] / concepts / src / main / java / org / opendaylight / yangtools / concepts / Namespace.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.yangtools.concepts;\r
9 \r
10 import java.util.Set;\r
11 \r
12 public interface Namespace<K,V> {\r
13     \r
14     V get(K key);\r
15     \r
16     Namespace<K,V> getParent();\r
17     Set<Namespace<K,V>> getSubnamespaces();\r
18     Namespace<K,V> getSubnamespace(V key);\r
19 }\r