Cleanup use of Guava library
[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.ModuleIdentifier;
15 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
16
17 @Value.Immutable
18 abstract class AbstractSchemaContext extends CommonContainerSchemaNode implements SchemaContext {
19
20     @Override
21     public final Optional<String> getModuleSource(final ModuleIdentifier moduleIdentifier) {
22         throw new UnsupportedOperationException("Not implemented");
23     }
24
25     @Override
26     public Module findModuleByName(final String name, final Date revision) {
27         throw new UnsupportedOperationException("Not implemented");
28     }
29 }