fr.paris.lutece.plugins.stock.business
Class StockEntityBean<E>

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.StockEntityBean<E>
Type Parameters:
E - the concrete entity type
All Implemented Interfaces:
fr.paris.lutece.plugins.stock.utils.EntityBean, Serializable
Direct Known Subclasses:
Category, Offer, OfferGenre, Product, Provider, Purchase

public abstract class StockEntityBean<E>
extends Object
implements Serializable, fr.paris.lutece.plugins.stock.utils.EntityBean

Abstract class extended by all stock entities.

See Also:
Serialized Form

Constructor Summary
StockEntityBean()
           
 
Method Summary
abstract  Set<? extends AbstractAttributeDate> getAttributeDateList()
          Gets the attribute date list.
 Map<String,Timestamp> getAttributeDateMap()
          Return map of dynamic attributes.
abstract  Set<? extends AbstractAttribute> getAttributeList()
          Gets the attribute list.
 Map<String,String> getAttributeMap()
          Return map of dynamic attributes.
abstract  Set<? extends AbstractAttributeNum> getAttributeNumList()
          Gets the attribute num list.
 Map<String,BigDecimal> getAttributeNumMap()
          Return map of dynamic numeric attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.stock.utils.EntityBean
getId, setId
 

Constructor Detail

StockEntityBean

public StockEntityBean()
Method Detail

getAttributeList

public abstract Set<? extends AbstractAttribute> getAttributeList()
Gets the attribute list.

Returns:
the attribute list

getAttributeDateList

public abstract Set<? extends AbstractAttributeDate> getAttributeDateList()
Gets the attribute date list.

Returns:
the attribute date list

getAttributeNumList

public abstract Set<? extends AbstractAttributeNum> getAttributeNumList()
Gets the attribute num list.

Returns:
the attribute num list

getAttributeMap

public Map<String,String> getAttributeMap()
Return map of dynamic attributes.

Returns:
map of dynamic attributes

getAttributeNumMap

public Map<String,BigDecimal> getAttributeNumMap()
Return map of dynamic numeric attributes.

Returns:
map of dynamic numeric attributes

getAttributeDateMap

public Map<String,Timestamp> getAttributeDateMap()
Return map of dynamic attributes.

Returns:
map of dynamic attributes


Copyright © 2013 Mairie de Paris. All Rights Reserved.