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
Helper method for setting required fields (e.g. distributorContact) on a dataset version #761
Comments
There are already some generic helper methods (and I had updated the sword code to use). @pdurbin do you feel we need more? |
We don't have what I wished for above... the code looks more like this...
... which is better but still a fair amount of code for adding a value, in my opinion. I'll give this back to @scolapasta since he asked me to comment. Do with this ticket what you will. It certainly isn't user-facing. :) |
OK, we'll consider for later, if we need anything more. |
this is cobol:)
|
Passing to QA to close (@kcondon) per @scolapasta |
Closing |
@sekmiller and I just discussed how it would probably be worthwhile to have a helper method to set fields that are required, such as title, authorName, distributorContact, dsDescription, and subject.
That is, I'd love to have something like
newDatasetVersion.setTitle("fooTitle");
rather than...
(which I was doing
dataverse/src/main/java/edu/harvard/iq/dataverse/api/datadeposit/CollectionDepositManagerImpl.java
Line 143 in 5226693
The text was updated successfully, but these errors were encountered: