Class ListItemVirtualAttributeDTOBuilder
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.ListItemVirtualAttributeDTOBuilder
Builds a
ListItemVirtualAttributeDTO.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates aListItemVirtualAttributeDTOwith values provided or otherwise default values.withAttributeName(String attributeName) Sets the value of the attribute name field for the list item to build.withAutocreate(boolean autocreate) Sets the value of the autocreate field for the list item to build.withCustomUnique(boolean customUnique) Sets the value of the customUnique field for the list item to build.withSelected(boolean selected) Sets the value of the selected field for the list item to build.
-
Method Details
-
withSelected
Sets the value of the selected field for the list item to build.- Parameters:
selected- if the list item is selected.- Returns:
- a builder with the field set.
-
withCustomUnique
Sets the value of the customUnique field for the list item to build.- Parameters:
customUnique- if the list item's custom unique checkbox is checked.- Returns:
- a builder with the field set.
-
withAutocreate
Sets the value of the autocreate field for the list item to build.- Parameters:
autocreate- if the list item autocreate checkbox is checked.- Returns:
- a builder with the field set.
-
withAttributeName
Sets the value of the attribute name field for the list item to build.- Parameters:
attributeName- the name of the attribute the list item represents.- Returns:
- a builder with the field set.
-
build
Instantiates aListItemVirtualAttributeDTOwith values provided or otherwise default values.- Returns:
- a
ListItemVirtualAttributeDTOwith the values provided.
-