{"action":"created","comment":{"url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/comments/32023487","id":32023487,"diff_hunk":"@@ -251,4 +304,64 @@ public void setFirstRowAsHeader(boolean firstRowAsHeader) {\n \tpublic String toString() {\n \t\treturn \"[\" + path + \"]\";\n \t}\n+\n+\t/**\n+\t * Sets the standard metadata value.\n+\t *\n+\t * @param name The name that the metadata column will get\n+\t * @param type The type of the column\n+\t */\n+\tpublic void createMetaDataValue(String name, String type) throws ClassNotFoundException {\n+\t\ttry {\n+\t\t\tDataValue res = null;\n+\t\t\tString filename = this.getFile().getName();\n+\t\t\tString metavalue = filename.substring(0, filename.lastIndexOf(\".\"));\n+\n+\t\t\tswitch (type) {","path":"src/main/java/model/input/file/DataFile.java","position":128,"original_position":128,"commit_id":"59afb6d302b3106336ab21d18d758e159e7b2388","original_commit_id":"59afb6d302b3106336ab21d18d758e159e7b2388","user":{"login":"Boudewijn26","id":2896917,"avatar_url":"https://avatars.githubusercontent.com/u/2896917?v=3","gravatar_id":"","url":"https://api.github.com/users/Boudewijn26","html_url":"https://github.com/Boudewijn26","followers_url":"https://api.github.com/users/Boudewijn26/followers","following_url":"https://api.github.com/users/Boudewijn26/following{/other_user}","gists_url":"https://api.github.com/users/Boudewijn26/gists{/gist_id}","starred_url":"https://api.github.com/users/Boudewijn26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boudewijn26/subscriptions","organizations_url":"https://api.github.com/users/Boudewijn26/orgs","repos_url":"https://api.github.com/users/Boudewijn26/repos","events_url":"https://api.github.com/users/Boudewijn26/events{/privacy}","received_events_url":"https://api.github.com/users/Boudewijn26/received_events","type":"User","site_admin":false},"body":"Splitten naar aparte methode.","created_at":"2015-06-09T15:10:40Z","updated_at":"2015-06-09T15:10:40Z","html_url":"https://github.com/clanghout/Health-Informatics-3/pull/162#discussion_r32023487","pull_request_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162","_links":{"self":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/comments/32023487"},"html":{"href":"https://github.com/clanghout/Health-Informatics-3/pull/162#discussion_r32023487"},"pull_request":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162"}}},"pull_request":{"url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162","id":37182373,"html_url":"https://github.com/clanghout/Health-Informatics-3/pull/162","diff_url":"https://github.com/clanghout/Health-Informatics-3/pull/162.diff","patch_url":"https://github.com/clanghout/Health-Informatics-3/pull/162.patch","issue_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/162","number":162,"state":"open","locked":false,"title":"Metadata","user":{"login":"pjvanwijk","id":5984167,"avatar_url":"https://avatars.githubusercontent.com/u/5984167?v=3","gravatar_id":"","url":"https://api.github.com/users/pjvanwijk","html_url":"https://github.com/pjvanwijk","followers_url":"https://api.github.com/users/pjvanwijk/followers","following_url":"https://api.github.com/users/pjvanwijk/following{/other_user}","gists_url":"https://api.github.com/users/pjvanwijk/gists{/gist_id}","starred_url":"https://api.github.com/users/pjvanwijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjvanwijk/subscriptions","organizations_url":"https://api.github.com/users/pjvanwijk/orgs","repos_url":"https://api.github.com/users/pjvanwijk/repos","events_url":"https://api.github.com/users/pjvanwijk/events{/privacy}","received_events_url":"https://api.github.com/users/pjvanwijk/received_events","type":"User","site_admin":false},"body":"De metadata kan nu als tag worden toegevoegd in de xml. \r\n <metadata name=\"colomnaam\" type=\"string\"/>.\r\nEr wordt dan in de tabel een kolom toegevoegd met als waarden de naam van de file zonder extensie.","created_at":"2015-06-08T18:35:07Z","updated_at":"2015-06-09T15:10:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a25f391e1458b5e3fe8c529dae8c100aaf543bc0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162/commits","review_comments_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162/comments","review_comment_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/162/comments","statuses_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/statuses/59afb6d302b3106336ab21d18d758e159e7b2388","head":{"label":"clanghout:metadata","ref":"metadata","sha":"59afb6d302b3106336ab21d18d758e159e7b2388","user":{"login":"clanghout","id":5969237,"avatar_url":"https://avatars.githubusercontent.com/u/5969237?v=3","gravatar_id":"","url":"https://api.github.com/users/clanghout","html_url":"https://github.com/clanghout","followers_url":"https://api.github.com/users/clanghout/followers","following_url":"https://api.github.com/users/clanghout/following{/other_user}","gists_url":"https://api.github.com/users/clanghout/gists{/gist_id}","starred_url":"https://api.github.com/users/clanghout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanghout/subscriptions","organizations_url":"https://api.github.com/users/clanghout/orgs","repos_url":"https://api.github.com/users/clanghout/repos","events_url":"https://api.github.com/users/clanghout/events{/privacy}","received_events_url":"https://api.github.com/users/clanghout/received_events","type":"User","site_admin":false},"repo":{"id":34447605,"name":"Health-Informatics-3","full_name":"clanghout/Health-Informatics-3","owner":{"login":"clanghout","id":5969237,"avatar_url":"https://avatars.githubusercontent.com/u/5969237?v=3","gravatar_id":"","url":"https://api.github.com/users/clanghout","html_url":"https://github.com/clanghout","followers_url":"https://api.github.com/users/clanghout/followers","following_url":"https://api.github.com/users/clanghout/following{/other_user}","gists_url":"https://api.github.com/users/clanghout/gists{/gist_id}","starred_url":"https://api.github.com/users/clanghout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanghout/subscriptions","organizations_url":"https://api.github.com/users/clanghout/orgs","repos_url":"https://api.github.com/users/clanghout/repos","events_url":"https://api.github.com/users/clanghout/events{/privacy}","received_events_url":"https://api.github.com/users/clanghout/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clanghout/Health-Informatics-3","description":"","fork":false,"url":"https://api.github.com/repos/clanghout/Health-Informatics-3","forks_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/forks","keys_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/teams","hooks_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/hooks","issue_events_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/events{/number}","events_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/events","assignees_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/assignees{/user}","branches_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/branches{/branch}","tags_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/tags","blobs_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/statuses/{sha}","languages_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/languages","stargazers_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/stargazers","contributors_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/contributors","subscribers_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/subscribers","subscription_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/subscription","commits_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/contents/{+path}","compare_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/merges","archive_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/downloads","issues_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues{/number}","pulls_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls{/number}","milestones_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/milestones{/number}","notifications_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/labels{/name}","releases_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/releases{/id}","created_at":"2015-04-23T09:44:17Z","updated_at":"2015-05-28T09:00:34Z","pushed_at":"2015-06-09T15:06:54Z","git_url":"git://github.com/clanghout/Health-Informatics-3.git","ssh_url":"git@github.com:clanghout/Health-Informatics-3.git","clone_url":"https://github.com/clanghout/Health-Informatics-3.git","svn_url":"https://github.com/clanghout/Health-Informatics-3","homepage":null,"size":16056,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":6,"default_branch":"master"}},"base":{"label":"clanghout:master","ref":"master","sha":"ecab7e9a719b2bd64a23023dff020366c34fef88","user":{"login":"clanghout","id":5969237,"avatar_url":"https://avatars.githubusercontent.com/u/5969237?v=3","gravatar_id":"","url":"https://api.github.com/users/clanghout","html_url":"https://github.com/clanghout","followers_url":"https://api.github.com/users/clanghout/followers","following_url":"https://api.github.com/users/clanghout/following{/other_user}","gists_url":"https://api.github.com/users/clanghout/gists{/gist_id}","starred_url":"https://api.github.com/users/clanghout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanghout/subscriptions","organizations_url":"https://api.github.com/users/clanghout/orgs","repos_url":"https://api.github.com/users/clanghout/repos","events_url":"https://api.github.com/users/clanghout/events{/privacy}","received_events_url":"https://api.github.com/users/clanghout/received_events","type":"User","site_admin":false},"repo":{"id":34447605,"name":"Health-Informatics-3","full_name":"clanghout/Health-Informatics-3","owner":{"login":"clanghout","id":5969237,"avatar_url":"https://avatars.githubusercontent.com/u/5969237?v=3","gravatar_id":"","url":"https://api.github.com/users/clanghout","html_url":"https://github.com/clanghout","followers_url":"https://api.github.com/users/clanghout/followers","following_url":"https://api.github.com/users/clanghout/following{/other_user}","gists_url":"https://api.github.com/users/clanghout/gists{/gist_id}","starred_url":"https://api.github.com/users/clanghout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanghout/subscriptions","organizations_url":"https://api.github.com/users/clanghout/orgs","repos_url":"https://api.github.com/users/clanghout/repos","events_url":"https://api.github.com/users/clanghout/events{/privacy}","received_events_url":"https://api.github.com/users/clanghout/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clanghout/Health-Informatics-3","description":"","fork":false,"url":"https://api.github.com/repos/clanghout/Health-Informatics-3","forks_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/forks","keys_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/teams","hooks_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/hooks","issue_events_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/events{/number}","events_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/events","assignees_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/assignees{/user}","branches_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/branches{/branch}","tags_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/tags","blobs_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/statuses/{sha}","languages_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/languages","stargazers_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/stargazers","contributors_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/contributors","subscribers_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/subscribers","subscription_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/subscription","commits_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/contents/{+path}","compare_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/merges","archive_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/downloads","issues_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues{/number}","pulls_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls{/number}","milestones_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/milestones{/number}","notifications_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/labels{/name}","releases_url":"https://api.github.com/repos/clanghout/Health-Informatics-3/releases{/id}","created_at":"2015-04-23T09:44:17Z","updated_at":"2015-05-28T09:00:34Z","pushed_at":"2015-06-09T15:06:54Z","git_url":"git://github.com/clanghout/Health-Informatics-3.git","ssh_url":"git@github.com:clanghout/Health-Informatics-3.git","clone_url":"https://github.com/clanghout/Health-Informatics-3.git","svn_url":"https://github.com/clanghout/Health-Informatics-3","homepage":null,"size":16056,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162"},"html":{"href":"https://github.com/clanghout/Health-Informatics-3/pull/162"},"issue":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/162"},"comments":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/clanghout/Health-Informatics-3/statuses/59afb6d302b3106336ab21d18d758e159e7b2388"}}}}