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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
Copyright © 2011 DuraSpace. All Rights Reserved.