public abstract static class ValidatorDefEntity.Builder extends AbstractEntity.Builder
Modifier | Constructor and Description |
---|---|
protected |
Builder()
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected ValidatorDefEntity.Builder |
copyFrom(ValidatorDefEntity validatorDefEntity)
Copies the values from an other ValidatorDefEntity.
|
boolean |
isHidden()
Asks if hidden.
|
boolean |
isMultiple()
Asks if multiple.
|
ValidatorDefEntity.Builder |
setHidden(boolean hidden)
Sets the hidden indicator.
|
ValidatorDefEntity.Builder |
setMultiple(boolean multiple)
Remembers if this ValidatorDef allows multiple values.
|
build, copyFrom, getName, getThisLogger, getUUID, setName, setName, setUUID
@CheckReturnValue public final boolean isHidden()
@CheckReturnValue public final boolean isMultiple()
@Nonnull public final ValidatorDefEntity.Builder setHidden(boolean hidden)
hidden
- The hidden indicator.@Nonnull public final ValidatorDefEntity.Builder setMultiple(boolean multiple)
multiple
- True when a refering item can have more than one value.@Nonnull protected ValidatorDefEntity.Builder copyFrom(@Nonnull ValidatorDefEntity validatorDefEntity)
validatorDefEntity
- The other ValidatorDefEntity.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.