Class AttributeTypeDTOBuilder
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modeling.data.dto.AttributeTypeDTOBuilder
Builder for
AttributeTypeDTO.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates aAttributeTypeDTOwith values provided or otherwise default values.withStructureType(ListItemStructureType structureType) Sets the value of the structureType field for the DTO to build.Sets the value of the type field for the DTO to build.
-
Method Details
-
withStructureType
Sets the value of the structureType field for the DTO to build.- Parameters:
structureType- the structure type of the attribute.- Returns:
- a builder with the field set.
-
withType
Sets the value of the type field for the DTO to build.- Parameters:
type- the currentTypeModelof the attribute. When the attribute be subtyped, it will be different from itsDescriptorModel.getAttributeType().- Returns:
- a builder with the field set.
-
build
Instantiates aAttributeTypeDTOwith values provided or otherwise default values.- Returns:
- a
AttributeTypeDTOwith the values provided.
-