1 package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.type;
3 import java.math.BigInteger;
5 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
6 import org.opendaylight.yangtools.yang.model.api.stmt.TypeStatement;
7 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
8 import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeUtils;
10 public class UInt64EffectiveStatementImpl extends UnsignedIntegerEffectiveImplBase {
12 public static final String LOCAL_NAME = TypeUtils.UINT64;
14 private static final Number MAX_RANGE = new BigInteger("18446744073709551615");
16 private static final String DESCRIPTION = LOCAL_NAME + " represents integer values between " + MIN_RANGE + " and "
17 + MAX_RANGE + ", inclusively.";
19 public UInt64EffectiveStatementImpl(final StmtContext<String, TypeStatement, EffectiveStatement<String, TypeStatement>> ctx) {
21 super(ctx, LOCAL_NAME, MAX_RANGE, DESCRIPTION);
25 public String toString() {
26 return "type " + qName;