@Entity public class Category extends StockEntityBean<Category> implements Serializable
| Constructor and Description |
|---|
Category()
Constructor.
|
Category(Category category)
Build a new category from a category object.
|
| Modifier and Type | Method and Description |
|---|---|
Set<CategoryAttributeDate> |
getAttributeDateList()
Gets the attribute date list.
|
Set<CategoryAttribute> |
getAttributeList()
Gets the attribute list.
|
Set<CategoryAttributeNum> |
getAttributeNumList()
Gets the attribute num list.
|
Set<Category> |
getChildrenList()
Return the children list.
|
String |
getDescription()
Return the category description.
|
Integer |
getId()
Return category id.
|
String |
getName()
Return the category name.
|
Category |
getParent()
return the category parent.
|
List<Product> |
getProductSet()
Return the product list.
|
Provider |
getProvider()
Return the provider.
|
void |
setAttributeDateList(Set<CategoryAttributeDate> dateAttribute)
Sets the attribute date list.
|
void |
setAttributeList(Set<CategoryAttribute> stringAttribute)
Sets the attribute list.
|
void |
setAttributeNumList(Set<CategoryAttributeNum> numAttribute)
Sets the attribute num list.
|
void |
setChildrenList(Set<Category> childrenList)
Set the children list.
|
void |
setDescription(String description)
Set the category description.
|
void |
setId(Integer idCategory)
Set the category id.
|
void |
setName(String name)
Set the category name.
|
void |
setParent(Category parentCategory)
Set the Category parent.
|
void |
setProductSet(List<Product> productSet)
Set the product list.
|
void |
setProvider(Provider provider)
Set the provider.
|
getAttributeDateMap, getAttributeMap, getAttributeNumMappublic Category()
public Category(Category category)
category - the categorypublic Integer getId()
getId in interface fr.paris.lutece.plugins.stock.utils.EntityBeanpublic void setId(Integer idCategory)
setId in interface fr.paris.lutece.plugins.stock.utils.EntityBeanidCategory - the category idpublic String getDescription()
public void setDescription(String description)
description - the category descriptionpublic String getName()
public void setName(String name)
name - the category namepublic Set<Category> getChildrenList()
public void setChildrenList(Set<Category> childrenList)
childrenList - the children listpublic List<Product> getProductSet()
public void setProductSet(List<Product> productSet)
productSet - the product listpublic Category getParent()
public void setParent(Category parentCategory)
parentCategory - the parentpublic Provider getProvider()
public void setProvider(Provider provider)
provider - the providerpublic Set<CategoryAttribute> getAttributeList()
StockEntityBeangetAttributeList in class StockEntityBean<Category>public void setAttributeList(Set<CategoryAttribute> stringAttribute)
stringAttribute - the new attribute listpublic Set<CategoryAttributeDate> getAttributeDateList()
StockEntityBeangetAttributeDateList in class StockEntityBean<Category>public void setAttributeDateList(Set<CategoryAttributeDate> dateAttribute)
dateAttribute - the new attribute date listpublic Set<CategoryAttributeNum> getAttributeNumList()
StockEntityBeangetAttributeNumList in class StockEntityBean<Category>public void setAttributeNumList(Set<CategoryAttributeNum> numAttribute)
numAttribute - the new attribute num listCopyright © 2019 City of Paris. All rights reserved.