New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setter methods removed in 1.5 #354

Closed
rahulsom opened this Issue Apr 29, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@rahulsom

rahulsom commented Apr 29, 2016

In the 1.4 api, one could do something like

def claim = new Claim().
    setIdentifier(identifiers.collect{new IdentifierDt(...)}).
    setCondition(conditions.collect{new CodingDt(...)})

It appears the setter methods have been removed in 1.5 and the only way to do that is using addIdentifier and addCondition.

Can you bring back the setter methods that allow one to set the whole collection?
For those of us who prefer a functional style of programming, that is very helpful.

Thanks!

@jamesagnew jamesagnew closed this in 9b55d00 May 2, 2016

@jamesagnew

This comment has been minimized.

Owner

jamesagnew commented May 2, 2016

Hi Rahul,

Thanks for the suggestion. These have been re-added to the DSTU3 structures, and will be in the next snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment