public class Product extends Object implements Serializable
Constructor and Description |
---|
Product()
Set default values.
|
Modifier and Type | Method and Description |
---|---|
String |
getCatalogId()
Get the Catalog Id this Product is associated with.
|
String |
getDescription()
Return the product description.
|
String |
getDisplayName()
Returns the name used when displaying the product.
|
List<String> |
getEvents()
Returns the List of Event names associated with this product.
|
Long |
getId()
Return the id of the Product.
|
String |
getName()
Returns the name of the product.
|
void |
setCatalogId(String catalogId)
Set the catalog id this Product is associated with.
|
Product |
setDescription(String description)
Set the description of the product.
|
Product |
setDisplayName(String name)
Set the name to be displayed for this product.
|
Product |
setEvents(List<String> events)
Sets the List of Event names for this product.
|
void |
setId(Long id)
Set the id of the Product.
|
Product |
setName(String name)
Set the name of the product.
|
public Long getId()
public void setId(Long id)
id
- the Product's id.public String getName()
public Product setName(String name)
name
- the name of the product.public String getDisplayName()
public Product setDisplayName(String name)
name
- the display name for the product.public String getDescription()
public Product setDescription(String description)
description
- the description of the product.public String getCatalogId()
public void setCatalogId(String catalogId)
catalogId
- The catalog id or null.public List<String> getEvents()
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.