Merge "Remove unused imports"
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / NormalizedNodeContainer.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.data.api.schema;
9
10 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier.PathArgument;
11
12 import com.google.common.base.Optional;
13
14 /**
15  *
16  * @param <I> Node Identifier type
17  * @param <K> Child Node Identifier type
18  * @param <V> Child Node type
19  */
20 public interface NormalizedNodeContainer<I extends PathArgument, K extends PathArgument, V extends NormalizedNode<? extends K, ?>>
21         extends NormalizedNode<I, Iterable<V>> {
22
23     @Override
24     I getIdentifier();
25
26     @Override
27     Iterable<V> getValue();
28
29     /**
30      *
31      *
32      * @param child
33      * @return
34      */
35     Optional<V> getChild(K child);
36 }