BUG-4688: Rework SchemaContext module lookups
[yangtools.git] / yang / yang-model-immutable / src / main / java / org / opendaylight / yangtools / yang / model / immutable / AbstractSchemaContext.java
1 /*
2  * Copyright (c) 2016 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.yangtools.yang.model.immutable;
9
10 import java.util.Date;
11 import java.util.Optional;
12 import org.immutables.value.Value;
13 import org.opendaylight.yangtools.yang.model.api.Module;
14 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
15
16 @Value.Immutable
17 abstract class AbstractSchemaContext extends CommonContainerSchemaNode implements SchemaContext {
18
19     @Override
20     public Optional<Module> findModule(final String name, final Date revision) {
21         throw new UnsupportedOperationException("Not implemented");
22     }
23 }