Class Database


public final class Database
extends java.lang.Object
Database - static placeholder for any kind of persistence in this example
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)
      customerId - mandatory
      BUILDER instance with customerId set