|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.business.Category
@Entity public class Category
Category
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_CHILDREN_LIST
|
static java.lang.String |
ATTRIBUTE_PARENT
|
| Constructor Summary | |
|---|---|
Category()
Constructor |
|
Category(Category category)
Build a new category from a category object |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
getActive()
Return the category status |
java.util.List<Category> |
getChildrenList()
Return the children list |
int |
getIdCategory()
Return category id |
java.lang.String |
getName()
Return the category name |
ObjectDefinition |
getObjectDefinition()
Return the object definition |
Category |
getParent()
return the category parent |
java.util.List<Product> |
getProductSet()
Return the product list |
Provider |
getProvider()
Return the provider |
int |
hashCode()
|
void |
setActive(boolean status)
Set the category status |
void |
setChildrenList(java.util.List<Category> childrenList)
Set the children list |
void |
setIdCategory(int idCategory)
Set the category id |
void |
setName(java.lang.String name)
Set the category name |
void |
setParent(Category parentCategory)
Set the Category parent |
void |
setProductSet(java.util.List<Product> productSet)
Set the product list |
void |
setProvider(Provider provider)
Set the provider |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTRIBUTE_CHILDREN_LIST
public static final java.lang.String ATTRIBUTE_PARENT
| Constructor Detail |
|---|
public Category()
public Category(Category category)
category - the category| Method Detail |
|---|
public int getIdCategory()
public void setIdCategory(int idCategory)
idCategory - the category idpublic boolean getActive()
public void setActive(boolean status)
status - the statuspublic java.lang.String getName()
public void setName(java.lang.String name)
name - the category namepublic java.util.List<Category> getChildrenList()
public void setChildrenList(java.util.List<Category> childrenList)
childrenList - the children listpublic java.util.List<Product> getProductSet()
public void setProductSet(java.util.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 ObjectDefinition getObjectDefinition()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||