2 * Copyright (c) 2015 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.cluster.datastore.node.utils.transformer;
11 import org.opendaylight.yangtools.yang.common.QName;
12 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
13 import org.opendaylight.yangtools.yang.data.impl.schema.builder.api.NormalizedNodeContainerBuilder;
15 public class NormalizedNodeBuilderWrapper {
16 private final NormalizedNodeContainerBuilder<?,?,?,?> builder;
17 private final YangInstanceIdentifier.PathArgument identifier;
20 NormalizedNodeBuilderWrapper(NormalizedNodeContainerBuilder<?,?,?,?> builder, YangInstanceIdentifier.PathArgument identifier) {
21 this.builder = builder;
22 this.identifier = identifier;
25 public NormalizedNodeContainerBuilder builder(){
29 public QName nodeType(){
30 return identifier.getNodeType();
33 public YangInstanceIdentifier.PathArgument identifier(){