@Entity public class PurchaseStatistic extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_CHILDREN_LIST |
static String |
ATTRIBUTE_PARENT |
Constructor and Description |
---|
PurchaseStatistic()
Constructor
|
PurchaseStatistic(PurchaseStatistic purchaseStatistic)
Build a new purchaseStatistic from a purchaseStatistic object
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final String ATTRIBUTE_CHILDREN_LIST
public static final String ATTRIBUTE_PARENT
public PurchaseStatistic()
public PurchaseStatistic(PurchaseStatistic purchaseStatistic)
purchaseStatistic
- the purchaseStatisticpublic Integer getId()
public void setId(Integer idPurchaseStatistic)
idPurchaseStatistic
- the new idpublic Integer getDayOfYear()
public void setDayOfYear(Integer dayOfYear)
dayOfYear
- the purchase_statistic dayOfYearpublic void setWeek(Integer week)
week
- the purchase_statistic weekpublic Integer getWeek()
public void setMonth(Integer month)
month
- the purchase_statistic monthpublic Integer getMonth()
public void setYear(Integer year)
year
- the purchase_statistic yearpublic Integer getYear()
public void setDate(Timestamp date)
date
- the purchase_statistic datepublic Timestamp getDate()
public fr.paris.lutece.plugins.stock.business.purchase.Purchase getPurchase()
public void setPurchase(fr.paris.lutece.plugins.stock.business.purchase.Purchase purchase)
purchase
- the purchaseCopyright © 2020 City of Paris. All rights reserved.