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

Metadata #5

Open
espenak opened this issue Jun 16, 2009 · 0 comments
Open

Metadata #5

espenak opened this issue Jun 16, 2009 · 0 comments
Labels

Comments

@espenak
Copy link
Member

espenak commented Jun 16, 2009

For interaction with other systems, and with plugins, we will need to provide some way to store additional information in the system. I propose a system where each Node, Subject, Period, Delivery and DeliveryCandidate can have metadata.

I propose three types of metadata:

  • BLOB (Binary data).
  • String (Short string. Use BLOB for larger amounts of information).
  • List of strings.

Each metadata associated with a Object (Node, Delivery...) should be accessible using unique keys (strings), which will typically be prefixed with the package name of the plugin. It will probably be useful to have a displayName in addition to the key, but it might also add an extra layer of complexity (displayName crashes..).

This should be quite simple to implement using JPA.

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

No branches or pull requests

1 participant