FlowCapableTopologyExporter uses merge instead of push when link discovered
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / InstanceIdentifierContext.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.controller.sal.restconf.impl;
9
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.DataSchemaNode;
13 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
14
15 public class InstanceIdentifierContext {
16
17     private final YangInstanceIdentifier instanceIdentifier;
18     private final DataSchemaNode schemaNode;
19     private final DOMMountPoint mountPoint;
20     private final SchemaContext schemaContext;
21
22     public InstanceIdentifierContext(YangInstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode,
23             DOMMountPoint mountPoint,SchemaContext context) {
24         this.instanceIdentifier = instanceIdentifier;
25         this.schemaNode = schemaNode;
26         this.mountPoint = mountPoint;
27         this.schemaContext = context;
28     }
29
30     public YangInstanceIdentifier getInstanceIdentifier() {
31         return instanceIdentifier;
32     }
33
34     public DataSchemaNode getSchemaNode() {
35         return schemaNode;
36     }
37
38     public DOMMountPoint getMountPoint() {
39         return mountPoint;
40     }
41
42     public SchemaContext getSchemaContext() {
43         return schemaContext;
44     }
45
46 }