WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:Jena Model
Description:Jena RDF object model
Id:org.netkernel.rdf.jena.rep.IRepJenaModel
Category:representation
Interface

Jena Model is a representation implemented by the Java class/interface org.netkernel.rdf.jena.rep.IRepJenaModel.

Javadoc may be available but not built for this representation. Build here.

Import Requirements

To use Jena Model representation you must import the module urn:org:netkernel:rdf:jena:

<import>
  <uri>urn:org:netkernel:rdf:jena</uri>
</import>

The tools and services of this RDF/Jena library use the IRepJenaModel as the common representation type.

It is a wrapper over the Jena Model. It ensures that the underlying Model is marked to be used only in a readonly immutable manner (getReadOnly) or is safely cloned if mutation is to be performed (getModel).

public interface IRepJenaModel
{ /**
   * Get the RDF Model - this must be for readonly operations
   * it is not safe to modify this model.
   */
  Model getModelReadOnly();

  /**
   * Get a clone of the RDF Model - the returned model is
   * mutable and safe for updates.
   */
  Model getModel();
}