You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (JIRA)" <ji...@apache.org> on 2018/06/30 15:46:00 UTC

[jira] [Resolved] (SIS-81) Replace ModifiableMetadata.isModifiable() by an enum

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

Martin Desruisseaux resolved SIS-81.
------------------------------------
    Resolution: Fixed

Done on {{geoapi-4.0}} branch. Does not include yet the {{STAGED}} proposal.

> Replace ModifiableMetadata.isModifiable() by an enum
> ----------------------------------------------------
>
>                 Key: SIS-81
>                 URL: https://issues.apache.org/jira/browse/SIS-81
>             Project: Spatial Information Systems
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Major
>             Fix For: 1.0
>
>
> The {{ModifiableMetadata}} abstract class provides a {{isModifiable()}} method which currently returns a {{boolean}} value. The boolean value should be replaced by an enumeration containing the following values (for now):
> * {{EDITABLE}}
> * {{APPENDABLE}}
> * {{FINAL}}
> The new functionality is the {{APPENDABLE}} value, which would be like {{EDITABLE}} except that only new values could be set; an exception would be thrown on attempt to modify an existing value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)