Package com.saperion.ngc.json
Class SapViewerResponse.StructureRow
java.lang.Object
com.saperion.ngc.json.SapViewerResponse.StructureRow
- Enclosing class:
- SapViewerResponse
This class represents a row in the structure-view of the SAPViewer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
long
getSize()
boolean
void
setDownloadName
(String downloadName) void
void
setNumber
(int number) void
setSize
(long size) void
setViewable
(boolean viewable)
-
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
- Returns:
- the name of the element used as label in the structure
-
setName
- Parameters:
name
- the name of the element used as label in the structure
-
getDownloadName
- Returns:
- the name of the element used for downloading
-
setDownloadName
- Parameters:
downloadName
- the name of the element used for downloading
-
getSize
public long getSize()- Returns:
- the size of the element (bytes)
-
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
-