Class NumericAttributePreference.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<NumericAttributePreference>
co.yellowdog.platform.model.NumericAttributePreference.Builder
- Enclosing class:
NumericAttributePreference
public static class NumericAttributePreference.Builder
extends ValidatedBuilder<NumericAttributePreference>
A builder that can be used to build a new NumericAttributePreference.
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.rankOrder
(NumericAttributeRankOrder rankOrder) toString()
Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
attribute
- Returns:
this
.
-
weight
- Returns:
this
.
-
rankOrder
- Returns:
this
.
-
buildUnchecked
Description copied from class:ValidatedBuilder
Builds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUnchecked
in classValidatedBuilder<NumericAttributePreference>
- Returns:
- the object being built
-
toString
-