public class EntityFactory
extends java.lang.Object
Class for quickly building common entity types. This class automatically assigns entity IDs and makes it quick and easy to build entities.
Constructor and Description |
---|
EntityFactory() |
Modifier and Type | Method and Description |
---|---|
Entity |
likeBatch(long uid,
long iid,
int count) |
Rating |
rating(long uid,
long iid,
double rating) |
Rating |
rating(long uid,
long iid,
double rating,
long timestamp) |