Interface PdoProvider<T extends PersistentDomainObject<T>>

Type Parameters:
T - the PDO type
All Known Subinterfaces:
DomainObject<T>, NumberPool, NumberPoolDomain, NumberPoolPersistence, NumberRange, NumberRangeDomain, NumberRangePersistence, PersistentDomainObject<T>, PersistentObject<T>, Security, SecurityDomain, SecurityPersistence

public interface PdoProvider<T extends PersistentDomainObject<T>>
Provider for a PDO.
Author:
harald
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the PDO.
    default T
    on()
    Creates a new instance of the same type as the PDO.
    default T
    on(String contextName)
    Creates a new instance of the same type as the PDO within a new sub context.
  • Method Details

    • getPdo

      T getPdo()
      Gets the PDO.
      Returns:
      the pdo
    • on

      default T on()
      Creates a new instance of the same type as the PDO.
      Returns:
      the new instance
    • on

      default T on(String contextName)
      Creates a new instance of the same type as the PDO within a new sub context.
      Parameters:
      contextName - the context name
      Returns:
      the new instance