|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.statistics.Statistics
public class Statistics
This class provides a wrapper for a related set of statistics. It contains headers for the Stat key and value pairs for the convenience of displaying them to users as, for example, HTML table headers. It also holds the list of statistics, and can have them added to itself individually or in arrays
| Method Summary | |
|---|---|
void |
add(Stat stat)
add an individual statistic to this object |
void |
add(Stat[] stats)
add an array of statistics to this object |
String |
getExplanation()
get the explanation or clarification information for this block of stats |
int |
getFloor()
get the floor value used in this stat block |
String |
getResultName()
get the name of the result set |
String |
getSectionHeader()
get the header for this particular stats block |
String |
getStatName()
get the name of the statistic |
Stat[] |
getStats()
get an array of statistics back from this object |
void |
setExplanation(String explanation)
set the explanatory or clarification information for this block of stats |
void |
setFloor(int floor)
set the floor value used in this stat block |
void |
setResultName(String name)
set the name of the results column |
void |
setSectionHeader(String header)
set the header for this particular stats block |
void |
setStatName(String name)
set the name of the statistic column |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void add(Stat stat)
stat - a statistic for this objectpublic void setStatName(String name)
name - the name of the statistic columnpublic void setResultName(String name)
name - the name of the results columnpublic void setExplanation(String explanation)
explanation - the explanation for this stat blockpublic String getExplanation()
public void setFloor(int floor)
floor - the floor value for this stat blockpublic int getFloor()
public void setSectionHeader(String header)
header - for this stats blockpublic String getSectionHeader()
public void add(Stat[] stats)
stats - an array of statisticspublic Stat[] getStats()
public String getStatName()
public String getResultName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||