Model

public class Model

Stores information of message handling classes.

Functions

Link copied to clipboard
public BoundedContextName contextName()
Obtains the name of the bounded context which encapsulates this model.
Link copied to clipboard
public static void dropAllModels()
Clears all models and removes them.
Link copied to clipboard
public static Model inContextOf<T>(Class<? extends T> rawClass)
Obtains the instance which belongs to the Bounded Context of the passed class.