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 javax.annotation.Nonnull;
13 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
14 import org.opendaylight.yangtools.yang.model.api.type.ModifierKind;
17 * Represents YANG modifier statement.
20 * The "modifier" statement, which is an optional substatement
21 * to the "pattern" statement, takes as an argument the string "invert-match".
22 * If a pattern has the "invert-match" modifier present, the type is
23 * restricted to values that do not match the pattern.
26 public interface ModifierStatement extends DeclaredStatement<ModifierKind> {
28 @Nonnull ModifierKind getValue();