Class ListItemClassificationAttributeDTOBuilder
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.ListItemClassificationAttributeDTOBuilder
Builds a
ListItemClassificationAttributeDTO.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates aListItemClassificationAttributeDTOwith 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.withTypeAlias(String typeAlias) Sets the value of the itemCode 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.
-
withTypeAlias
Sets the value of the itemCode field for the list item to build.- Parameters:
typeAlias- the code of theIntegrationObjectItemModelof the attribute the list item represents, if the attribute is of complex type.- Returns:
- a builder with the field set.
-
build
Instantiates aListItemClassificationAttributeDTOwith values provided or otherwise default values.- Returns:
- a
ListItemClassificationAttributeDTOwith the values provided.
-