sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SIS-84) Setter methods in metadata objects shall check for ISO 19115 constraints
Date Sat, 08 Jun 2013 04:11:25 GMT

     [ https://issues.apache.org/jira/browse/SIS-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris A. Mattmann updated SIS-84:
---------------------------------

    Fix Version/s:     (was: 0.3)
                   0.4
    
> Setter methods in metadata objects shall check for ISO 19115 constraints
> ------------------------------------------------------------------------
>
>                 Key: SIS-84
>                 URL: https://issues.apache.org/jira/browse/SIS-84
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Metadata
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>             Fix For: 0.4
>
>
> 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}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message