Skip to content
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

DAO experiment getters #30

Open
petrmiko opened this issue Mar 15, 2013 · 0 comments
Open

DAO experiment getters #30

petrmiko opened this issue Mar 15, 2013 · 0 comments

Comments

@petrmiko
Copy link
Contributor

There are multiple getters for experiments from person object and from experimentDao with on first sight unclear or even redundant purpose.

For example, in Person object, there is a method getExperiments which returns only some experiments - but not experiments which user owns, such experiments must be obtained by using method getExperimentsForOwnerId. Moreover, for experiments, where is user a subject there is method of getExperimentsForSubjectId.

Bottom line - there is unclear when and where use which method in order to obtained desired data. This may not be a problem not only for experiments data type, but other types as well, this is only an example I've been facing recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant