org.dspace.statistics.content
Class DSORepresentation

java.lang.Object
  extended by 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
DSORepresentation()
          Construct a representation assumed to be of an ITEM.
DSORepresentation(Integer type, Integer max, Boolean separate)
          Construct a representation as described.
 
Method Summary
 Integer getMax()
           
 Integer getNameLength()
           
 Boolean getSeparate()
           
 Integer getType()
           
 void setMax(Integer max)
           
 void setNameLength(Integer nameLength)
           
 void setSeparate(Boolean separate)
           
 void setType(Integer type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.COLLECTION
max - Maximum number of children to display
separate - 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


Copyright © 2011 DuraSpace. All Rights Reserved.