Class SapViewerResponse.StructureRow

  • Enclosing class:
    SapViewerResponse

    public static class SapViewerResponse.StructureRow
    extends java.lang.Object
    This class represents a row in the structure-view of the SAPViewer.
    • Constructor Detail

      • StructureRow

        public StructureRow()
    • Method Detail

      • getNumber

        public int getNumber()
        Returns:
        the number of the element in the structure
      • setNumber

        public void setNumber​(int number)
        Parameters:
        number - the number of the element in the structure
      • getName

        public java.lang.String getName()
        Returns:
        the name of the element used as label in the structure
      • setName

        public void setName​(java.lang.String name)
        Parameters:
        name - the name of the element used as label in the structure
      • getDownloadName

        public java.lang.String getDownloadName()
        Returns:
        the name of the element used for downloading
      • setDownloadName

        public void setDownloadName​(java.lang.String downloadName)
        Parameters:
        downloadName - the name of the element used for downloading
      • getSize

        public long getSize()
        Returns:
        the size of the element (bytes)
      • getNiceSize

        public java.lang.String getNiceSize()
        Returns:
        the formatted size of the element in kilobytes
      • setSize

        public void setSize​(long size)
        Parameters:
        size - the size of the element (bytes)
      • isViewable

        public boolean isViewable()
        Returns:
        true if the element is viewable
      • setViewable

        public void setViewable​(boolean viewable)
        Parameters:
        viewable - true if the element is viewable