public class BigIntegerIdGenerator<X> extends Object implements ErraiIdGenerator<BigInteger>
Constructor and Description |
---|
BigIntegerIdGenerator(ErraiSingularAttribute<X,BigInteger> attr) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext(ErraiEntityManager entityManager)
We assume there is always the possibility to find another unused Integer value.
|
BigInteger |
next(ErraiEntityManager entityManager) |
public BigIntegerIdGenerator(ErraiSingularAttribute<X,BigInteger> attr)
public boolean hasNext(ErraiEntityManager entityManager)
hasNext
in interface ErraiIdGenerator<BigInteger>
public BigInteger next(ErraiEntityManager entityManager)
next
in interface ErraiIdGenerator<BigInteger>
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.