@Override
public Object getValueFromRowColumn (final int rowIndex, final int columnIndex) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Trace message
- this.getLogger().trace(MessageFormat.format("rowIndex={0},columnIndex={1} CALLED!", rowIndex, columnIndex));
+ this.getLogger().trace(MessageFormat.format("rowIndex={0},columnIndex={1} CALLED!", rowIndex, columnIndex)); //NOI18N
// Then get specific row from database which is a Contact instance
Storable storeable = this.getFrontend().getStorableAtRow(rowIndex);
// Debug message
- this.getLogger().debug(MessageFormat.format("storeable={0}", storeable));
+ this.getLogger().debug(MessageFormat.format("storeable={0}", storeable)); //NOI18N
// It may return null
if (null == storeable) {
// Nothing found
- this.getLogger().warn("contact is null - returning null ...");
+ this.getLogger().warn("contact is null - returning null ..."); //NOI18N
return null;
}
String columnName = this.getColumnName(columnIndex);
// Debug message
- this.getLogger().debug(MessageFormat.format("columnName={0}", columnName));
+ this.getLogger().debug(MessageFormat.format("columnName={0}", columnName)); //NOI18N
// Now get that column
Object value = null;
}
// Trace message
- this.getLogger().trace(MessageFormat.format("value={0} - EXIT!", value));
+ this.getLogger().trace(MessageFormat.format("value={0} - EXIT!", value)); //NOI18N
// Return it
return value;
this.getLogger().debug(MessageFormat.format("key={0}", key)); //NOI18N
// Convert string to array based on delimiter '.'
- String[] tokens = this.getArrayFromString(key, ".");
+ String[] tokens = this.getArrayFromString(key, "."); //NOI18N
// Token array must contain 4 elements (AddressbookContactManager.columnName.foo.text)
- assert(tokens.length == 4) : MessageFormat.format("Array tokens contains not 4 elements: {0}", Arrays.toString(tokens));
+ assert(tokens.length == 4) : MessageFormat.format("Array tokens contains not 4 elements: {0}", Arrays.toString(tokens)); //NOI18N
// Get pre-last element
String columnName = tokens[tokens.length - 2];
// Debug message
- this.getLogger().debug(MessageFormat.format("columnName={0} - adding ...", columnName));
+ this.getLogger().debug(MessageFormat.format("columnName={0} - adding ...", columnName)); //NOI18N
// So add it
this.columnNames.add(columnName);