Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Field |
build() |
Field.Builder |
copy(Field model) |
Field.Builder |
format(Format format) |
Field.Builder |
isRequired(Boolean isRequired)
The given field is requeired or not
|
Field.Builder |
label(Label label) |
Field.Builder |
language(String language)
Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always)
|
Field.Builder |
name(String name)
The field name
|
public Field.Builder name(String name)
The field name
name
- the value to setpublic Field.Builder isRequired(Boolean isRequired)
The given field is requeired or not
isRequired
- the value to setpublic Field.Builder format(Format format)
public Field.Builder label(Label label)
public Field.Builder language(String language)
Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always)
language
- the value to setpublic Field build()
public Field.Builder copy(Field model)
Copyright © 2016–2024. All rights reserved.