fr.paris.lutece.plugins.stock.modules.tickets.business
Class SeanceDTO

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>
      extended by fr.paris.lutece.plugins.stock.modules.tickets.business.SeanceDTO

public class SeanceDTO
extends fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>

DTO for Seance

Author:
nmoitry

Field Summary
static java.lang.String ATTR_DATE
           
static java.lang.String ATTR_HOUR
           
static java.lang.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()
          
static SeanceDTO convertEntity(fr.paris.lutece.plugins.stock.business.offer.Offer source)
          Convert entity.
static fr.paris.lutece.plugins.stock.commons.ResultList<SeanceDTO> convertEntityList(java.util.Collection<fr.paris.lutece.plugins.stock.business.offer.Offer> listSource)
          Convert entity list.
 java.lang.String getDate()
           
 java.util.Date getDateHour()
           
 java.lang.String getDescription()
           
 java.lang.String getHour()
           
 java.lang.Integer getId()
           
 java.lang.Integer getIdGenre()
          Gets the id genre.
 java.lang.String getName()
           
 ShowDTO getProduct()
          return the product
 java.lang.Integer getQuantity()
           
 java.lang.Float getReductPrice()
           
 java.lang.String getStatut()
           
 java.lang.String getTypeName()
          Gets the type name.
 void setDate(java.lang.String date)
          Sets the date.
 void setDateHour(java.util.Date theDateHour)
          Sets the date hour.
 void setDescription(java.lang.String description)
          Sets the description.
 void setHour(java.lang.String hour)
          Sets the hour.
 void setId(java.lang.Integer idOffer)
          Sets the id.
 void setIdGenre(java.lang.Integer idGenre)
          Sets the id genre.
 void setName(java.lang.String name)
          Sets the name.
 void setProduct(ShowDTO theProduct)
          set the product to product
 void setQuantity(java.lang.Integer quantity)
          Sets the quantity.
 void setReductPrice(java.lang.Float reductPrice)
          Sets the reduct price.
 void setStatut(java.lang.String statut)
          Sets the statut.
 void setTypeName(java.lang.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

ATTR_DATE

public static final java.lang.String ATTR_DATE
See Also:
Constant Field Values

ATTR_REDUCT_PRICE

public static final java.lang.String ATTR_REDUCT_PRICE
See Also:
Constant Field Values

ATTR_HOUR

public static final java.lang.String ATTR_HOUR
See Also:
Constant Field Values
Constructor Detail

SeanceDTO

public SeanceDTO()
Method Detail

getId

public java.lang.Integer getId()
Specified by:
getId in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>
Returns:
the id

setId

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

Parameters:
idOffer - the new id

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the description to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the name to set

getReductPrice

public java.lang.Float getReductPrice()
Returns:
the reductPrice

setReductPrice

public void setReductPrice(java.lang.Float reductPrice)
Sets the reduct price.

Parameters:
reductPrice - the reductPrice to set

getQuantity

public java.lang.Integer getQuantity()
Returns:
the quantity

setQuantity

public void setQuantity(java.lang.Integer quantity)
Sets the quantity.

Parameters:
quantity - the quantity to set

getHour

public java.lang.String getHour()
Returns:
the hour

setHour

public void setHour(java.lang.String hour)
Sets the hour.

Parameters:
hour - the hour to set

getDate

public java.lang.String getDate()
Returns:
the date

setDate

public void setDate(java.lang.String date)
Sets the date.

Parameters:
date - the date to set

convertEntityList

public static fr.paris.lutece.plugins.stock.commons.ResultList<SeanceDTO> convertEntityList(java.util.Collection<fr.paris.lutece.plugins.stock.business.offer.Offer> listSource)
Convert entity list.

Parameters:
listSource - the list source
Returns:
the result list

convertEntity

public static SeanceDTO convertEntity(fr.paris.lutece.plugins.stock.business.offer.Offer source)
Convert entity.

Parameters:
source - the source
Returns:
the seance dto

convert

public fr.paris.lutece.plugins.stock.business.offer.Offer convert()

Specified by:
convert in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.offer.Offer>

setProduct

public void setProduct(ShowDTO theProduct)
set the product to product

Parameters:
theProduct - the product

getProduct

public ShowDTO getProduct()
return the product

Returns:
the product

setIdGenre

public void setIdGenre(java.lang.Integer idGenre)
Sets the id genre.

Parameters:
idGenre - the new id genre

getIdGenre

public java.lang.Integer getIdGenre()
Gets the id genre.

Returns:
the id genre

setTypeName

public void setTypeName(java.lang.String typeName)
Sets the type name.

Parameters:
typeName - the new type name

getTypeName

public java.lang.String getTypeName()
Gets the type name.

Returns:
the type name

setStatut

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

Parameters:
statut - the statut to set

getStatut

public java.lang.String getStatut()
Returns:
the statut

getDateHour

public java.util.Date getDateHour()
Returns:
the dateHour

setDateHour

public void setDateHour(java.util.Date theDateHour)
Sets the date hour.

Parameters:
theDateHour - the dateHour to set


Copyright © 2012 Mairie de Paris. All Rights Reserved.