com.ontotext.ordi.trree
Class TRREEWrapper

java.lang.Object
  extended by com.ontotext.ordi.trree.TRREEWrapper
All Implemented Interfaces:
com.ontotext.trree.owlim_ext.AbstractRepository

public class TRREEWrapper
extends Object
implements com.ontotext.trree.owlim_ext.AbstractRepository


Field Summary
 
Fields inherited from interface com.ontotext.trree.owlim_ext.AbstractRepository
AXIOM_STATEMENT_STATUS, DELETED_STATEMENT_STATUS, EXPLICIT_STATEMENT_STATUS, INFERRED_STATEMENT_STATUS
 
Constructor Summary
TRREEWrapper(com.ontotext.trree.owlim_ext.AbstractRepository repository, com.ontotext.trree.owlim_ext.EntityPool pool)
           
 
Method Summary
 void addListener(com.ontotext.trree.owlim_ext.Notify arg)
           
 void clear()
          TRREE method implementation
 Iterator getContexts()
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getExplicitStatements(int subj, int pred, int obj)
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getExplicitStatements(int subj, int pred, int obj, int context)
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getFromQuadSet(int quadset)
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getFromQuadSet(int subj, int pred, int obj, int context, int quadSet)
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getInferStatementIterator()
           
 Listener getListener()
           
 int[] getMappedQuadSets(int subj, int pred, int obj, int context)
           
 int getNumberOfExplicitStatements()
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getReinferStatementIterator()
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getStatements(int subj, int pred, int obj)
           
 com.ontotext.trree.owlim_ext.StatementIdIterator getStatements(int subj, int pred, int obj, int context)
           
 com.ontotext.trree.owlim_ext.AbstractRepository getWrappedRepository()
           
 boolean hasStatement(int subj, int pred, int obj)
           
 boolean hasStatement(int subj, int pred, int obj, int context)
           
 void initialize(Map params)
           
 boolean isRecoveredSuccessfully()
           
 boolean isRestoredFromPersistence()
           
 boolean mapToQuadSet(int subj, int pred, int obj, int context, int quadset)
           
 boolean putStatement(int subj, int pred, int obj, byte status)
           
 boolean putStatement(int subj, int pred, int obj, int context)
           
 void removeListener(com.ontotext.trree.owlim_ext.Notify arg)
           
 boolean removeMappingFromQuadSet(int subj, int pred, int obj, int context, int quadset)
           
 int removeStatements(int subj, int pred, int obj)
           
 int removeStatements(int subj, int pred, int obj, int context)
           
 void setInferencer(com.ontotext.trree.owlim_ext.AbstractInferencer infer)
           
 void setListener(Listener listener)
           
 void setSystemNodes(int rdf_type, int rdfs_Resource, int rdf_Property, int rdfs_subPropertyOf, int owl_sameAs, int rdfs_subClassOf, int owl_SymmetricProperty, int owl_TransitiveProperty, int owl_equivalentProperty, int owl_equivalentClass)
           
 void shutdown()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRREEWrapper

public TRREEWrapper(com.ontotext.trree.owlim_ext.AbstractRepository repository,
                    com.ontotext.trree.owlim_ext.EntityPool pool)
Method Detail

getWrappedRepository

public com.ontotext.trree.owlim_ext.AbstractRepository getWrappedRepository()

setListener

public void setListener(Listener listener)

getListener

public Listener getListener()

clear

public void clear()
TRREE method implementation

Specified by:
clear in interface com.ontotext.trree.owlim_ext.AbstractRepository

getExplicitStatements

public com.ontotext.trree.owlim_ext.StatementIdIterator getExplicitStatements(int subj,
                                                                              int pred,
                                                                              int obj)
Specified by:
getExplicitStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

getExplicitStatements

public com.ontotext.trree.owlim_ext.StatementIdIterator getExplicitStatements(int subj,
                                                                              int pred,
                                                                              int obj,
                                                                              int context)
Specified by:
getExplicitStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

getFromQuadSet

public com.ontotext.trree.owlim_ext.StatementIdIterator getFromQuadSet(int subj,
                                                                       int pred,
                                                                       int obj,
                                                                       int context,
                                                                       int quadSet)
Specified by:
getFromQuadSet in interface com.ontotext.trree.owlim_ext.AbstractRepository

getFromQuadSet

public com.ontotext.trree.owlim_ext.StatementIdIterator getFromQuadSet(int quadset)
Specified by:
getFromQuadSet in interface com.ontotext.trree.owlim_ext.AbstractRepository

getInferStatementIterator

public com.ontotext.trree.owlim_ext.StatementIdIterator getInferStatementIterator()
Specified by:
getInferStatementIterator in interface com.ontotext.trree.owlim_ext.AbstractRepository

