Class PredefinedUUIDGenerator

java.lang.Object
org.hibernate.id.UUIDGenerator
org.dspace.content.PredefinedUUIDGenerator
All Implemented Interfaces:
Serializable, org.hibernate.boot.model.relational.ExportableProducer, org.hibernate.generator.BeforeExecutionGenerator, org.hibernate.generator.Generator, org.hibernate.id.Configurable, org.hibernate.id.factory.spi.StandardGenerator, org.hibernate.id.IdentifierGenerator

public class PredefinedUUIDGenerator extends org.hibernate.id.UUIDGenerator
Allows DSpaceObjects to provide a pre-determined UUID
Author:
April Herron
See Also:
  • Field Summary

    Fields inherited from class org.hibernate.id.UUIDGenerator

    UUID_GEN_STRATEGY, UUID_GEN_STRATEGY_CLASS

    Fields inherited from interface org.hibernate.id.IdentifierGenerator

    CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
     

    Methods inherited from class org.hibernate.id.UUIDGenerator

    configure

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.generator.BeforeExecutionGenerator

    generatedOnExecution

    Methods inherited from interface org.hibernate.generator.Generator

    generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimes

    Methods inherited from interface org.hibernate.id.IdentifierGenerator

    generate, getEventTypes, initialize, registerExportables, supportsJdbcBatchInserts
  • Constructor Details

    • PredefinedUUIDGenerator

      public PredefinedUUIDGenerator()
  • Method Details

    • generate

      public Object generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
      Specified by:
      generate in interface org.hibernate.id.IdentifierGenerator
      Overrides:
      generate in class org.hibernate.id.UUIDGenerator