@Entity public class Offer extends StockEntityBean<Offer> implements Serializable
| Constructor and Description |
|---|
Offer()
Creates a new Offer.java object.
|
Offer(Category category)
Creates a new Offer.java object.
|
| Modifier and Type | Method and Description |
|---|---|
Set<OfferAttributeDate> |
getAttributeDateList()
Returns dynamic attributes list.
|
Set<OfferAttribute> |
getAttributeList()
Returns dynamic attributes list.
|
Set<OfferAttributeNum> |
getAttributeNumList()
Returns dynamic attributes list.
|
String |
getDescription()
Return the offer description.
|
Integer |
getId()
Return offer id.
|
Integer |
getMaxTickets()
Return the minimal number of tickets.
|
Integer |
getMinTickets()
Return the minimal number of tickets.
|
String |
getName()
Return the offer name.
|
Product |
getProduct()
Return the product.
|
Integer |
getQuantity()
Return the offer name.
|
String |
getStatut()
Gets the statut.
|
OfferGenre |
getType()
Return the type.
|
void |
setAttributeDateList(Set<OfferAttributeDate> dateAttribute)
Sets the attribute date list.
|
void |
setAttributeList(Set<OfferAttribute> stringAttribute)
Sets the attribute list.
|
void |
setAttributeNumList(Set<OfferAttributeNum> numAttribute)
Sets the attribute num list.
|
void |
setDescription(String description)
Set the category description.
|
void |
setId(Integer idOffer)
Set the offer id.
|
void |
setMaxTickets(Integer _nMaxTickets)
Set the maximum number of tickets.
|
void |
setMinTickets(Integer minTickets)
Set the minimal number of tickets.
|
void |
setName(String name)
Set the category name.
|
void |
setProduct(Product product)
Set the product.
|
void |
setQuantity(Integer nQuantity)
Set the category quantity.
|
void |
setStatut(String statut)
Sets the statut.
|
void |
setType(OfferGenre type)
Set the type.
|
getAttributeDateMap, getAttributeMap, getAttributeNumMappublic Offer()
public Offer(Category category)
category - categorypublic Integer getId()
getId in interface fr.paris.lutece.plugins.stock.utils.EntityBeanpublic void setId(Integer idOffer)
setId in interface fr.paris.lutece.plugins.stock.utils.EntityBeanidOffer - the offer idpublic String getName()
public void setName(String name)
name - the offer namepublic String getDescription()
public void setDescription(String description)
description - the offer descriptionpublic Integer getQuantity()
public void setQuantity(Integer nQuantity)
nQuantity - the offer quantitypublic Product getProduct()
public void setProduct(Product product)
product - the productpublic OfferGenre getType()
public void setType(OfferGenre type)
type - the typepublic Integer getMinTickets()
public void setMinTickets(Integer minTickets)
minTickets - the minimal number of ticketspublic Integer getMaxTickets()
public void setMaxTickets(Integer _nMaxTickets)
maxTickets - the maximum number of ticketspublic Set<OfferAttribute> getAttributeList()
getAttributeList in class StockEntityBean<Offer>public void setAttributeList(Set<OfferAttribute> stringAttribute)
stringAttribute - the new attribute listpublic Set<OfferAttributeDate> getAttributeDateList()
getAttributeDateList in class StockEntityBean<Offer>public void setAttributeDateList(Set<OfferAttributeDate> dateAttribute)
dateAttribute - the new attribute date listpublic Set<OfferAttributeNum> getAttributeNumList()
getAttributeNumList in class StockEntityBean<Offer>public void setAttributeNumList(Set<OfferAttributeNum> numAttribute)
numAttribute - the new attribute num listpublic void setStatut(String statut)
statut - the statut to setpublic String getStatut()
Copyright © 2020 City of Paris. All rights reserved.