@Test public void testCreateChannel() { ProductChannel channel = ProductDimensions.createChannel(ShoppingProductChannel.LOCAL); assertEquals(ShoppingProductChannel.LOCAL, channel.getChannel()); }
public static ProductChannel createChannel(@Nullable ShoppingProductChannel channel) { ProductChannel productChannel = new ProductChannel(); productChannel.setChannel(channel); return productChannel; }
ProductDimensions { public static ProductChannel createChannel(@Nullable ShoppingProductChannel channel) { ProductChannel productChannel = new ProductChannel(); productChannel.setChannel(channel); return productChannel; } }
ProductDimensions { public static ProductChannel createChannel(@Nullable ShoppingProductChannel channel) { ProductChannel productChannel = new ProductChannel(); productChannel.setChannel(channel); return productChannel; } private  ProductDimensions(); }
ProductDimensions { public static ProductChannel createChannel(@Nullable ShoppingProductChannel channel) { ProductChannel productChannel = new ProductChannel(); productChannel.setChannel(channel); return productChannel; } private  ProductDimensions(); static ProductType createType(ProductDimensionType productDimensionType,
      @Nullable String productTypeValue); static ProductCanonicalCondition createCanonicalCondition(
      @Nullable ProductCanonicalConditionCondition condition); static ProductBiddingCategory createBiddingCategory(
      ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId); static ProductOfferId createOfferId(@Nullable String offerId); static ProductBrand createBrand(@Nullable String brand); static ProductCustomAttribute createCustomAttribute(
      ProductDimensionType productDimensionType, @Nullable String attributeValue); static ProductChannel createChannel(@Nullable ShoppingProductChannel channel); static ProductChannelExclusivity createChannelExclusivity(
      @Nullable ShoppingProductChannelExclusivity channelExclusivity); }
ProductDimensions { public static ProductChannel createChannel(@Nullable ShoppingProductChannel channel) { ProductChannel productChannel = new ProductChannel(); productChannel.setChannel(channel); return productChannel; } private  ProductDimensions(); static ProductType createType(ProductDimensionType productDimensionType,
      @Nullable String productTypeValue); static ProductCanonicalCondition createCanonicalCondition(
      @Nullable ProductCanonicalConditionCondition condition); static ProductBiddingCategory createBiddingCategory(
      ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId); static ProductOfferId createOfferId(@Nullable String offerId); static ProductBrand createBrand(@Nullable String brand); static ProductCustomAttribute createCustomAttribute(
      ProductDimensionType productDimensionType, @Nullable String attributeValue); static ProductChannel createChannel(@Nullable ShoppingProductChannel channel); static ProductChannelExclusivity createChannelExclusivity(
      @Nullable ShoppingProductChannelExclusivity channelExclusivity);  }