Package org.netxms.client
Class TableCell
java.lang.Object
org.netxms.client.TableCell
Table cell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintgetValue()doubleGet value interpreted as floating point numberintGet value interpreted as integerlongGet value interpreted as long integervoidsetObjectId(long objectId) voidsetStatus(int status) voidtoString()
-
Constructor Details
-
TableCell
- Parameters:
value- The cell value
-
TableCell
- Parameters:
value- The cell valuestatus- The cell status
-
TableCell
- Parameters:
src- The TableCell source object
-
-
Method Details
-
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
- 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
-