Interface NamespacesInfo

All Superinterfaces:
Iterable<Namespace>, Namespaces

public interface NamespacesInfo extends Namespaces

The namespaces stored in a database. If the logged in user also has write access to database metadata, returned namespaces can be modified through add and remove functions.

Changes done on the returned NamespacesInfo instance will be applied to database metadata immediately. However, since this function returns a snapshot of stored namespaces and applies changes to the local copy before applying them to the database metadata, concurrent updates of namespaces might result in changes performed by one connection to be overridden by another connection.

A new snapshot is retrieved every time this function is called which will take into account any changes that have occurred before this call.

Since:
1.0
Version:
1.0
Author:
Michael Grove
  • Method Details

    • add

      default boolean add(String thePrefix, String theIRI)
    • add

      boolean add(Namespace theNS)
    • add

      default boolean add(Namespaces theNS)
    • remove

      boolean remove(String thePrefix)
    • remove

      default boolean remove(Namespace theNS)
    • remove

      default boolean remove(Namespaces theNS)