import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
+import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-public class InstanceIdWithSchemaNode {
+public class InstanceIdentifierContext {
private final YangInstanceIdentifier instanceIdentifier;
private final DataSchemaNode schemaNode;
private final DOMMountPoint mountPoint;
+ private final SchemaContext schemaContext;
- public InstanceIdWithSchemaNode(YangInstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode,
- DOMMountPoint mountPoint) {
+ public InstanceIdentifierContext(YangInstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode,
+ DOMMountPoint mountPoint,SchemaContext context) {
this.instanceIdentifier = instanceIdentifier;
this.schemaNode = schemaNode;
this.mountPoint = mountPoint;
+ this.schemaContext = context;
}
public YangInstanceIdentifier getInstanceIdentifier() {
return mountPoint;
}
+ public SchemaContext getSchemaContext() {
+ return schemaContext;
+ }
+
}