blob: f3798f8c9ecbe0c37c240581cfa92ae01ae42f98 [file] [log] [blame]
Vinod Kumar S7a004de2016-02-05 16:15:09 +05301/*
2 * Copyright 2016 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 */
16package org.onosproject.yangutils.datamodel;
17
18/**
19 * Node type in data model tree corresponding to YANG schema.
20 */
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 /**
78 * Node contains "YANG's list" information.
79 */
80 LIST_NODE
81}