Class BrandBuilder

  • All Implemented Interfaces:
    net.anotheria.asg.data.Builder<Brand>

    public class BrandBuilder
    extends java.lang.Object
    implements net.anotheria.asg.data.Builder<Brand>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> attributes  
      protected boolean defaultBrand  
      protected java.util.List<java.lang.String> localizations  
      protected java.util.List<java.lang.String> mediaLinks  
      protected java.lang.String name  
      protected java.util.List<java.lang.String> urlsToMap  
    • Constructor Summary

      Constructors 
      Constructor Description
      BrandBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BrandBuilder attributes​(java.util.List<java.lang.String> aValue)
      Sets the value of the attributes attribute.
      Brand build()  
      BrandBuilder defaultBrand​(boolean aValue)
      Sets the value of the defaultBrand attribute.
      BrandBuilder localizations​(java.util.List<java.lang.String> aValue)
      Sets the value of the localizations attribute.
      BrandBuilder mediaLinks​(java.util.List<java.lang.String> aValue)
      Sets the value of the mediaLinks attribute.
      BrandBuilder name​(java.lang.String aValue)
      Sets the value of the name attribute.
      BrandBuilder urlsToMap​(java.util.List<java.lang.String> aValue)
      Sets the value of the urlsToMap attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • defaultBrand

        protected boolean defaultBrand
      • urlsToMap

        protected java.util.List<java.lang.String> urlsToMap
      • localizations

        protected java.util.List<java.lang.String> localizations
      • mediaLinks

        protected java.util.List<java.lang.String> mediaLinks
      • attributes

        protected java.util.List<java.lang.String> attributes
    • Constructor Detail

      • BrandBuilder

        public BrandBuilder()
    • Method Detail

      • name

        public BrandBuilder name​(java.lang.String aValue)
        Sets the value of the name attribute.
      • defaultBrand

        public BrandBuilder defaultBrand​(boolean aValue)
        Sets the value of the defaultBrand attribute.
      • urlsToMap

        public BrandBuilder urlsToMap​(java.util.List<java.lang.String> aValue)
        Sets the value of the urlsToMap attribute.
      • localizations

        public BrandBuilder localizations​(java.util.List<java.lang.String> aValue)
        Sets the value of the localizations attribute.
      • mediaLinks

        public BrandBuilder mediaLinks​(java.util.List<java.lang.String> aValue)
        Sets the value of the mediaLinks attribute.
      • attributes

        public BrandBuilder attributes​(java.util.List<java.lang.String> aValue)
        Sets the value of the attributes attribute.
      • build

        public Brand build()
        Specified by:
        build in interface net.anotheria.asg.data.Builder<Brand>