public abstract static class ProductItemCategory.Builder<T extends ProductItemCategory.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
categoryCode |
protected int |
id |
protected String |
name |
Constructor and Description |
---|
ProductItemCategory.Builder() |
Modifier and Type | Method and Description |
---|---|
ProductItemCategory |
build() |
T |
categoryCode(String categoryCode) |
T |
fromProductItemCategory(ProductItemCategory in) |
T |
id(int id) |
T |
name(String name) |
protected abstract T |
self() |
protected int id
protected String name
protected String categoryCode
protected abstract T self()
public T id(int id)
ProductItemCategory.getId()
public T name(String name)
ProductItemCategory.getName()
public ProductItemCategory build()
public T fromProductItemCategory(ProductItemCategory in)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.