Package org.dspace.statistics.content
Class DSORepresentation
java.lang.Object
org.dspace.statistics.content.DSORepresentation
Describes the displayed representation of the statistics on a DSpaceObject
and its children.
- Author:
- TODO
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a representation assumed to be of an ITEM.DSORepresentation(Integer type, Integer max, Boolean separate) Construct a representation as described. -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegergetMax()final Integerfinal Booleanfinal IntegergetType()final voidfinal voidsetNameLength(Integer nameLength) final voidsetSeparate(Boolean separate) final void
-
Constructor Details
-
DSORepresentation
public DSORepresentation()Construct a representation assumed to be of an ITEM. -
DSORepresentation
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 Details
-
getType
-
setType
- Parameters:
type- Object type, e.g. Constants.COLLECTION
-
getMax
-
setMax
- Parameters:
max- Maximum number of children to display
-
getNameLength
-
setNameLength
-
getSeparate
-
setSeparate
- Parameters:
separate- true for distinct child statistics; false to sum them
-