public interface IdGenerator
A customer Id generator that can be registered with Ebean and
assigned to @Id properties using the name attribute of @GeneratedValue.
-
Method Summary
Return the name of the IdGenerator.
Return the next Id value.
-
Method Details
-
nextValue
Return the next Id value.
-
getName
Return the name of the IdGenerator.
The name is used to assign the IdGenerator to a property using
@GeneratedValue(name="myGeneratorName")