Package org.netxms.client
Class TableRow
- java.lang.Object
-
- org.netxms.client.TableRow
-
public class TableRow extends Object
Table row
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longfillMessage(org.netxms.base.NXCPMessage msg, long baseId, boolean extendedFormat)TableCellget(int column)intgetBaseRow()longgetObjectId()voidsetBaseRow(int baseRow)voidsetObjectId(long objectId)intsize()StringtoString()
-
-
-
Constructor Detail
-
TableRow
public TableRow(int rowCount)
Create new row- Parameters:
rowCount- The amount of new rows to create
-
TableRow
public TableRow(TableRow src)
Copy constructor- Parameters:
src- The TableRow source object
-
-
Method Detail
-
get
public TableCell get(int column) throws ArrayIndexOutOfBoundsException
- Parameters:
column- The column ID- Returns:
- The TableCell
- Throws:
ArrayIndexOutOfBoundsException- If the index is out of bounds
-
size
public int size()
- Returns:
- The amount of cells
-
fillMessage
public long fillMessage(org.netxms.base.NXCPMessage msg, long baseId, boolean extendedFormat)- Parameters:
msg- The NXCPMessagebaseId- The base IDextendedFormat- True if extended format- Returns:
- The cell ID
-
getObjectId
public long getObjectId()
- Returns:
- the objectId
-
setObjectId
public void setObjectId(long objectId)
- Parameters:
objectId- the objectId to set
-
getBaseRow
public int getBaseRow()
- Returns:
- the baseRow
-
setBaseRow
public void setBaseRow(int baseRow)
- Parameters:
baseRow- the baseRow to set
-
-