Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • For a given table view, the table is identified by a "tag" (in this example, that tag is "sample")
    • request event identifier is derived as: <tag> + "DataRequest"

    • response event identifier is derived as: <tag> + "DataResponse"
    • "root" tag is derived as: <tag> + "s"

 

(2a) comment about defaultColumnId():

...

Typically, table rows have a unique value to identify the row (for example, in the Devices table it is the value of the Device.id() property). The default identifier for the column holding that value is "id". If you want to use a different column identifier for the unique row key, your class should override defaultColumnId(). For example:

Code Block
private static final String MAC = "mac";
 
...
 
@Override
protected String defaultColumnId() {
    return MAC;
}

...