|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>
fr.paris.lutece.plugins.stock.modules.tickets.business.SeanceDTO
public class SeanceDTO
DTO for Seance
| Field Summary | |
|---|---|
static String |
ATTR_DATE
|
static String |
ATTR_HOUR
|
static String |
ATTR_ID_CONTACT
|
static String |
ATTR_INIT_QUANTITY
|
static String |
ATTR_REDUCT_PRICE
|
| Fields inherited from class fr.paris.lutece.plugins.stock.commons.AbstractDTO |
|---|
mapper |
| Constructor Summary | |
|---|---|
SeanceDTO()
|
|
| Method Summary | |
|---|---|
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()
|
String |
getName()
|
ShowDTO |
getProduct()
return the product |
Integer |
getQuantity()
|
Float |
getReductPrice()
|
String |
getStatut()
|
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 |
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 |
setTypeName(String typeName)
Sets the type name. |
| Methods inherited from class fr.paris.lutece.plugins.stock.commons.AbstractDTO |
|---|
convertList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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_ID_CONTACT
| Constructor Detail |
|---|
public SeanceDTO()
| Method Detail |
|---|
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)
quantity - the quantity to setpublic String getHour()
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 source
public static SeanceDTO convertEntity(fr.paris.lutece.plugins.stock.business.offer.Offer source)
source - the source
public 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)
contact - the new contact to setpublic Integer getIdContact()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||