2 * Copyright (c) 2014 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
8 package org.opendaylight.yangtools.yang.data.api.schema;
10 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
11 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier.AugmentationIdentifier;
12 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier.PathArgument;
14 import com.google.common.base.Optional;
18 * Node representing Augmentation.
20 * Augmentation node MUST NOT be direct child of other augmentation node.
23 public interface AugmentationNode extends //
25 DataContainerNode<AugmentationIdentifier>,
26 DataContainerChild<InstanceIdentifier.AugmentationIdentifier, Iterable<DataContainerChild<? extends PathArgument, ?>>> {
29 Iterable<DataContainerChild<? extends PathArgument, ?>> getValue();
32 Optional<DataContainerChild<? extends PathArgument, ?>> getChild(PathArgument child);
35 AugmentationIdentifier getIdentifier();