Class AllowanceSearch.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<AllowanceSearch>
co.yellowdog.platform.interaction.usage.AllowanceSearch.Builder
- Enclosing class:
AllowanceSearch
-
Method Summary
Modifier and TypeMethodDescriptionallowedHours(IntegerRange allowedHours) Builds the object without enforcing validation constraints.description(String description) effectiveFrom(InstantRange effectiveFrom) effectiveUntil(InstantRange effectiveUntil) limitEnforcement(AllowanceLimitEnforcement limitEnforcement) sortDirection(SortDirection sortDirection) toString()Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
sortField
- Returns:
this.
-
sortDirection
- Returns:
this.
-
description
- Returns:
this.
-
effectiveFrom
- Returns:
this.
-
effectiveUntil
- Returns:
this.
-
limitEnforcement
- Returns:
this.
-
allowedHours
- 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<AllowanceSearch>- Returns:
- the object being built
-
toString
-