blob: dbfcfee287a2fbb35be5148aeb58bb625e0de3ff [file] [log] [blame]
Thomas Vachuskaf40fb572016-11-20 11:43:57 -08001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.yang;
18
19import java.io.InputStream;
20import java.util.Set;
21
22/**
23 * Representation of a compiled YANG model.
24 */
25public interface YangModel {
26
27 // name
28 // schema meta-data!!!
29
30 // set of source yang files (names & streams)
31 Set<String> getYangFiles();
32
33 InputStream getYangSource(String name);
34
35 // set of generated model classes
36 Set<String> getJavaModelClasses();
37
38}