* 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.cluster.datastore.messages;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-
-public class UpdateSchemaContext {
- private final SchemaContext schemaContext;
-
- public UpdateSchemaContext(SchemaContext schemaContext) {
- this.schemaContext = schemaContext;
- }
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
+import org.opendaylight.yangtools.yang.model.util.AbstractEffectiveModelContextProvider;
- public SchemaContext getSchemaContext() {
- return schemaContext;
- }
+public class UpdateSchemaContext extends AbstractEffectiveModelContextProvider {
+ public UpdateSchemaContext(final EffectiveModelContext modelContext) {
+ super(modelContext);
+ }
}