-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issue 14: Add initial FilesXml and Metadata classes #23
Conversation
val AVAILABLE: DcTermsElementType = Value | ||
val BIBLIOGRAPHIC_CITATION: DcTermsElementType = Value("bibliographicCitation") | ||
val CONFORMS_TO: DcTermsElementType = Value("conformsTo") | ||
// val CONTRIBUTOR: DcTermsElementType = Value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are already defined in the dc-realm.
val DEU: XmlLang = Value | ||
} | ||
|
||
object DcTermsElementType extends Enumeration { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not limited to FilesXml but also applies to DatasestXml so put it in a separate file. It is not even limited to V0 so put it in another package.
// val DATE: DcTermsElementType = Value | ||
val DATE_ACCEPTED: DcTermsElementType = Value("dateAccepted") | ||
val DATE_COPYRIGHTED: DcTermsElementType = Value("dateCopyrighted") | ||
val DATE_SUBMITTED: DcTermsElementType = Value("dateSubmitted") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not even considering the overall approach, this is a too big unstructured pile of types.
How to reuse (for example) dates by the deposit-api other enums in the same dm package of the api, relation types and whatever?
This has been open for more than a year now. We still need to decide how to implement this, but so far we haven't done anything with it. Closing this PR for now. |
fixes #14
When applied it will
Where should the reviewer @DANS-KNAW/easy start?