public class OverviewResultItem extends Object implements Serializable
Constructor and Description |
---|
OverviewResultItem()
Constructor.
|
OverviewResultItem(Period timespan,
Date startDate,
ItemDto item,
int entityCount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getEntityCount()
Gets entityCount
|
ItemDto |
getItem()
Gets item
|
Date |
getStartDate()
Gets startDate
|
Period |
getTimespan()
Gets timespan
|
void |
setEntityCount(int entityCount)
Sets entityCount
|
void |
setItem(ItemDto item)
Sets item
|
void |
setStartDate(Date startDate)
Sets startDate
|
void |
setTimespan(Period timespan)
Sets timespan
|
public OverviewResultItem()
public OverviewResultItem(Period timespan, Date startDate, ItemDto item, int entityCount)
timespan
- timespan of overview (expected a day, week or month)startDate
- first day of overviewitem
- this items are in the overviewentityCount
- count of sold itemspublic Period getTimespan()
public void setTimespan(Period timespan)
timespan
- timespanpublic Date getStartDate()
public void setStartDate(Date startDate)
startDate
- startDatepublic ItemDto getItem()
public void setItem(ItemDto item)
item
- itempublic int getEntityCount()
public void setEntityCount(int entityCount)
entityCount
- entityCountCopyright © 2017 Pivotal Software, Inc.. All rights reserved.