Package org.netxms.client.log
Class LogRecordDetails
java.lang.Object
org.netxms.client.log.LogRecordDetails
Log record details
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedLogRecordDetails(long id, NXCPMessage msg) Create new object from server response.
- 
Method SummaryModifier and TypeMethodDescriptionintGet number of "details" columns in this record.Get definitions for "details" columns.intgetColumnIndex(String name) Get index of column with given name.longgetId()Get ID of this record.getValue(int index) Get value for column with given index.Get value for column with given name.longgetValueAsLong(int index) Get value for column with given index as long integer.longgetValueAsLong(String columnName) Get value for column with given name as long integer.Get values in "details" columns.toString()
- 
Constructor Details- 
LogRecordDetailsCreate new object from server response.- Parameters:
- id- record ID
- msg- NXCP message
 
 
- 
- 
Method Details- 
getIdpublic long getId()Get ID of this record.- Returns:
- ID of this record
 
- 
getColumnCountpublic int getColumnCount()Get number of "details" columns in this record.- Returns:
- number of "details" columns in this record
 
- 
getColumnDefinitionsGet definitions for "details" columns.- Returns:
- definitions for "details" columns
 
- 
getColumnIndexGet index of column with given name.- Parameters:
- name- column name
- Returns:
- column index or -1
 
- 
getValuesGet values in "details" columns.- Returns:
- values in "details" columns
 
- 
getValueGet value for column with given index.- Parameters:
- index- column index
- Returns:
- value for column with given index or null
 
- 
getValueGet value for column with given name.- Parameters:
- columnName- column name
- Returns:
- value for column with given name or null
 
- 
getValueAsLongpublic long getValueAsLong(int index) Get value for column with given index as long integer.- Parameters:
- index- column index
- Returns:
- value for column with given index or 0
 
- 
getValueAsLongGet value for column with given name as long integer.- Parameters:
- columnName- column name
- Returns:
- value for column with given index or 0
 
- 
toString
 
-