Project

General

Profile

Story #582

Implement an object format registry

Added by Dave Vieglais over 14 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Documentation
Target version:
-
Start date:
2010-10-06
Due date:
% Done:

100%

Story Points:
Sprint:

Description

As processor (MN, CN) of DataONE content, I need to discover if a particular object format should be treated as science metadata.

  • Create a registry of object formats

  • Each entry of the registry should indicate what roles a particular object format can have.

Using a registry will help avoid creating large lists of hard coded values and ugly case statements such as:

boolean scimeta = false;
switch (sysmeta.getObjectFormat()) {
case EML_2_1_0: scimeta = true; break;
case EML_2_0_1: scimeta = true; break;
case EML_2_0_0: scimeta = true; break;
case FGDC_STD_001_1_1999: scimeta = true; break;
case FGDC_STD_001_1998: scimeta = true; break;
case NCML_2_2: scimeta = true; break;
}

Suggest a data model something like:

objectFormatList
format*
objectFormatNamespace
objectClass+ [data/metadata/fooClass]

and a method such as

ObjectClass[] getObjectClass(objectFormatNamespace)

to indicate the roles of a particular object format.

Should be implemented as part of the CN functionality.


Subtasks

Task #585: Createa schema and populate xml file for foramt registryRejectedDave Vieglais


Related issues

Related to Infrastructure - Story #1378: Adding new object formats shouldn't require buildout Closed 2011-03-29

History

#1 Updated by Dave Vieglais about 14 years ago

  • Target version deleted (CCI-1.0)
  • Milestone set to CCI-1.0

#2 Updated by Matthew Jones about 14 years ago

  • Position set to 15

#3 Updated by Dave Vieglais about 14 years ago

  • Position deleted (20)
  • Position set to 4
  • Target version set to Sprint-2010.42

#4 Updated by Dave Vieglais about 14 years ago

  • Target version deleted (Sprint-2010.42)
  • Position deleted (19)
  • Position set to 2

#5 Updated by Dave Vieglais about 14 years ago

  • Position set to 40
  • Position deleted (17)

#6 Updated by Dave Vieglais about 13 years ago

  • Position deleted (200)
  • Position set to 38

#7 Updated by Dave Vieglais about 13 years ago

  • Milestone changed from CCI-1.0 to None
  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)