public final class BoundedContextNames
extends java.lang.Object
BoundedContextName
Modifier and Type | Method and Description |
---|---|
static io.spine.core.BoundedContextName |
newName(java.lang.String name)
Creates a new value object for a bounded context name.
|
public static io.spine.core.BoundedContextName newName(java.lang.String name)
The name
argument value must not be null
or empty.
This method, however, does not check for the uniqueness of the value passed.
name
- the unique string name of the BoundedContext