myRDF.model
Class Model

java.lang.Object
  extended bymyRDF.model.Model

public class Model
extends java.lang.Object


Field Summary
protected  java.lang.String namespaceURI
           
protected  StatementPool statementPool
           
protected  java.util.HashSet statements
           
protected  java.util.HashSet subjects
           
 
Constructor Summary
Model(java.lang.String namespaceURI, StatementPool statementPool)
           
 
Method Summary
 void addStatement(Statement statement)
           
 void addStatement(java.lang.String subject, java.lang.String predicate, java.lang.String object)
           
 void addStatements(Statement[] statement)
           
 void delete()
           
 java.lang.String getNamespace()
           
 StatementPool getStatementPool()
           
 java.util.Collection getSubjects()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespaceURI

protected java.lang.String namespaceURI

statements

protected java.util.HashSet statements

subjects

protected java.util.HashSet subjects

statementPool

protected StatementPool statementPool
Constructor Detail

Model

public Model(java.lang.String namespaceURI,
             StatementPool statementPool)
      throws java.lang.Exception
Method Detail

delete

public void delete()

getStatementPool

public StatementPool getStatementPool()

getNamespace

public java.lang.String getNamespace()

addStatements

public void addStatements(Statement[] statement)

addStatement

public void addStatement(Statement statement)

addStatement

public void addStatement(java.lang.String subject,
                         java.lang.String predicate,
                         java.lang.String object)

getSubjects

public java.util.Collection getSubjects()


Copyright © 2001-2004 University of Hannover. All Rights Reserved.