Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
#298 changing the group code json
Browse files Browse the repository at this point in the history
to appear under "name" instead of "id"
  • Loading branch information
alexandru-m-g committed Jan 20, 2015
1 parent e25c785 commit 75f3bf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class GroupV3DTO {

private List<DatasetV3DTO> packages;

public GroupV3DTO(final String id) {
public GroupV3DTO(final String name) {
super();
this.id = id;
this.name = name;
}

public GroupV3DTO() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"The uuid of the ckan dataset","name":"The name of the ckan dataset","last_data_update_date":"2001-09-09T03:46:40.000000","last_metadata_update_date":"2001-09-09T03:46:40.000000","dataset_source":"The organization name","dataset_source_short_name":"The organization short name","source_code":"WFP","indicator_type":"the name of the indicator type","indicator_type_code":"PVX040","dataset_date":"11/02/2014-11/20/2014","description":"the dataset summary","methodology":"the methodology","more_info":"more info","terms_of_use":"terms of use","validation_notes_and_comments":"Notes and comments","groups":[{"id":"world"},{"id":"USA"}]}
{"id":"The uuid of the ckan dataset","name":"The name of the ckan dataset","last_data_update_date":"2001-09-09T03:46:40.000000","last_metadata_update_date":"2001-09-09T03:46:40.000000","dataset_source":"The organization name","dataset_source_short_name":"The organization short name","source_code":"WFP","indicator_type":"the name of the indicator type","indicator_type_code":"PVX040","dataset_date":"11/02/2014-11/20/2014","description":"the dataset summary","methodology":"the methodology","more_info":"more info","terms_of_use":"terms of use","validation_notes_and_comments":"Notes and comments","groups":[{"name":"world"},{"name":"USA"}]}

0 comments on commit 75f3bf6

Please sign in to comment.