public class RatingGraphConfig
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
RatingGraphConfig.Type
Define what type of data to display in the Rating Graph.
|
Constructor and Description |
---|
RatingGraphConfig() |
Modifier and Type | Method and Description |
---|---|
RatingGraphConfig |
clone()
make a copy of this RatingGraphConfig
|
java.util.Date |
getFirstMatchDate()
Get the date of the first match to display.
|
int |
getMatchCount()
Get the number of matches that the user wants to display.
|
RatingGraphConfig.Type |
getType()
Fetch the
RatingGraphConfig.Type of graph to display |
int |
getTypeAsInt()
Fetch the type of graph as an int.
|
void |
setFirstMatchDate(java.util.Date firstMatchDate)
Set the date of the first match to display.
|
void |
setMatchCount(int matchCount)
Set the number of matches that the user wants to display.
|
void |
setType(RatingGraphConfig.Type type)
Set the type of graph that the user wants to display.
|
void |
setTypeAsInt(int type)
Set the type of graph as an int.
|
public RatingGraphConfig clone()
clone
in class java.lang.Object
public RatingGraphConfig.Type getType()
RatingGraphConfig.Type
of graph to displaypublic void setType(RatingGraphConfig.Type type)
type
- the type to setpublic void setTypeAsInt(int type)
type
- The (most likely) stored typepublic int getTypeAsInt()
public int getMatchCount()
public void setMatchCount(int matchCount)
matchCount
- the matchCount to setpublic java.util.Date getFirstMatchDate()
public void setFirstMatchDate(java.util.Date firstMatchDate)
firstMatchDate
- the firstMatchDate to set