Package com.complexible.stardog.api
Interface NamespacesInfo
-
- All Superinterfaces:
java.lang.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
addandremovefunctions.Changes done on the returned
NamespacesInfoinstance 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
-
-
Field Summary
-
Fields inherited from interface com.stardog.stark.Namespaces
BASE_URI, DC, DEFAULT, EXTENDED, FOAF, OWL, PROV, RDF, RDFA_INIT_CONTEXT, RDFS, SCHEMA_ORG, SHACL, SKOS, STARDOG, STARDOG_SHACL, SWRL, SWRLB, XSD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanadd(Namespace theNS)default booleanadd(Namespaces theNS)default booleanadd(java.lang.String thePrefix, java.lang.String theIRI)default booleanremove(Namespace theNS)default booleanremove(Namespaces theNS)booleanremove(java.lang.String thePrefix)-
Methods inherited from interface com.stardog.stark.Namespaces
iri, map, prefix, stream
-
-
-
-
Method Detail
-
add
default boolean add(java.lang.String thePrefix, java.lang.String theIRI)
-
add
boolean add(Namespace theNS)
-
add
default boolean add(Namespaces theNS)
-
remove
boolean remove(java.lang.String thePrefix)
-
remove
default boolean remove(Namespace theNS)
-
remove
default boolean remove(Namespaces theNS)
-
-