blob: 174ca39678413713eccea2d974f92d8d1c079e4b [file] [log] [blame]
Vinod Kumar S7a004de2016-02-05 16:15:09 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Vinod Kumar S7a004de2016-02-05 16:15:09 +05303 *
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 */
16package org.onosproject.yangutils.datamodel;
17
18/**
Bharat saraswald9822e92016-04-05 15:13:44 +053019 * Represents node type in data model tree corresponding to YANG schema.
Vinod Kumar S7a004de2016-02-05 16:15:09 +053020 */
21public enum YangNodeType {
22 /**
23 * Node contains module information.
24 */
25 MODULE_NODE,
26
27 /**
28 * Node contains sub module information.
29 */
30 SUB_MODULE_NODE,
31
32 /**
33 * Node contains "YANG's typedef" information.
34 */
35 TYPEDEF_NODE,
36
37 /**
38 * Node contains "YANG's type" information.
39 */
40 TYPE_NODE,
41
42 /**
43 * Node contains "YANG's choice" information.
44 */
45 CHOICE_NODE,
46
47 /**
48 * Node contains "YANG's case" information.
49 */
50 CASE_NODE,
51
52 /**
53 * Node contains "YANG's enumeration" information.
54 */
55 ENUMERATION_NODE,
56
57 /**
58 * Node contains grouping information.
59 */
60 GROUPING_NODE,
61
62 /**
63 * Node contains "YANG's uses" information.
64 */
65 USES_NODE,
66
67 /**
68 * Node contains augmentation information.
69 */
70 AUGMENT_NODE,
71
72 /**
73 * Node contains "YANG's container" information.
74 */
75 CONTAINER_NODE,
76
77 /**
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +053078 * Node contains "YANG's notification" information.
79 */
80 NOTIFICATION_NODE,
81
82 /**
83 * Node contains "YANG's input" information.
84 */
85 INPUT_NODE,
86
87 /**
88 * Node contains "YANG's output" information.
89 */
90 OUTPUT_NODE,
91
92 /**
93 * Node contains "YANG's rpc" information.
94 */
95 RPC_NODE,
96
97 /**
Vinod Kumar S7a004de2016-02-05 16:15:09 +053098 * Node contains "YANG's list" information.
99 */
100 LIST_NODE
101}