blob: d23ede495f0e7fa04b40c8ce4df94f321ff0b8de [file] [log] [blame]
Vinod Kumar Scf044422016-02-09 19:53:45 +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 * Reference:RFC 6020.
20 * The "status" statement takes as an argument one of the strings
21 * "current", "deprecated", or "obsolete". If no status is specified,
22 * the default is "current".
23 */
24
25/**
26 * ENUM to represent the status of YANG entities.
27 */
28public enum YangStatusType {
29 /**
30 * Reference:RFC 6020.
31 * "current" means that the definition is current and valid.
32 */
33 CURRENT,
34
35 /**
36 * Reference:RFC 6020.
37 * "deprecated" indicates an obsolete definition, but it permits new/
38 * continued implementation in order to foster interoperability with
39 * older/existing implementations.
40 */
41 DEPRECATED,
42
43 /**
44 * Reference:RFC 6020.
45 * "obsolete" means the definition is obsolete and SHOULD NOT be implemented
46 * and/or can be removed from implementations.
47 */
48 OBSOLETE
49}