2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.yangtools.yang.model.api.stmt;
11 import com.google.common.annotations.Beta;
12 import org.opendaylight.yangtools.yang.model.api.YangStmtMapping;
13 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
14 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
15 import org.opendaylight.yangtools.yang.model.api.type.ModifierKind;
18 * Represents YANG modifier statement.
21 * The "modifier" statement, which is an optional substatement to the "pattern" statement, takes as an argument
22 * the string "invert-match". If a pattern has the "invert-match" modifier present, the type is restricted to values
23 * that do not match the pattern.
26 public interface ModifierStatement extends DeclaredStatement<ModifierKind> {
28 default StatementDefinition statementDefinition() {
29 return YangStmtMapping.MODIFIER;