{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3853","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3853/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3853/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3853/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3853","id":65837576,"number":3853,"title":"Case insensitivity: OClass.propertiesMap()","user":{"login":"PhantomYdn","id":1199285,"avatar_url":"https://avatars.githubusercontent.com/u/1199285?v=3","gravatar_id":"","url":"https://api.github.com/users/PhantomYdn","html_url":"https://github.com/PhantomYdn","followers_url":"https://api.github.com/users/PhantomYdn/followers","following_url":"https://api.github.com/users/PhantomYdn/following{/other_user}","gists_url":"https://api.github.com/users/PhantomYdn/gists{/gist_id}","starred_url":"https://api.github.com/users/PhantomYdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhantomYdn/subscriptions","organizations_url":"https://api.github.com/users/PhantomYdn/orgs","repos_url":"https://api.github.com/users/PhantomYdn/repos","events_url":"https://api.github.com/users/PhantomYdn/events{/privacy}","received_events_url":"https://api.github.com/users/PhantomYdn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/17","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.2","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/17/labels","id":613160,"number":17,"title":"2.2","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":255,"closed_issues":66,"state":"open","created_at":"2014-03-28T13:17:36Z","updated_at":"2015-09-23T07:04:58Z","due_on":"2015-10-06T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-04-02T04:50:00Z","updated_at":"2015-09-23T07:19:14Z","closed_at":null,"body":"For almost all properties methods OrientDB use case insensitive approach. For example the following calls will return the same(prerequisite: myClass has \"mySuperProperty\" property):\r\n\r\n```java\r\nmyClass.getProperty(\"mySuperProperty\");\r\nmyClass.getProperty(\"mysuperproperty\");\r\nmyClass.getProperty(\"MYSUPERPROPERTY\");\r\n```\r\n\r\nbut OClass.propertiesMap() will return HashMap with property name as an key. So only first call from the following will return not null;\r\n\r\n```java\r\nmyClass.propertiesMap().get(\"mySuperProperty\");\r\nmyClass.propertiesMap().get(\"mysuperproperty\");\r\nmyClass.propertiesMap().get(\"MYSUPERPROPERTY\");\r\n```\r\n\r\nWhat's the idea to have such map? Might be it's better to make all keys lower case? Otherwise it's hard to use this method in reality... What do you think?"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/142517865","html_url":"https://github.com/orientechnologies/orientdb/issues/3853#issuecomment-142517865","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3853","id":142517865,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T07:19:14Z","updated_at":"2015-09-23T07:19:14Z","body":"Properties are case sensitive, so it's correct if you want all the properties that they are returned with their name. Example: `dateOfBirth`"}}