@Generated(value="")
public class ItemData
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Brand[] |
brands |
protected Item[] |
items |
protected Product[] |
products |
protected Spot[] |
spots |
java.lang.String |
xClassName |
| Constructor and Description |
|---|
ItemData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
@Valid Brand[] |
getBrands() |
@Valid Item[] |
getItems() |
@Valid Product[] |
getProducts() |
@Valid Spot[] |
getSpots() |
int |
hashCode() |
void |
setBrands(Brand[] brands) |
void |
setBrands(com.liferay.petra.function.UnsafeSupplier<Brand[],java.lang.Exception> brandsUnsafeSupplier) |
void |
setItems(Item[] items) |
void |
setItems(com.liferay.petra.function.UnsafeSupplier<Item[],java.lang.Exception> itemsUnsafeSupplier) |
void |
setProducts(Product[] products) |
void |
setProducts(com.liferay.petra.function.UnsafeSupplier<Product[],java.lang.Exception> productsUnsafeSupplier) |
void |
setSpots(Spot[] spots) |
void |
setSpots(com.liferay.petra.function.UnsafeSupplier<Spot[],java.lang.Exception> spotsUnsafeSupplier) |
static ItemData |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static ItemData |
unsafeToDTO(java.lang.String json) |
protected Brand[] brands
protected Item[] items
protected Product[] products
protected Spot[] spots
public java.lang.String xClassName
public static ItemData toDTO(java.lang.String json)
public static ItemData unsafeToDTO(java.lang.String json)
@Valid public @Valid Brand[] getBrands()
public void setBrands(Brand[] brands)
public void setBrands(com.liferay.petra.function.UnsafeSupplier<Brand[],java.lang.Exception> brandsUnsafeSupplier)
@Valid public @Valid Item[] getItems()
public void setItems(Item[] items)
public void setItems(com.liferay.petra.function.UnsafeSupplier<Item[],java.lang.Exception> itemsUnsafeSupplier)
@Valid public @Valid Product[] getProducts()
public void setProducts(Product[] products)
public void setProducts(com.liferay.petra.function.UnsafeSupplier<Product[],java.lang.Exception> productsUnsafeSupplier)
@Valid public @Valid Spot[] getSpots()
public void setSpots(Spot[] spots)
public void setSpots(com.liferay.petra.function.UnsafeSupplier<Spot[],java.lang.Exception> spotsUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object