@Test public void testCreateBiddingCategory() { ProductBiddingCategory category = ProductDimensions.createBiddingCategory(ProductDimensionType.BIDDING_CATEGORY_L1, 1L); assertEquals(ProductDimensionType.BIDDING_CATEGORY_L1, category.getType()); assertEquals(Long.valueOf(1), category.getValue()); }
public static ProductBiddingCategory createBiddingCategory( ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId) { Preconditions.checkNotNull(productDimensionType, "ProductDimensionType is required when creating a ProductBiddingCategory"); ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory(); productBiddingCategory.setType(productDimensionType); productBiddingCategory.setValue(biddingCategoryId); return productBiddingCategory; }
ProductDimensions { public static ProductBiddingCategory createBiddingCategory( ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId) { Preconditions.checkNotNull(productDimensionType, "ProductDimensionType is required when creating a ProductBiddingCategory"); ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory(); productBiddingCategory.setType(productDimensionType); productBiddingCategory.setValue(biddingCategoryId); return productBiddingCategory; } }
ProductDimensions { public static ProductBiddingCategory createBiddingCategory( ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId) { Preconditions.checkNotNull(productDimensionType, "ProductDimensionType is required when creating a ProductBiddingCategory"); ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory(); productBiddingCategory.setType(productDimensionType); productBiddingCategory.setValue(biddingCategoryId); return productBiddingCategory; } private  ProductDimensions(); }
ProductDimensions { public static ProductBiddingCategory createBiddingCategory( ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId) { Preconditions.checkNotNull(productDimensionType, "ProductDimensionType is required when creating a ProductBiddingCategory"); ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory(); productBiddingCategory.setType(productDimensionType); productBiddingCategory.setValue(biddingCategoryId); return productBiddingCategory; } 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 ProductBiddingCategory createBiddingCategory( ProductDimensionType productDimensionType, @Nullable Long biddingCategoryId) { Preconditions.checkNotNull(productDimensionType, "ProductDimensionType is required when creating a ProductBiddingCategory"); ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory(); productBiddingCategory.setType(productDimensionType); productBiddingCategory.setValue(biddingCategoryId); return productBiddingCategory; } 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);  }