Class TableCell

java.lang.Object
org.netxms.client.TableCell

public class TableCell extends Object
Table cell
  • Constructor Details

    • TableCell

      public TableCell(String value)
      Parameters:
      value - The cell value
    • TableCell

      public TableCell(String value, int status)
      Parameters:
      value - The cell value
      status - The cell status
    • TableCell

      public TableCell(TableCell src)
      Parameters:
      src - The TableCell source object
  • Method Details

    • getValue

      public String getValue()
      Returns:
      the value
    • getValueAsLong

      public long getValueAsLong()
      Get value interpreted as long integer
      Returns:
      value interpreted as long integer or 0 if it cannot be interpreted as such
    • getValueAsInteger

      public int getValueAsInteger()
      Get value interpreted as integer
      Returns:
      value interpreted as integer or 0 if it cannot be interpreted as such
    • getValueAsDouble

      public double getValueAsDouble()
      Get value interpreted as floating point number
      Returns:
      value interpreted as floating point number or 0 if it cannot be interpreted as such
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
    • getStatus

      public int getStatus()
      Returns:
      the status
    • setStatus

      public void setStatus(int status)
      Parameters:
      status - the status to set
    • getObjectId

      public long getObjectId()
      Returns:
      the objectId
    • setObjectId

      public void setObjectId(long objectId)
      Parameters:
      objectId - the objectId to set
    • toString

      public String toString()
      Overrides:
      toString in class Object