public class SeanceDTO
extends fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_DATE |
static String |
ATTR_HOUR |
static String |
ATTR_ID_CONTACT |
static String |
ATTR_INIT_QUANTITY |
static String |
ATTR_MAX_TICKETS |
static String |
ATTR_MIN_TICKETS |
static String |
ATTR_REDUCT_PRICE |
static String |
ATTR_TOTAL_QUANTITY |
Constructor and Description |
---|
SeanceDTO() |
Modifier and Type | Method and Description |
---|---|
fr.paris.lutece.plugins.stock.business.offer.Offer |
convert()
Convert an offer to database
|
static SeanceDTO |
convertEntity(fr.paris.lutece.plugins.stock.business.offer.Offer source)
Convert entity from database
|
static fr.paris.lutece.plugins.stock.commons.ResultList<SeanceDTO> |
convertEntityList(Collection<fr.paris.lutece.plugins.stock.business.offer.Offer> listSource)
Convert entity list from database
|
String |
getDate() |
Date |
getDateHour() |
String |
getDescription() |
String |
getHour() |
Integer |
getId() |
Integer[] |
getIdContact() |
Integer |
getIdGenre()
Gets the id genre.
|
Integer |
getInitialQuantity() |
Integer |
getMaxTickets() |
Integer |
getMinTickets() |
String |
getName() |
ShowDTO |
getProduct()
return the product
|
Integer |
getQuantity() |
Float |
getReductPrice() |
String |
getStatut() |
Integer |
getTotalQuantity() |
String |
getTypeName()
Gets the type name.
|
void |
setDate(String date)
Sets the date.
|
void |
setDateHour(Date theDateHour)
Sets the date hour.
|
void |
setDescription(String description)
Sets the description.
|
void |
setHour(String hour)
Sets the hour.
|
void |
setId(Integer idOffer)
Sets the id.
|
void |
setIdContact(Integer[] idContact)
Set the contact
|
void |
setIdGenre(Integer idGenre)
Sets the id genre.
|
void |
setInitialQuantity(Integer initialQuantity)
Sets the initial quantity.
|
void |
setMaxTickets(Integer maxTickets)
Sets the maxTickets.
|
void |
setMinTickets(Integer minTickets)
Sets the minTickets.
|
void |
setName(String name)
Sets the name.
|
void |
setProduct(ShowDTO theProduct)
set the product to product
|
void |
setQuantity(Integer quantity)
Sets the quantity.
|
void |
setReductPrice(Float reductPrice)
Sets the reduct price.
|
void |
setStatut(String statut)
Sets the statut.
|
void |
setTotalQuantity(Integer totalQuantity) |
void |
setTypeName(String typeName)
Sets the type name.
|
public static final String ATTR_DATE
public static final String ATTR_REDUCT_PRICE
public static final String ATTR_HOUR
public static final String ATTR_INIT_QUANTITY
public static final String ATTR_TOTAL_QUANTITY
public static final String ATTR_ID_CONTACT
public static final String ATTR_MIN_TICKETS
public static final String ATTR_MAX_TICKETS
public Integer getId()
getId
in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>
public void setId(Integer idOffer)
idOffer
- the new idpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic String getName()
public void setName(String name)
name
- the name to setpublic Float getReductPrice()
public void setReductPrice(Float reductPrice)
reductPrice
- the reductPrice to setpublic Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- the quantity to setpublic Integer getInitialQuantity()
public void setInitialQuantity(Integer initialQuantity)
initialQuantity
- the quantity to setpublic String getHour()
public Integer getTotalQuantity()
public void setTotalQuantity(Integer totalQuantity)
public void setHour(String hour)
hour
- the hour to setpublic String getDate()
public void setDate(String date)
date
- the date to setpublic static fr.paris.lutece.plugins.stock.commons.ResultList<SeanceDTO> convertEntityList(Collection<fr.paris.lutece.plugins.stock.business.offer.Offer> listSource)
listSource
- the list sourcepublic static SeanceDTO convertEntity(fr.paris.lutece.plugins.stock.business.offer.Offer source)
source
- the sourcepublic fr.paris.lutece.plugins.stock.business.offer.Offer convert()
convert
in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>
AbstractDTO.convert()
public void setProduct(ShowDTO theProduct)
theProduct
- the productpublic ShowDTO getProduct()
public void setIdGenre(Integer idGenre)
idGenre
- the new id genrepublic Integer getIdGenre()
public void setTypeName(String typeName)
typeName
- the new type namepublic String getTypeName()
public void setStatut(String statut)
statut
- the statut to setpublic String getStatut()
public Date getDateHour()
public void setDateHour(Date theDateHour)
theDateHour
- the dateHour to setpublic void setIdContact(Integer[] idContact)
idContact
- the new contact to setpublic Integer[] getIdContact()
public Integer getMinTickets()
public void setMinTickets(Integer minTickets)
minTickets
- the minTickets to setpublic Integer getMaxTickets()
public void setMaxTickets(Integer maxTickets)
maxTickets
- the maxTickets to setCopyright © 2020 City of Paris. All rights reserved.