public class ProductItem extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProductItem.Builder<T extends ProductItem.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ProductItem(int id,
String description,
String units,
Float capacity,
Set<ProductItemPrice> prices,
Set<ProductItemCategory> categories) |
Modifier and Type | Method and Description |
---|---|
static ProductItem.Builder<?> |
builder() |
boolean |
equals(Object obj) |
Float |
getCapacity() |
Set<ProductItemCategory> |
getCategories() |
String |
getDescription() |
int |
getId() |
Set<ProductItemPrice> |
getPrices() |
String |
getUnits() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ProductItem.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","description","units","capacity","prices","categories"}) protected ProductItem(int id, @Nullable String description, @Nullable String units, @Nullable Float capacity, @Nullable Set<ProductItemPrice> prices, @Nullable Set<ProductItemCategory> categories)
public static ProductItem.Builder<?> builder()
public ProductItem.Builder<?> toBuilder()
public int getId()
@Nullable public String getUnits()
@Nullable public Float getCapacity()
public Set<ProductItemPrice> getPrices()
public Set<ProductItemCategory> getCategories()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.