org.jboss.errai.jpa.client.local
Class BigIntegerIdGenerator<X>
java.lang.Object
org.jboss.errai.jpa.client.local.BigIntegerIdGenerator<X>
- All Implemented Interfaces:
- ErraiIdGenerator<BigInteger>
public class BigIntegerIdGenerator<X>
- extends Object
- implements ErraiIdGenerator<BigInteger>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigIntegerIdGenerator
public BigIntegerIdGenerator(ErraiSingularAttribute<X,BigInteger> attr)
hasNext
public boolean hasNext(ErraiEntityManager entityManager)
- We assume there is always the possibility to find another unused Integer value.
- Specified by:
hasNext
in interface ErraiIdGenerator<BigInteger>
- Returns:
- true
next
public BigInteger next(ErraiEntityManager entityManager)
- Specified by:
next
in interface ErraiIdGenerator<BigInteger>
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.