fr.paris.lutece.plugins.stock.business
Class TicketProduct

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.Product
      extended by fr.paris.lutece.plugins.stock.business.TicketProduct

@Entity
public class TicketProduct
extends Product

TicketProduct


Constructor Summary
TicketProduct()
          Constructor
TicketProduct(Product product)
          Constructor from an other product
 
Method Summary
 java.sql.Timestamp getDateBegin()
          Return the date begin
 java.sql.Timestamp getDateEnd()
          Get the date end
 java.util.List<WeekDaysEnum> getDays()
          Return the days when there is a session during the week
 int getDuration()
          Get Duration of the session
 java.sql.Timestamp getHour()
          Get the hour of the session
 void setDateBegin(java.sql.Timestamp dateBegin)
          Set the date begin
 void setDateEnd(java.sql.Timestamp dateEnd)
          Set date end
 void setDays(java.util.List<WeekDaysEnum> days)
          Set the days when there is a session during the week
 void setDuration(int duration)
          Set the duration of the session
 void setHour(java.sql.Timestamp hour)
          Set the hour of the session
 
Methods inherited from class fr.paris.lutece.plugins.stock.business.Product
equals, getCategory, getIdProduct, getObjectDefinition, getPrice, getStockQuantity, hashCode, setCategory, setIdProduct, setPrice, setStockQuantity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketProduct

public TicketProduct()
Constructor


TicketProduct

public TicketProduct(Product product)
Constructor from an other product

Parameters:
product - the product
Method Detail

getDateBegin

public java.sql.Timestamp getDateBegin()
Return the date begin

Returns:
the date begin

setDateBegin

public void setDateBegin(java.sql.Timestamp dateBegin)
Set the date begin

Parameters:
dateBegin - the date begin

getDateEnd

public java.sql.Timestamp getDateEnd()
Get the date end

Returns:
the date end

setDateEnd

public void setDateEnd(java.sql.Timestamp dateEnd)
Set date end

Parameters:
dateEnd - the date end

getHour

public java.sql.Timestamp getHour()
Get the hour of the session

Returns:
the hour (date with only the hour set)

setHour

public void setHour(java.sql.Timestamp hour)
Set the hour of the session

Parameters:
hour - (date with only the hour set)

getDuration

public int getDuration()
Get Duration of the session

Returns:
the duration of the session

setDuration

public void setDuration(int duration)
Set the duration of the session

Parameters:
duration - of the session

getDays

public java.util.List<WeekDaysEnum> getDays()
Return the days when there is a session during the week

Returns:
list of days

setDays

public void setDays(java.util.List<WeekDaysEnum> days)
Set the days when there is a session during the week

Parameters:
days - of week


Copyright © 2011 Mairie de Paris. All Rights Reserved.