2 * Copyright (c) 2017 Pantheon Technologies, s.r.o. 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
8 package org.opendaylight.yangtools.yang.model.api.stmt;
10 import com.google.common.annotations.Beta;
11 import java.util.List;
12 import org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition;
13 import org.opendaylight.yangtools.yang.model.api.YangStmtMapping;
14 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
15 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
18 public interface LengthEffectiveStatement extends EffectiveStatement<List<ValueRange>, LengthStatement>,
19 // FIXME: 6.0.0: reconsider this interface extension
20 // FIXME: 6.0.0: if we are keeping it, consider a default implementation (shared with others effective
22 ConstraintMetaDefinition {
24 default StatementDefinition statementDefinition() {
25 return YangStmtMapping.LENGTH;