Package com.saperion.ngc.json
Class SapViewerResponse.StructureRow
- java.lang.Object
-
- com.saperion.ngc.json.SapViewerResponse.StructureRow
-
- Enclosing class:
- SapViewerResponse
public static class SapViewerResponse.StructureRow extends java.lang.ObjectThis class represents a row in the structure-view of the SAPViewer.
-
-
Constructor Summary
Constructors Constructor Description StructureRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDownloadName()java.lang.StringgetName()java.lang.StringgetNiceSize()intgetNumber()longgetSize()booleanisViewable()voidsetDownloadName(java.lang.String downloadName)voidsetName(java.lang.String name)voidsetNumber(int number)voidsetSize(long size)voidsetViewable(boolean viewable)
-
-
-
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
-
-