fr.paris.lutece.plugins.stock.business.offer
Class Offer

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

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

Offer.

See Also:
Serialized Form

Constructor Summary
Offer()
          Creates a new Offer.java object.
Offer(Category category)
          Creates a new Offer.java object.
 
Method Summary
 java.util.Set<OfferAttributeDate> getAttributeDateList()
          Returns dynamic attributes list.
 java.util.Set<OfferAttribute> getAttributeList()
          Returns dynamic attributes list.
 java.util.Set<OfferAttributeNum> getAttributeNumList()
          Returns dynamic attributes list.
 java.lang.String getDescription()
          Return the offer description.
 java.lang.Integer getId()
          Return offer id.
 java.lang.String getName()
          Return the offer name.
 Product getProduct()
          Return the product.
 java.lang.Integer getQuantity()
          Return the offer name.
 java.lang.String getStatut()
          Gets the statut.
 OfferGenre getType()
          Return the type.
 void setAttributeDateList(java.util.Set<OfferAttributeDate> dateAttribute)
          Sets the attribute date list.
 void setAttributeList(java.util.Set<OfferAttribute> stringAttribute)
          Sets the attribute list.
 void setAttributeNumList(java.util.Set<OfferAttributeNum> numAttribute)
          Sets the attribute num list.
 void setDescription(java.lang.String description)
          Set the category description.
 void setId(java.lang.Integer idOffer)
          Set the offer id.
 void setName(java.lang.String name)
          Set the category name.
 void setProduct(Product product)
          Set the product.
 void setQuantity(java.lang.Integer nQuantity)
          Set the category quantity.
 void setStatut(java.lang.String statut)
          Sets the statut.
 void setType(OfferGenre type)
          Set the type.
 
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

Offer

public Offer()
Creates a new Offer.java object.


Offer

public Offer(Category category)
Creates a new Offer.java object.

Parameters:
category - category
Method Detail

getId

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

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

setId

public void setId(java.lang.Integer idOffer)
Set the offer id.

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

getName

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

Returns:
the name

setName

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

Parameters:
name - the offer name

getDescription

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

Returns:
the description

setDescription

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

Parameters:
description - the offer description

getQuantity

public java.lang.Integer getQuantity()
Return the offer name.

Returns:
the name

setQuantity

public void setQuantity(java.lang.Integer nQuantity)
Set the category quantity.

Parameters:
nQuantity - the offer quantity

getProduct

public Product getProduct()
Return the product.

Returns:
the product

setProduct

public void setProduct(Product product)
Set the product.

Parameters:
product - the product

getType

public OfferGenre getType()
Return the type.

Returns:
the type

setType

public void setType(OfferGenre type)
Set the type.

Parameters:
type - the type

getAttributeList

public java.util.Set<OfferAttribute> getAttributeList()
Returns dynamic attributes list.

Specified by:
getAttributeList in class StockEntityBean<Offer>
Returns:
dynamic attributes list

setAttributeList

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

Parameters:
stringAttribute - the new attribute list

getAttributeDateList

public java.util.Set<OfferAttributeDate> getAttributeDateList()
Returns dynamic attributes list.

Specified by:
getAttributeDateList in class StockEntityBean<Offer>
Returns:
dynamic attributes list

setAttributeDateList

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

Parameters:
dateAttribute - the new attribute date list

getAttributeNumList

public java.util.Set<OfferAttributeNum> getAttributeNumList()
Returns dynamic attributes list.

Specified by:
getAttributeNumList in class StockEntityBean<Offer>
Returns:
dynamic attributes list

setAttributeNumList

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

Parameters:
numAttribute - the new attribute num list

setStatut

public void setStatut(java.lang.String statut)
Sets the statut.

Parameters:
statut - the statut to set

getStatut

public java.lang.String getStatut()
Gets the statut.

Returns:
the statut


Copyright © 2012 Mairie de Paris. All Rights Reserved.