@Entity public class ProductModel extends Object implements Serializable
Constructor and Description |
---|
ProductModel() |
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()
The value used when displaying the category name.
|
List<EventModel> |
getEvents()
Returns the List of EventDto objects associated with this product.
|
Long |
getId() |
String |
getName()
Returns the name of the product.
|
void |
setCatalogId(String catalogId)
Set the catalog id this Product is associated with.
|
void |
setDescription(String description)
Set the description of the product.
|
void |
setDisplayName(String dislpayName)
Sets the value to be used when displaying the name.
|
void |
setEvents(List<EventModel> events)
Sets the List of EventDto objects.
|
void |
setId(Long id) |
void |
setName(String name)
Set the name of the product.
|
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
name
- the name of the product.public String getDisplayName()
public void setDisplayName(String dislpayName)
dislpayName
- The display name.public String getDescription()
public void 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<EventModel> getEvents()
public void setEvents(List<EventModel> events)
events
- the List of Events.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.