-/*
+/**
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
import org.opendaylight.yangtools.yang.parser.spi.meta.AbstractDeclaredStatement;
import org.opendaylight.yangtools.yang.model.api.stmt.RangeStatement;
import org.opendaylight.yangtools.yang.model.api.stmt.TypeStatement;
-import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.NumericalRestrictionsEffectiveStatementImpl;
public class NumericalRestrictionsImpl extends AbstractDeclaredStatement<String> implements TypeStatement.NumericalRestrictions{
public static class Definition extends AbstractStatementSupport<String,TypeStatement.NumericalRestrictions,EffectiveStatement<String,TypeStatement.NumericalRestrictions>> {
public Definition() {
- super(Rfc6020Mapping.TYPE);
+ super(Rfc6020Mapping.RANGE);
}
@Override public String parseArgumentValue(StmtContext<?, ?, ?> ctx,
@Override public EffectiveStatement<String, TypeStatement.NumericalRestrictions> createEffective(
StmtContext<String, TypeStatement.NumericalRestrictions, EffectiveStatement<String, TypeStatement.NumericalRestrictions>> ctx) {
- return new NumericalRestrictionsEffectiveStatementImpl(ctx);
+ throw new UnsupportedOperationException();
}
}