Class SapViewerResponse.StructureRow

java.lang.Object
com.saperion.ngc.json.SapViewerResponse.StructureRow
Enclosing class:
SapViewerResponse

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

    • StructureRow

      public StructureRow()
  • Method Details

    • 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 String getName()
      Returns:
      the name of the element used as label in the structure
    • setName

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

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

      public void setDownloadName(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 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