Package org.dspace.statistics.content
Class DSORepresentation
- java.lang.Object
-
- org.dspace.statistics.content.DSORepresentation
-
public class DSORepresentation extends Object
Describes the displayed representation of the statistics on a DSpaceObject and its children.- Author:
- TODO
-
-
Constructor Summary
Constructors Constructor Description DSORepresentation()Construct a representation assumed to be of an ITEM.DSORepresentation(Integer type, Integer max, Boolean separate)Construct a representation as described.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetMax()IntegergetNameLength()BooleangetSeparate()IntegergetType()voidsetMax(Integer max)voidsetNameLength(Integer nameLength)voidsetSeparate(Boolean separate)voidsetType(Integer type)
-
-
-
Constructor Detail
-
DSORepresentation
public DSORepresentation()
Construct a representation assumed to be of an ITEM.
-
DSORepresentation
public DSORepresentation(Integer type, Integer max, Boolean separate)
Construct a representation as described.- Parameters:
type- Object type, e.g. Constants.COLLECTIONmax- Maximum number of children to displayseparate- True if children's statistics are distinct; false if summed
-
-
Method Detail
-
getType
public final Integer getType()
-
setType
public final void setType(Integer type)
- Parameters:
type- Object type, e.g. Constants.COLLECTION
-
getMax
public final Integer getMax()
-
setMax
public final void setMax(Integer max)
- Parameters:
max- Maximum number of children to display
-
getNameLength
public final Integer getNameLength()
-
setNameLength
public final void setNameLength(Integer nameLength)
-
getSeparate
public final Boolean getSeparate()
-
setSeparate
public final void setSeparate(Boolean separate)
- Parameters:
separate- true for distinct child statistics; false to sum them
-
-