Class NodeType.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<NodeType>
co.yellowdog.platform.model.NodeType.Builder
- Enclosing class:
NodeType
A builder that can be used to build a new NodeType that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.slotNumbering(NodeSlotNumbering slotNumbering) sourceName(@Name @NotBlank String sourceName) sourceNames(Collection<? extends @Name @NotBlank String> sourceNames) toString()Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
name
- Returns:
this.
-
count
- Returns:
this.
-
min
- Returns:
this.
-
sourceName
-
sourceNames
-
clearSourceNames
-
slotNumbering
- Returns:
this.
-
buildUnchecked
Description copied from class:ValidatedBuilderBuilds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUncheckedin classValidatedBuilder<NodeType>- Returns:
- the object being built
-
toString
-