[ https://issues.apache.org/jira/browse/SIS-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux resolved SIS-81.
------------------------------------
Resolution: Won't Fix
Will not fix. The current API works since SIS 0.3 and the needs for a different API is not
yet obvious at this stage.
Additionally, the current method signatures ({{isModifiable()}}, {{unmodifiable()}}, {{freeze()}})
make more obvious that those methods perform operations and are not just getter and setter
for a "state" property. Since subclasses provide lot of getters and setters, this distinction
may be useful.
> 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
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Fix For: 0.7
>
>
> 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
(v6.3.4#6332)
|