A race condition occurs between ARPHandler and HostTracker if the ARP
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / yang / model / api / SchemaContext.java
1 /*
2  * Copyright (c) 2013 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.controller.yang.model.api;
9
10 import java.net.URI;
11 import java.util.Date;
12 import java.util.Set;
13
14
15
16 /**
17  * 
18  */
19 public interface SchemaContext {
20
21     Set<DataSchemaNode> getDataDefinitions();
22
23     Set<Module> getModules();
24
25     Set<NotificationDefinition> getNotifications();
26
27     Set<RpcDefinition> getOperations();
28     
29     Set<ExtensionDefinition> getExtensions();
30     
31     Module findModuleByName(final String name, final Date revision);
32     
33     Module findModuleByNamespace(final URI namespace);
34 }