Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-84

Setter methods in metadata objects shall check for ISO 19115 constraints

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1.0, 1.1
    • None
    • Metadata
    • None

    Description

      Setter methods in ISOMetadata subclasses shall enforce the ISO 19115 restriction. This include:

      • Everywhere a @ValueRange annotation is present, add a runtime check for the same range of values.
      • For every property flagged as CONDITIONAL for a reason other than union, implement a check for that reason (case-by-case basis). For example:
        • MD_ExtendedElementInformation allows a non-null domainCode only if dataType is CODE_LIST_ELEMENT.
        • MD_ExtendedElementInformation allows a non-null condition only if obligation is CONDITIONAL.
        • MD_LegalConstraints allows a non-empty otherConstraints only if accessConstraintsaccessConstraints or useConstraints is OTHER_RESTRICTIONS.
        • LI_Lineage allows a non-null statement only if the scope level is SERIES.
        • DQ_DataQuality allows non-null reports and lineage only if the scope level is DATASET.
        • DQ_Scope allows a non-null levelDescription only if level is neither DATASET or SERIES.

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: