Class Database

java.lang.Object
de.calamanari.pk.identitymap.Database

public final class Database
extends java.lang.Object
Database - static placeholder for any kind of persistence in this example
Author:
Karl Eilebrecht
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Database.Builder
    BUILDER for easier setup of a our fake Database
  • Method Summary

    Modifier and Type Method Description
    static Database.Builder prepareCustomer​(java.lang.String customerId)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • prepareCustomer

      public static Database.Builder prepareCustomer​(java.lang.String customerId)
      Parameters:
      customerId - mandatory
      Returns:
      BUILDER instance with customerId set