EntityFactory

public interface EntityFactory<E extends Entity> implements Serializable

Base interface for objects that can create entities.

Inheritors

Functions

Link copied to clipboard
public abstract Constructor<E> constructor()
Obtains the constructor used by the factory.
Link copied to clipboard
public abstract E create(Object constructionArgument)
Creates a new entity with the passed construction argument.