[
https://issues.apache.org/jira/browse/SIS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-124:
------------------------------------
Description:
According the schema shows at
http://www.schemacentral.com/sc/niem21/t-gmd_PT_FreeText_PropertyType.html a
{{PT_FreeText}} can contains either a {{CharacterString}} or various code
lists. However current SIS implementation accepts only a {{CharacterString}}.
We need to accept code list as-well. We can do that by adding some
{{getCodeList()}} method in the Geotk {{PT_FreeText}} class. Only one of
{{getCodeList()}} and {{getCharacterString()}} methods can return a non-null
value.
was:
According the schema shows at
http://www.schemacentral.com/sc/niem21/t-gmd_PT_FreeText_PropertyType.html a
{{PT_FreeText}} can contains either a {{CharacterString}} or various code
lists. However current Geotk implementation accepts only a {{CharacterString}}.
We need to accept code list as-well. We can do that by adding some
{{getCodeList()}} method in the Geotk {{PT_FreeText}} class. Only one of
{{getCodeList()}} and {{getCharacterString()}} methods can return a non-null
value.
> PT_FreeText should be able to marshall a CodeList instead than the
> CharacterString
> ----------------------------------------------------------------------------------
>
> Key: SIS-124
> URL: https://issues.apache.org/jira/browse/SIS-124
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Metadata
> Affects Versions: 0.3, 0.4, 0.5, 0.6
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Minor
> Fix For: 0.7
>
>
> According the schema shows at
> http://www.schemacentral.com/sc/niem21/t-gmd_PT_FreeText_PropertyType.html a
> {{PT_FreeText}} can contains either a {{CharacterString}} or various code
> lists. However current SIS implementation accepts only a {{CharacterString}}.
> We need to accept code list as-well. We can do that by adding some
> {{getCodeList()}} method in the Geotk {{PT_FreeText}} class. Only one of
> {{getCodeList()}} and {{getCharacterString()}} methods can return a non-null
> value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)