[
https://issues.apache.org/jira/browse/SIS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-80:
-----------------------------------
Fix Version/s: 0.3
Assignee: Martin Desruisseaux
Description:
The {{org.apache.sis.metadata}} package contains a package-private
{{PropertyDescriptor}} class, which currently implements
{{org.opengis.parameter.ParameterDescriptor}}. The later is not really
appropriate since metadata are not parameters. A better choice would be
{{ExtendedElementInformation}} from {{org.opengis.metadata}}.
In theory, {{ExtendedElementInformation}} is only for extension to the ISO
19115 standard. However, its API appears to be also suitable as a reflection
API for ISO 19115 itself.
While the package-private class is not directly exposed to users, the interface
implemented by this class is accessible by users. So the choice of
{{ParameterDescriptor}} / {{ExtendedElementInformation}} is significant.
was:
The {{org.apache.sis.metadata}} package contains a package-private
{{PropertyDescriptor}} class, which currently implements
{{org.opengis.parameter.ParameterDescriptor}}. The later is not really
appropriate since metadata are not parameters. The
{{org.opengis.feature.type.PropertyDescriptor}} interface would probably be
more appropriate. However the feature packages are not yet part of GeoAPI
standard (they are still in the pending part), while {{ParameterDescriptor}} is
part of GeoAPI 3.0.0.
While the package-private class is not directly exposed to users, the interface
implemented by this class is accessible by users. So the choice of
{{ParameterDescriptor}} / {{PropertyDescriptor}} is significant. For now we
stick on {{ParameterDescriptor}}, but a future Apache SIS version may need a
transition path to features.
Summary: PropertyDescriptor to implement ExtendedElementInformation
(was: org.apache.sis.metadata.PropertyDescriptor to implement
org.opengis.feature.type.PropertyDescriptor)
> PropertyDescriptor to implement ExtendedElementInformation
> ----------------------------------------------------------
>
> Key: SIS-80
> URL: https://issues.apache.org/jira/browse/SIS-80
> Project: Spatial Information Systems
> Issue Type: Task
> Components: Metadata
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Minor
> Fix For: 0.3
>
>
> The {{org.apache.sis.metadata}} package contains a package-private
> {{PropertyDescriptor}} class, which currently implements
> {{org.opengis.parameter.ParameterDescriptor}}. The later is not really
> appropriate since metadata are not parameters. A better choice would be
> {{ExtendedElementInformation}} from {{org.opengis.metadata}}.
> In theory, {{ExtendedElementInformation}} is only for extension to the ISO
> 19115 standard. However, its API appears to be also suitable as a reflection
> API for ISO 19115 itself.
> While the package-private class is not directly exposed to users, the
> interface implemented by this class is accessible by users. So the choice of
> {{ParameterDescriptor}} / {{ExtendedElementInformation}} is significant.
--
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