server
1.9.0
jvm
server
/
io.spine.server.entity.model
/
AbstractEntityFactory
Abstract
Entity
Factory
public
abstract
class
AbstractEntityFactory
<
E
extends
Entity
>
implements
EntityFactory
<
E
>
Abstract base for entity factories.
Inheritors
DefaultEntityFactory
Members
Constructors
Abstract
Entity
Factory
Link copied to clipboard
protected
void
AbstractEntityFactory
(
Class
<
E
>
entityClass
)
Functions
constructor
Link copied to clipboard
public
final
Constructor
<
E
>
constructor
(
)
Obtains the constructor used by the factory.
entity
Class
Link copied to clipboard
protected
final
Class
<
E
>
entityClass
(
)
Obtains the class of entities created by the factory.
equals
Link copied to clipboard
public
boolean
equals
(
Object
obj
)
find
Constructor
Link copied to clipboard
protected
abstract
Constructor
<
E
>
findConstructor
(
)
Obtains the constructor for the entity class.
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
id
Class
Link copied to clipboard
protected
final
Class
<
? extends
Object
>
idClass
(
)
Obtains the class of identifiers of entities that this factory creates.
Inherited functions
create
Link copied to clipboard
public
abstract
E
create
(
Object
constructionArgument
)
Creates a new entity with the passed construction argument.