Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Item |
build() |
Item.Builder |
code(String code)
A code assigned to the item.
|
Item.Builder |
copy(Item model) |
Item.Builder |
name(String name)
The name of the item.
|
public Item.Builder name(String name)
The name of the item.
name
- the value to setpublic Item.Builder code(String code)
A code assigned to the item.
code
- the value to setpublic Item build()
public Item.Builder copy(Item model)
Copyright © 2016–2024. All rights reserved.