public AutodiscoveryQueueDataSource() {
setClientOnly(false);
setDataProtocol(DSProtocol.CLIENTCUSTOM);
setDataFormat(DSDataFormat.CUSTOM);
DataSourceTextField idField = new DataSourceTextField("id", MSG.common_title_id());
idField.setPrimaryKey(true);
DataSourceTextField parentIdField = new DataSourceTextField("parentId",
MSG.view_autoDiscoveryQ_field_parentId());
parentIdField.setForeignKey("id");
DataSourceTextField resourceNameField = new DataSourceTextField("name", MSG.common_title_resource_name());
DataSourceTextField resourceKeyField = new DataSourceTextField("resourceKey", MSG.common_title_resource_key());
DataSourceTextField resourceTypeField = new DataSourceTextField("typeName", MSG.common_title_resource_type());
DataSourceTextField descriptionField = new DataSourceTextField("description", MSG.common_title_description());
DataSourceTextField timestampField = new DataSourceTextField("ctime",
MSG.view_autoDiscoveryQ_field_discoveryTime());
DataSourceTextField statusField = new DataSourceTextField("statusLabel",
MSG.view_autoDiscoveryQ_field_inventoryStatus());
setFields(idField, parentIdField, resourceNameField, resourceKeyField, resourceTypeField, descriptionField,
statusField, timestampField);
}