public class ProductItem extends Object implements Comparable<ProductItem>
Modifier and Type | Class and Description |
---|---|
static class |
ProductItem.Builder |
Constructor and Description |
---|
ProductItem(int id,
String description,
String units,
Float capacity,
Iterable<ProductItemPrice> prices,
Iterable<ProductItemCategory> categories) |
Modifier and Type | Method and Description |
---|---|
static ProductItem.Builder |
builder() |
int |
compareTo(ProductItem arg0) |
boolean |
equals(Object obj) |
Float |
getCapacity() |
Set<ProductItemCategory> |
getCategories() |
String |
getDescription() |
int |
getId() |
Set<ProductItemPrice> |
getPrices() |
String |
getUnits() |
int |
hashCode() |
ProductItem.Builder |
toBuilder() |
String |
toString() |
public ProductItem(int id, String description, String units, Float capacity, Iterable<ProductItemPrice> prices, Iterable<ProductItemCategory> categories)
public static ProductItem.Builder builder()
public int compareTo(ProductItem arg0)
compareTo
in interface Comparable<ProductItem>
public int getId()
public String getDescription()
@Nullable public String getUnits()
@Nullable public Float getCapacity()
public Set<ProductItemPrice> getPrices()
public Set<ProductItemCategory> getCategories()
public ProductItem.Builder toBuilder()
Copyright © 2009-2012 jclouds. All Rights Reserved.