Package io.jmix.core
Class EntityUuidGenerator
java.lang.Object
io.jmix.core.EntityUuidGenerator
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.EnvironmentAware
@Component("core_EntityIdGenerator")
public class EntityUuidGenerator
extends Object
implements org.springframework.context.EnvironmentAware
Generates UUID for using as entity identifiers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate()
void
setEnvironment
(org.springframework.core.env.Environment environment)
-
Constructor Details
-
EntityUuidGenerator
public EntityUuidGenerator()
-
-
Method Details
-
generate
- Returns:
- new UUID
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-