2 * Copyright (c) 2013 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.controller.yang.model.api;
11 import java.util.Date;
19 public interface SchemaContext {
21 Set<DataSchemaNode> getDataDefinitions();
23 Set<Module> getModules();
25 Set<NotificationDefinition> getNotifications();
27 Set<RpcDefinition> getOperations();
29 Set<ExtensionDefinition> getExtensions();
31 Module findModuleByName(final String name, final Date revision);
33 Module findModuleByNamespace(final URI namespace);