Class DSORepresentation


  • public class DSORepresentation
    extends Object
    Describes the displayed representation of the statistics on a DSpaceObject and its children.
    Author:
    TODO
    • 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