Hello,

Here is a new update on the DataStore API to provide more informations.

So far we have 'FeatureSet' and 'Aggregate' types which can support writing operations with methods 'add', 'remove', 'update', ... but it is often required to have this information before we even try to write anything.

To provide this information and many more in the future we had a discussion with martin and we propose the following :
- A new CodeList called 'Capability'
- Resource has a new method Set<Capability> getCapabilities()

For now there is only a 'WRITABLE' capability but in the future we may add others such as 'IMMUTABLE'. A CodeList unlike an Enum allows custom implementations to add new Capabilities without modifying SIS.

A first commit has been pushed on trunk.

Johann



Reply via email to