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

pcdm:Collections, pcdm:Objects and pcdm:Files enforce behavior rules #23

Closed
10 of 18 tasks
flyingzumwalt opened this issue May 4, 2015 · 3 comments
Closed
10 of 18 tasks
Assignees

Comments

@flyingzumwalt
Copy link
Member

Note: If it's not possible to enforce these rules on Files for some reason, call it out on the scrum.

Object Behavior Rules

  • Hydra::PCDM::Object can aggregate (pcdm:hasMember) Hydra::PCDM::Object
  • Hydra::PCDM::Object can aggregate (ore:aggregates) Hydra::PCDM::Object (Object related to the Object)
  • Hydra::PCDM::Object can contain (pcdm:hasFile) Hydra::PCDM::File
  • Hydra::PCDM::Object can contain (pcdm:hasRelatedFile) Hydra::PCDM::File
  • Hydra::PCDM::Object can NOT aggregate Hydra::PCDM::Collection
  • Hydra::PCDM::Object can NOT aggregate non-PCDM object
  • Hydra::PCDM::Object can have descriptive metadata
  • Hydra::PCDM::Object can have access metadata

File Behavior Rules

  • N/A - PCDM::File can NOT aggregate anything (no aggregation, so nothing to test)
  • N/A - PCDM::File can NOT contain PCDM::File (no contains association defined, so nothing to test)
  • PCDM::File can have technical metadata about one uploaded binary file

Collection Behavior Rules

  • Hydra::PCDM::Collection can aggregate (pcdm:hasMember) Hydra::PCDM::Collection
  • Hydra::PCDM::Collection can aggregate (pcdm:hasMember) Hydra::PCDM::Object
  • Hydra::PCDM::Collection can aggregate (ore:aggregates) Hydra::PCDM::Object (Object related to the Collection)
  • Hydra::PCDM::Collection can NOT aggregate non-PCDM object
  • Hydra::PCDM::Collection can NOT contain Hydra::PCDM::File
  • Hydra::PCDM::Collection can have descriptive metadata
  • Hydra::PCDM::Collection can have access metadata
@flyingzumwalt flyingzumwalt added this to the May Hydra PCDM milestone May 4, 2015
awead added a commit that referenced this issue May 6, 2015
Addresses most of the collections behavior rules in #23, excepting
points 5 and 6.
awead added a commit that referenced this issue May 6, 2015
Addresses most of the collections behavior rules in #23, excepting
points 5 and 6.
@awead awead assigned elrayle and unassigned awead May 8, 2015
@elrayle
Copy link
Contributor

elrayle commented May 12, 2015

Notes:

Outstanding Questions:

  • Descriptive metadata is handled via properties set on subclasses. Should this be tested at pcdm level?
  • Access metadata is TBD

@elrayle
Copy link
Contributor

elrayle commented May 12, 2015

Questions related to descriptive and access metadata:

  • How to distinguish between descriptive and access metadata?
  • Are there any default properties to set for Collection's descriptive metadata?
  • Are there any default properties to set for Collection's access metadata?
  • Is there a way to override default properties defined in this class?

@elrayle
Copy link
Contributor

elrayle commented May 13, 2015

Per scrum call...

  • descriptive metadata is tested at the active-fedora level for properties and can be tested at a level beyond Hydra:Works where properties are defined
  • access metadata will be tested under a separate ticket

Remaining unchecked items will be tested separately. See notes in previous comment.

Closing this issue.

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

3 participants