Class Orders

java.lang.Object
ai.redouble.examples.tool.Orders

public final class Orders extends Object
The examples' stand-in for an application's own data: five orders of two customers, held in memory. In an application this is the repository, the service call or the query the tool wraps; nothing about it is Nucleo's.
Since:
0.1 (2026-09-27)
Author:
Andrey Santrosyan
  • Field Details

    • NUMBER

      public static final Pattern NUMBER
      An order number is the letter A, a dash and four digits.
  • Method Details

    • find

      public static OrderStatus find(String number)
      The order under that number; null when there is none.
    • ofCustomer

      public static List<OrderStatus> ofCustomer(String customerId)
      Every order of one customer, in order-number order.