public class OverviewResultCategory extends Object implements Serializable
Constructor and Description |
---|
OverviewResultCategory()
Constructor.
|
OverviewResultCategory(Period timespan,
Date startDate,
CategoryDto category,
int entityCount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CategoryDto |
getCategory()
Gets category
|
int |
getEntityCount()
Gets entityCount
|
Date |
getStartDate()
Gets startDate
|
Period |
getTimespan()
Gets timespan
|
void |
setCategory(CategoryDto category)
Sets category
|
void |
setEntityCount(int entityCount)
Sets entityCount
|
void |
setStartDate(Date startDate)
Sets startDate
|
void |
setTimespan(Period timespan)
Sets timespan
|
public OverviewResultCategory()
public OverviewResultCategory(Period timespan, Date startDate, CategoryDto category, int entityCount)
timespan
- timespan of overview (expected a day, week or month)startDate
- first day of overviewcategory
- items from this category 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 CategoryDto getCategory()
public void setCategory(CategoryDto category)
category
- categorypublic int getEntityCount()
public void setEntityCount(int entityCount)
entityCount
- entityCountCopyright © 2017 Pivotal Software, Inc.. All rights reserved.