Class ListItemVirtualAttributeDTOBuilder

java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.ListItemVirtualAttributeDTOBuilder

public class ListItemVirtualAttributeDTOBuilder extends Object
  • Method Details

    • withSelected

      public ListItemVirtualAttributeDTOBuilder withSelected(boolean selected)
      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

      public ListItemVirtualAttributeDTOBuilder withCustomUnique(boolean customUnique)
      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

      public ListItemVirtualAttributeDTOBuilder withAutocreate(boolean autocreate)
      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

      public ListItemVirtualAttributeDTOBuilder withAttributeName(String attributeName)
      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 a ListItemVirtualAttributeDTO with values provided or otherwise default values.
      Returns:
      a ListItemVirtualAttributeDTO with the values provided.