* 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.restconf.common.schema;
+package org.opendaylight.restconf.nb.rfc8040.rests.services.api;
import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider;
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
import org.opendaylight.yangtools.yang.model.api.Module;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-public class SchemaExportContext {
-
- private final SchemaContext schemaContext;
+public final class SchemaExportContext {
+ private final EffectiveModelContext schemaContext;
private final Module module;
private final DOMYangTextSourceProvider sourceProvider;
- public SchemaExportContext(final SchemaContext ctx, final Module module,
+ public SchemaExportContext(final EffectiveModelContext schemaContext, final Module module,
final DOMYangTextSourceProvider sourceProvider) {
- schemaContext = ctx;
+ this.schemaContext = schemaContext;
this.module = module;
this.sourceProvider = sourceProvider;
}
- public SchemaContext getSchemaContext() {
+ public EffectiveModelContext getSchemaContext() {
return schemaContext;
}