{"action":"created","issue":{"url":"https://api.github.com/repos/mtedone/podam/issues/118","labels_url":"https://api.github.com/repos/mtedone/podam/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/mtedone/podam/issues/118/comments","events_url":"https://api.github.com/repos/mtedone/podam/issues/118/events","html_url":"https://github.com/mtedone/podam/issues/118","id":94894587,"number":118,"title":"A Pojo does not need to have getters and setters, but fields are not set by Podam","user":{"login":"convoi","id":917169,"avatar_url":"https://avatars.githubusercontent.com/u/917169?v=3","gravatar_id":"","url":"https://api.github.com/users/convoi","html_url":"https://github.com/convoi","followers_url":"https://api.github.com/users/convoi/followers","following_url":"https://api.github.com/users/convoi/following{/other_user}","gists_url":"https://api.github.com/users/convoi/gists{/gist_id}","starred_url":"https://api.github.com/users/convoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convoi/subscriptions","organizations_url":"https://api.github.com/users/convoi/orgs","repos_url":"https://api.github.com/users/convoi/repos","events_url":"https://api.github.com/users/convoi/events{/privacy}","received_events_url":"https://api.github.com/users/convoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T08:31:55Z","updated_at":"2015-07-14T22:18:31Z","closed_at":null,"body":"Take this class for example.\r\n```java\r\npublic class NoSetters implements Serializable{\r\n    private Date date;\r\n    public NoSetters() {}\r\n\r\n    public void init() {\r\n        date = new Date();\r\n    }\r\n\r\n    public Date getDate() {\r\n        return date;\r\n    }\r\n}\r\n```\r\nPodam fails to populate the date field.\r\nI'm wondering why podam seems to rely on getters and setters at all an not just use reflection to scan for fields and then set these fields via reflection.\r\nFrom the name and description i would expect it to not rely on setters and getters to even exist.\r\n>PODAM - POjo DAta Mocker\r\n>Podam (http://mtedone.github.io/podam/) is a Java testing tool which auto-fills POJOs with made-up data.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mtedone/podam/issues/comments/121408993","html_url":"https://github.com/mtedone/podam/issues/118#issuecomment-121408993","issue_url":"https://api.github.com/repos/mtedone/podam/issues/118","id":121408993,"user":{"login":"mtedone","id":366368,"avatar_url":"https://avatars.githubusercontent.com/u/366368?v=3","gravatar_id":"","url":"https://api.github.com/users/mtedone","html_url":"https://github.com/mtedone","followers_url":"https://api.github.com/users/mtedone/followers","following_url":"https://api.github.com/users/mtedone/following{/other_user}","gists_url":"https://api.github.com/users/mtedone/gists{/gist_id}","starred_url":"https://api.github.com/users/mtedone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtedone/subscriptions","organizations_url":"https://api.github.com/users/mtedone/orgs","repos_url":"https://api.github.com/users/mtedone/repos","events_url":"https://api.github.com/users/mtedone/events{/privacy}","received_events_url":"https://api.github.com/users/mtedone/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T22:18:31Z","updated_at":"2015-07-14T22:18:31Z","body":"First, Podam was created as a tool to fill in JavaBeans, which need to have getters and setters. Secondly, we've added support for a number of cases to accommodate more generic POJOs, e.g. full constructors and also the ability to specify your own methods to fill in attributes. So users have got all they need to circumvent JavaBean standards as long as they use the library properly."}}