Remove redundant modifiers
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / spi / validation / ValidationBundlesNamespace.java
1 /*
2  * Copyright (c) 2015 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
9 package org.opendaylight.yangtools.yang.parser.spi.validation;
10
11 import java.util.Collection;
12 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
13
14 /**
15  * namespace used for validating whether a node is of some type, e.g. usable target for some operation or has other
16  * significant properties
17  */
18 public interface ValidationBundlesNamespace extends
19         IdentifierNamespace<ValidationBundlesNamespace.ValidationBundleType, Collection<?>> {
20
21     enum ValidationBundleType {
22         /**
23          * whether a node is suitable refine substatement
24          */
25         SUPPORTED_REFINE_SUBSTATEMENTS,
26
27         /**
28          * whether a node is suitable target for refine operation
29          */
30         SUPPORTED_REFINE_TARGETS,
31
32         /**
33          * whether a node is suitable target for augment operation
34          */
35         SUPPORTED_AUGMENT_TARGETS,
36
37         /**
38          * whether a <a href="https://tools.ietf.org/html/rfc6020#section-7.9.2">case shorthand</a> can be created for a
39          * node
40          */
41         SUPPORTED_CASE_SHORTHANDS,
42
43         /**
44          * whether a node is data node
45          */
46         SUPPORTED_DATA_NODES
47     }
48 }