fr.paris.lutece.plugins.stock.business.category
Class Category

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.StockEntityBean<Category>
      extended by fr.paris.lutece.plugins.stock.business.category.Category
All Implemented Interfaces:
fr.paris.lutece.plugins.stock.utils.EntityBean, java.io.Serializable

@Entity
public class Category
extends StockEntityBean<Category>
implements java.io.Serializable

Category.

See Also:
Serialized Form

Constructor Summary
Category()
          Constructor.
Category(Category category)
          Build a new category from a category object.
 
Method Summary
 java.util.Set<CategoryAttributeDate> getAttributeDateList()
          Gets the attribute date list.
 java.util.Set<CategoryAttribute> getAttributeList()
          Gets the attribute list.
 java.util.Set<CategoryAttributeNum> getAttributeNumList()
          Gets the attribute num list.
 java.util.Set<Category> getChildrenList()
          Return the children list.
 java.lang.String getDescription()
          Return the category description.
 java.lang.Integer getId()
          Return category id.
 java.lang.String getName()
          Return the category name.
 Category getParent()
          return the category parent.
 java.util.List<Product> getProductSet()
          Return the product list.
 Provider getProvider()
          Return the provider.
 void setAttributeDateList(java.util.Set<CategoryAttributeDate> dateAttribute)
          Sets the attribute date list.
 void setAttributeList(java.util.Set<CategoryAttribute> stringAttribute)
          Sets the attribute list.
 void setAttributeNumList(java.util.Set<CategoryAttributeNum> numAttribute)
          Sets the attribute num list.
 void setChildrenList(java.util.Set<Category> childrenList)
          Set the children list.
 void setDescription(java.lang.String description)
          Set the category description.
 void setId(java.lang.Integer 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 fr.paris.lutece.plugins.stock.business.StockEntityBean
getAttributeDateMap, getAttributeMap, getAttributeNumMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Constructor.


Category

public Category(Category category)
Build a new category from a category object.

Parameters:
category - the category
Method Detail

getId

public java.lang.Integer getId()
Return category id.

Specified by:
getId in interface fr.paris.lutece.plugins.stock.utils.EntityBean
Returns:
category id

setId

public void setId(java.lang.Integer idCategory)
Set the category id.

Specified by:
setId in interface fr.paris.lutece.plugins.stock.utils.EntityBean
Parameters:
idCategory - the category id

getDescription

public java.lang.String getDescription()
Return the category description.

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the category description.

Parameters:
description - the category description

getName

public java.lang.String getName()
Return the category name.

Returns:
the name

setName

public void setName(java.lang.String name)
Set the category name.

Parameters:
name - the category name

getChildrenList

public java.util.Set<Category> getChildrenList()
Return the children list.

Returns:
the children list

setChildrenList

public void setChildrenList(java.util.Set<Category> childrenList)
Set the children list.

Parameters:
childrenList - the children list

getProductSet

public java.util.List<Product> getProductSet()
Return the product list.

Returns:
the product list

setProductSet

public void setProductSet(java.util.List<Product> productSet)
Set the product list.

Parameters:
productSet - the product list

getParent

public Category getParent()
return the category parent.

Returns:
the parent

setParent

public void setParent(Category parentCategory)
Set the Category parent.

Parameters:
parentCategory - the parent

getProvider

public Provider getProvider()
Return the provider.

Returns:
the provider

setProvider

public void setProvider(Provider provider)
Set the provider.

Parameters:
provider - the provider

getAttributeList

public java.util.Set<CategoryAttribute> getAttributeList()
Description copied from class: StockEntityBean
Gets the attribute list.

Specified by:
getAttributeList in class StockEntityBean<Category>
Returns:
the attribute list

setAttributeList

public void setAttributeList(java.util.Set<CategoryAttribute> stringAttribute)
Sets the attribute list.

Parameters:
stringAttribute - the new attribute list

getAttributeDateList

public java.util.Set<CategoryAttributeDate> getAttributeDateList()
Description copied from class: StockEntityBean
Gets the attribute date list.

Specified by:
getAttributeDateList in class StockEntityBean<Category>
Returns:
the attribute date list

setAttributeDateList

public void setAttributeDateList(java.util.Set<CategoryAttributeDate> dateAttribute)
Sets the attribute date list.

Parameters:
dateAttribute - the new attribute date list

getAttributeNumList

public java.util.Set<CategoryAttributeNum> getAttributeNumList()
Description copied from class: StockEntityBean
Gets the attribute num list.

Specified by:
getAttributeNumList in class StockEntityBean<Category>
Returns:
the attribute num list

setAttributeNumList

public void setAttributeNumList(java.util.Set<CategoryAttributeNum> numAttribute)
Sets the attribute num list.

Parameters:
numAttribute - the new attribute num list


Copyright © 2012 Mairie de Paris. All Rights Reserved.