/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.sal.restconf.impl; import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.model.api.SchemaContext; import org.opendaylight.yangtools.yang.model.api.SchemaNode; public class InstanceIdentifierContext { private final YangInstanceIdentifier instanceIdentifier; private final T schemaNode; private final DOMMountPoint mountPoint; private final SchemaContext schemaContext; public InstanceIdentifierContext(final YangInstanceIdentifier instanceIdentifier, final T schemaNode, final DOMMountPoint mountPoint,final SchemaContext context) { this.instanceIdentifier = instanceIdentifier; this.schemaNode = schemaNode; this.mountPoint = mountPoint; this.schemaContext = context; } public YangInstanceIdentifier getInstanceIdentifier() { return instanceIdentifier; } public T getSchemaNode() { return schemaNode; } public DOMMountPoint getMountPoint() { return mountPoint; } public SchemaContext getSchemaContext() { return schemaContext; } }