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 Details

    • EntityUuidGenerator

      public EntityUuidGenerator()
  • Method Details

    • generate

      public UUID generate()
      Returns:
      new UUID
    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware