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.Object
This 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.String
getDownloadName()
java.lang.String
getName()
java.lang.String
getNiceSize()
int
getNumber()
long
getSize()
boolean
isViewable()
void
setDownloadName(java.lang.String downloadName)
void
setName(java.lang.String name)
void
setNumber(int number)
void
setSize(long size)
void
setViewable(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
-
-