public class Product extends Object
| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getId() |
String |
getImage() |
String |
getName() |
Producer |
getProducer() |
String |
getSlug() |
ProductType |
getType() |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setImage(String image) |
void |
setName(String name) |
void |
setProducer(Producer producer) |
void |
setSlug(String slug) |
void |
setType(ProductType type) |
public String getId()
public void setId(String id)
id - the internal IDpublic String getName()
public void setName(String name)
name - the product namepublic String getDescription()
public void setDescription(String description)
description - the product descriptionpublic String getSlug()
public void setSlug(String slug)
slug - the slug namepublic ProductType getType()
public void setType(ProductType type)
type - the product typepublic String getImage()
public void setImage(String image)
image - the image urlpublic Producer getProducer()
public void setProducer(Producer producer)
producer - the producer of the productCopyright © 2015. All rights reserved.