getMappedQuadSets

public int[] getMappedQuadSets(int subj,
                               int pred,
                               int obj,
                               int context)
Specified by:
getMappedQuadSets in interface com.ontotext.trree.owlim_ext.AbstractRepository

getNumberOfExplicitStatements

public int getNumberOfExplicitStatements()
Specified by:
getNumberOfExplicitStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

getReinferStatementIterator

public com.ontotext.trree.owlim_ext.StatementIdIterator getReinferStatementIterator()
Specified by:
getReinferStatementIterator in interface com.ontotext.trree.owlim_ext.AbstractRepository

getStatements

public com.ontotext.trree.owlim_ext.StatementIdIterator getStatements(int subj,
                                                                      int pred,
                                                                      int obj)
Specified by:
getStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

getStatements

public com.ontotext.trree.owlim_ext.StatementIdIterator getStatements(int subj,
                                                                      int pred,
                                                                      int obj,
                                                                      int context)
Specified by:
getStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

hasStatement

public boolean hasStatement(int subj,
                            int pred,
                            int obj)
Specified by:
hasStatement in interface com.ontotext.trree.owlim_ext.AbstractRepository

hasStatement

public boolean hasStatement(int subj,
                            int pred,
                            int obj,
                            int context)
Specified by:
hasStatement in interface com.ontotext.trree.owlim_ext.AbstractRepository

initialize

public void initialize(Map params)
Specified by:
initialize in interface com.ontotext.trree.owlim_ext.AbstractRepository

mapToQuadSet

public boolean mapToQuadSet(int subj,
                            int pred,
                            int obj,
                            int context,
                            int quadset)
Specified by:
mapToQuadSet in interface com.ontotext.trree.owlim_ext.AbstractRepository

putStatement

public boolean putStatement(int subj,
                            int pred,
                            int obj,
                            byte status)
Specified by:
putStatement in interface com.ontotext.trree.owlim_ext.AbstractRepository

putStatement

public boolean putStatement(int subj,
                            int pred,
                            int obj,
                            int context)
Specified by:
putStatement in interface com.ontotext.trree.owlim_ext.AbstractRepository

removeMappingFromQuadSet

public boolean removeMappingFromQuadSet(int subj,
                                        int pred,
                                        int obj,
                                        int context,
                                        int quadset)
Specified by:
removeMappingFromQuadSet in interface com.ontotext.trree.owlim_ext.AbstractRepository

removeStatements

public int removeStatements(int subj,
                            int pred,
                            int obj)
Specified by:
removeStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

removeStatements

public int removeStatements(int subj,
                            int pred,
                            int obj,
                            int context)
Specified by:
removeStatements in interface com.ontotext.trree.owlim_ext.AbstractRepository

setInferencer

public void setInferencer(com.ontotext.trree.owlim_ext.AbstractInferencer infer)
Specified by:
setInferencer in interface com.ontotext.trree.owlim_ext.AbstractRepository

setSystemNodes

public void setSystemNodes(int rdf_type,
                           int rdfs_Resource,
                           int rdf_Property,
                           int rdfs_subPropertyOf,
                           int owl_sameAs,
                           int rdfs_subClassOf,
                           int owl_SymmetricProperty,
                           int owl_TransitiveProperty,
                           int owl_equivalentProperty,
                           int owl_equivalentClass)
Specified by:
setSystemNodes in interface com.ontotext.trree.owlim_ext.AbstractRepository

shutdown

public void shutdown()
Specified by:
shutdown in interface com.ontotext.trree.owlim_ext.AbstractRepository

size

public int size()
Specified by:
size in interface com.ontotext.trree.owlim_ext.AbstractRepository

isRestoredFromPersistence

public boolean isRestoredFromPersistence()
Specified by:
isRestoredFromPersistence in interface com.ontotext.trree.owlim_ext.AbstractRepository

isRecoveredSuccessfully

public boolean isRecoveredSuccessfully()
Specified by:
isRecoveredSuccessfully in interface com.ontotext.trree.owlim_ext.AbstractRepository

removeListener

public void removeListener(com.ontotext.trree.owlim_ext.Notify arg)
Specified by:
removeListener in interface com.ontotext.trree.owlim_ext.AbstractRepository

addListener

public void addListener(com.ontotext.trree.owlim_ext.Notify arg)
Specified by:
addListener in interface com.ontotext.trree.owlim_ext.AbstractRepository

getContexts

public Iterator getContexts()
Specified by:
getContexts in interface com.ontotext.trree.owlim_ext.AbstractRepository


Copyright © 2008. All Rights Reserved.