2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.yang.parser.spi.meta;
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
13 import org.opendaylight.yangtools.yang.model.api.stmt.ModuleStatement;
14 import org.opendaylight.yangtools.yang.model.repo.api.SemVerSourceIdentifier;
17 * Namespace class for storing Maps of all modules with the same name. This namespace is
18 * used only in case the semantic versioning is enabled, otherwise it is empty.
21 public interface SemanticVersionModuleNamespace
22 extends StatementNamespace<SemVerSourceIdentifier, ModuleStatement, EffectiveStatement<String, ModuleStatement>> {
23 NamespaceBehaviour<SemVerSourceIdentifier, StmtContext<?, ModuleStatement,
24 EffectiveStatement<String, ModuleStatement>>, @NonNull SemanticVersionModuleNamespace> BEHAVIOUR =
25 NamespaceBehaviour.global(SemanticVersionModuleNamespace.class);