{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra-labs/hydra-pcdm/issues/89","labels_url":"https://api.github.com/repos/projecthydra-labs/hydra-pcdm/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra-labs/hydra-pcdm/issues/89/comments","events_url":"https://api.github.com/repos/projecthydra-labs/hydra-pcdm/issues/89/events","html_url":"https://github.com/projecthydra-labs/hydra-pcdm/issues/89","id":76109209,"number":89,"title":"change type specific getters to return AssociationProxy","user":{"login":"elrayle","id":6855473,"avatar_url":"https://avatars.githubusercontent.com/u/6855473?v=3","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T20:15:44Z","updated_at":"2015-05-13T20:26:58Z","closed_at":null,"body":"Modify type specific setters to return AssociationProxy which reponds to #=, #==, #<<, etc\r\n\r\nExample change for Collection...\r\n```\r\nAssociationProxy.new(self, :collections)\r\n```\r\n\r\nAlso remove the companion setter methods.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/projecthydra-labs/hydra-pcdm/issues/comments/101805596","html_url":"https://github.com/projecthydra-labs/hydra-pcdm/issues/89#issuecomment-101805596","issue_url":"https://api.github.com/repos/projecthydra-labs/hydra-pcdm/issues/89","id":101805596,"user":{"login":"flyingzumwalt","id":138930,"avatar_url":"https://avatars.githubusercontent.com/u/138930?v=3","gravatar_id":"","url":"https://api.github.com/users/flyingzumwalt","html_url":"https://github.com/flyingzumwalt","followers_url":"https://api.github.com/users/flyingzumwalt/followers","following_url":"https://api.github.com/users/flyingzumwalt/following{/other_user}","gists_url":"https://api.github.com/users/flyingzumwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingzumwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingzumwalt/subscriptions","organizations_url":"https://api.github.com/users/flyingzumwalt/orgs","repos_url":"https://api.github.com/users/flyingzumwalt/repos","events_url":"https://api.github.com/users/flyingzumwalt/events{/privacy}","received_events_url":"https://api.github.com/users/flyingzumwalt/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T20:26:58Z","updated_at":"2015-05-13T20:26:58Z","body":"terrellt I like that idea, so then you could have a class look like this\r\n\r\n```ruby\r\naggregates :members, predicate: RDFVocabularies::PCDMTerms.hasMember,\r\n        class_name: \"ActiveFedora::Base\"\r\naggregation_filter :collections, :members, type: \"Collection\"\r\n```\r\n(or something like that...)"}}