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.netconf.sal.restconf.impl;
10 import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint;
11 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
12 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
13 import org.opendaylight.yangtools.yang.model.api.SchemaNode;
15 public class InstanceIdentifierContext <T extends SchemaNode> {
17 private final YangInstanceIdentifier instanceIdentifier;
18 private final T schemaNode;
19 private final DOMMountPoint mountPoint;
20 private final SchemaContext schemaContext;
22 public InstanceIdentifierContext(final YangInstanceIdentifier instanceIdentifier, final T schemaNode,
23 final DOMMountPoint mountPoint,final SchemaContext context) {
24 this.instanceIdentifier = instanceIdentifier;
25 this.schemaNode = schemaNode;
26 this.mountPoint = mountPoint;
27 this.schemaContext = context;
30 public YangInstanceIdentifier getInstanceIdentifier() {
31 return instanceIdentifier;
34 public T getSchemaNode() {
38 public DOMMountPoint getMountPoint() {
42 public SchemaContext getSchemaContext() {