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

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.modules.tickets.business.PurchaseStatistic

@Entity
public class PurchaseStatistic
extends Object

PurchaseStatistic


Field Summary
static String ATTRIBUTE_CHILDREN_LIST
           
static String ATTRIBUTE_PARENT
           
 
Constructor Summary
PurchaseStatistic()
          Constructor
PurchaseStatistic(PurchaseStatistic purchaseStatistic)
          Build a new purchaseStatistic from a purchaseStatistic object
 
Method Summary
 Timestamp getDate()
          Return the purchase_statistic date
 Integer getDayOfYear()
          Return the purchase_statistic dayOfYear
 Integer getId()
          Return purchase_statistic id
 Integer getMonth()
          Return the purchase_statistic month
 fr.paris.lutece.plugins.stock.business.purchase.Purchase getPurchase()
          Return the purchase
 Integer getWeek()
          Return the purchase_statistic week
 Integer getYear()
          Return the purchase_statistic year
 void setDate(Timestamp date)
          Set the purchase_statistic date
 void setDayOfYear(Integer dayOfYear)
          Set the purchase_statistic dayOfYear
 void setId(Integer idPurchaseStatistic)
          Set the purchase_statistic id.
 void setMonth(Integer month)
          Set the purchase_statistic month
 void setPurchase(fr.paris.lutece.plugins.stock.business.purchase.Purchase purchase)
          Set the purchase
 void setWeek(Integer week)
          Set the purchase_statistic week
 void setYear(Integer year)
          Set the purchase_statistic year
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_CHILDREN_LIST

public static final String ATTRIBUTE_CHILDREN_LIST
See Also:
Constant Field Values

ATTRIBUTE_PARENT

public static final String ATTRIBUTE_PARENT
See Also:
Constant Field Values
Constructor Detail

PurchaseStatistic

public PurchaseStatistic()
Constructor


PurchaseStatistic

public PurchaseStatistic(PurchaseStatistic purchaseStatistic)
Build a new purchaseStatistic from a purchaseStatistic object

Parameters:
purchaseStatistic - the purchaseStatistic
Method Detail

getId

public Integer getId()
Return purchase_statistic id

Returns:
purchase_statistic id

setId

public void setId(Integer idPurchaseStatistic)
Set the purchase_statistic id.

Parameters:
idPurchaseStatistic - the new id

getDayOfYear

public Integer getDayOfYear()
Return the purchase_statistic dayOfYear

Returns:
the dayOfYear

setDayOfYear

public void setDayOfYear(Integer dayOfYear)
Set the purchase_statistic dayOfYear

Parameters:
dayOfYear - the purchase_statistic dayOfYear

setWeek

public void setWeek(Integer week)
Set the purchase_statistic week

Parameters:
week - the purchase_statistic week

getWeek

public Integer getWeek()
Return the purchase_statistic week

Returns:
the week

setMonth

public void setMonth(Integer month)
Set the purchase_statistic month

Parameters:
month - the purchase_statistic month

getMonth

public Integer getMonth()
Return the purchase_statistic month

Returns:
the month

setYear

public void setYear(Integer year)
Set the purchase_statistic year

Parameters:
year - the purchase_statistic year

getYear

public Integer getYear()
Return the purchase_statistic year

Returns:
the year

setDate

public void setDate(Timestamp date)
Set the purchase_statistic date

Parameters:
date - the purchase_statistic date

getDate

public Timestamp getDate()
Return the purchase_statistic date

Returns:
the date

getPurchase

public fr.paris.lutece.plugins.stock.business.purchase.Purchase getPurchase()
Return the purchase

Returns:
the purchase

setPurchase

public void setPurchase(fr.paris.lutece.plugins.stock.business.purchase.Purchase purchase)
Set the purchase

Parameters:
purchase - the purchase


Copyright © 2014 Mairie de Paris. All Rights Reserved.