Java Doc for ModelRDB.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » db » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.db 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.hp.hpl.jena.enhanced.Polymorphic
      com.hp.hpl.jena.enhanced.EnhGraph
         com.hp.hpl.jena.rdf.model.impl.ModelCom
            com.hp.hpl.jena.db.ModelRDB

ModelRDB
public class ModelRDB extends ModelCom implements Model(Code)
A persistent relational database implemention of the RDF API.

This implementation of the RDF API stores all its data in a relational database.

To construct a persistent RDB Model, first load the jdbc connector for your database - in this example, mysql:

Class.forName("com.mysql.jdbc.Driver");

Then create a connection to the database:

IDBConnection conn = new DBConnection("jdbc:mysql://localhost/test", "test", "", "MySQL");

Now, using that connection, you can construct Models in the database:

Model m = ModelRDB.createModel(conn);
author:
   csayers (based on ModelMem written by bwm and the Jena 1 version of Model RDB by der.)
version:
   $Revision: 1.22 $


Field Summary
protected  GraphRDBm_graphRDB
    

Constructor Summary
public  ModelRDB(IDBConnection dbcon)
     Construct a model which is stored persistently in a Relational DataBase If a model already exists in the database, then it is opened, otherwise a new model with default name and formatting is inserted and opened.
public  ModelRDB(IDBConnection dbcon, String modelID)
     Construct a model which is stored persistently in a Relational DataBase If a model with the specified identifier already exists in the database, then it is opened, otherwise a new model with default formatting is inserted and opened.
public  ModelRDB(GraphPersonality p, GraphRDB graph)
     A model which is stored persistently in a Relational DataBase Most applications should not call the constructor - use ModelRDB.createModel (to create a new model) or ModelRDB.open (to open an exising model).
public  ModelRDB(GraphRDB graph)
    

Method Summary
public  voidclear()
     Remove all the statements from the database which are associated with just this model.
public  voidclose()
     Close the Model and free up resources held.

Not all implementations of Model require this method to be called.

public static  ModelRDBcreate(IDBConnection dbcon, String layoutType, String databaseType)
     Create a new database suitable for storing RDF data.
public static  ModelRDBcreate(IDBConnection dbcon, String databaseType)
     Create a new database suitable for storing RDF data.
public static  ModelRDBcreateModel(IDBConnection dbcon)
     Create a new default model on an existing database.
public static  ModelRDBcreateModel(IDBConnection dbcon, Model modelProperties)
     Create a new model on an existing database.
public static  ModelRDBcreateModel(IDBConnection dbcon, String name)
     Create a new model on an existing database.
public static  ModelRDBcreateModel(IDBConnection dbcon, String name, Model modelProperties)
     Create a new model on an existing database.
public static  voiddeleteModel(IDBConnection dbcon, String name)
     Remove a named model from an existing multi-model database.
public  IDBConnectiongetConnection()
    
public static  ModelgetDefaultModelProperties(IDBConnection dbcon)
    
public  booleangetDoDuplicateCheck()
    
public  booleangetDoFastpath()
     Get the value of DoFastpath.
public  ModelgetModelProperties()
     Returns a Jena Model containing model-specific properties.
public  booleangetQueryFullReified()
     Get the value of QueryFullReified.
public  booleangetQueryOnlyAsserted()
     Get the value of QueryOnlyAsserted.
public  booleangetQueryOnlyReified()
     Get the value of QueryOnlyReified.
public static  ExtendedIteratorlistModels(IDBConnection dbcon)
    
public  ModelloadAll()
     Loads all the statements for this model into an in-memory model.
public static  ModelRDBopen(IDBConnection dbcon)
     Open the default model from an existing rdf database.
public static  ModelRDBopen(IDBConnection dbcon, String name)
     Open an existing rdf database.
public  voidremove()
     Remove all traces of this particular Model from the database.
public  voidsetDoDuplicateCheck(boolean bool)
     Set the value of DoDuplicateCheck.
public  voidsetDoFastpath(boolean val)
     Set the value of DoFastpath.
public  voidsetDoImplicitJoin(boolean val)
     Set the value of DoImplicitJoin.
public  voidsetQueryFullReified(boolean opt)
     Set the value of QueryFullReified.
public  voidsetQueryOnlyAsserted(boolean opt)
     Set the value of QueryOnlyAsserted.
public  voidsetQueryOnlyReified(boolean opt)
     Set the value of QueryOnlyReified.

Field Detail
m_graphRDB
protected GraphRDB m_graphRDB(Code)




Constructor Detail
ModelRDB
public ModelRDB(IDBConnection dbcon) throws RDFRDBException(Code)
Construct a model which is stored persistently in a Relational DataBase If a model already exists in the database, then it is opened, otherwise a new model with default name and formatting is inserted and opened.
Parameters:
  dbcon - a Connection specifying the database connection



ModelRDB
public ModelRDB(IDBConnection dbcon, String modelID) throws RDFRDBException(Code)
Construct a model which is stored persistently in a Relational DataBase If a model with the specified identifier already exists in the database, then it is opened, otherwise a new model with default formatting is inserted and opened.
Parameters:
  dbcon - a Connection specifying the database connection
Parameters:
  modelID - is the identifier of an RDF model within the database.The modelID "DEFAULT" is reserved and may not be used for user models.



ModelRDB
public ModelRDB(GraphPersonality p, GraphRDB graph) throws RDFRDBException(Code)
A model which is stored persistently in a Relational DataBase Most applications should not call the constructor - use ModelRDB.createModel (to create a new model) or ModelRDB.open (to open an exising model).
Parameters:
  p - the GraphPersonality of the resulting Model
Parameters:
  graph - a GraphRDB to be exposed through the model interface
since:
   Jena 2.0



ModelRDB
public ModelRDB(GraphRDB graph)(Code)




Method Detail
clear
public void clear() throws RDFRDBException(Code)
Remove all the statements from the database which are associated with just this model. This no longer reformats the database (which makes it safer and useful for multi-model databases) but means that it is not guaranteed to garbage collect the resource table.



close
public void close()(Code)
Close the Model and free up resources held.

Not all implementations of Model require this method to be called. But some do, so in general its best to call it when done with the object, rather than leave it to the finalizer.




create
public static ModelRDB create(IDBConnection dbcon, String layoutType, String databaseType) throws RDFRDBException(Code)
Create a new database suitable for storing RDF data. In fact the database has to exist since jdbc can't create an empty database from a vacuum but it can be empty and this call will format it with appropriate tables and stored procedures.

The appropriate RDF-RDB driver to use is assumed to be the class Driver. If that can't be found it defaults to looking for a property file in /etc/Driver.config and uses that to determine the driver class and parameters.


Parameters:
  dbcon - a DBConnection specifying the database connection
Parameters:
  layoutType - the name of the layout style to use. Currently one of:"Generic", "Hash", "MMGeneric", "MMHash", "Proc", "ThinProc".
Parameters:
  databaseType - the name of the database type. Currently one of:"Interbase" "Postgresql" "Mysql" "Oracle". This may seem a little redundantgiven that the jdbc uri implicitly contains this information but there is nostandard way of extracting this (esp. if the user connects via a bridge).



create
public static ModelRDB create(IDBConnection dbcon, String databaseType) throws RDFRDBException(Code)
Create a new database suitable for storing RDF data. In fact the database has to exist since jdbc can't create an empty database from a vacuum but it can be empty and this call will format it with appropriate tables and stored procedures.

Uses a default layout format which is able to support multiple models in a single database.


Parameters:
  dbcon - a DBConnectionI specifying the database connection
Parameters:
  databaseType - the name of the database type. Currently one of:"Interbase" "Postgresql" "Mysql" "Oracle". This may seem a little redundantgiven that the jdbc uri implicitly contains this information but there is nostandard way of extracting this (esp. if the user connects via a bridge).



createModel
public static ModelRDB createModel(IDBConnection dbcon) throws RDFRDBException(Code)
Create a new default model on an existing database. Will format the database if it has not already been formatted.
Parameters:
  dbcon - a DBConnection specifying the database connection
since:
   Jena 2.0



createModel
public static ModelRDB createModel(IDBConnection dbcon, Model modelProperties) throws RDFRDBException(Code)
Create a new model on an existing database. Will format the database if it has not already been formatted.

Use the properties to optionally customize the model - this won't change the results you see when using the model interface, but it may alter the speed with which you get them or the space required by the underlying database.

The properties must form a complete and consistent set. The easist way to get a complete and consistent set is to call getDefaultModelProperties, modify it, and then use that as an argument in the call.


Parameters:
  dbcon - a DBConnection specifying the database connection
Parameters:
  modelProperties - a Model containing customization properties
since:
   Jena 2.0



createModel
public static ModelRDB createModel(IDBConnection dbcon, String name) throws RDFRDBException(Code)
Create a new model on an existing database. Will format the database if it has not already been formatted.
Parameters:
  dbcon - a DBConnectionI specifying the database connection
Parameters:
  name - the name to give the newly created model.The name "DEFAULT" is reserved and may not be used for user models.



createModel
public static ModelRDB createModel(IDBConnection dbcon, String name, Model modelProperties) throws RDFRDBException(Code)
Create a new model on an existing database. Will format the database if it has not already been formatted.

Use the properties to optionally customize the model - this won't change the results you see when using the model interface, but it may alter the speed with which you get them or the space required by the underlying database.

The properties must form a complete and consistent set. The easist way to get a complete and consistent set is to call getDefaultModelProperties, modify it, and then use that as an argument in the call.


Parameters:
  dbcon - a DBConnection specifying the database connection
Parameters:
  name - the name to give the newly created model.The name "DEFAULT" is reserved and may not be used for user models.
Parameters:
  modelProperties - a Model containing customization properties
since:
   Jena 2.0



deleteModel
public static void deleteModel(IDBConnection dbcon, String name) throws RDFRDBException(Code)
Remove a named model from an existing multi-model database. Will throw an RDFDBException if the database layout does not support multiple models or if the database does not seem to formated.
Parameters:
  dbcon - a DBConnectionI specifying the database connection
Parameters:
  name - the name to give the newly created model



getConnection
public IDBConnection getConnection()(Code)
A convenience function to return the connection



getDefaultModelProperties
public static Model getDefaultModelProperties(IDBConnection dbcon)(Code)
Retrieve a default set of model customization properties The returned default set of properties is suitable for use in a call to ModelRDB.create(..., modelProperties);
Parameters:
  dbcon - a DBConnectionI specifying the database connection Model containing default properties



getDoDuplicateCheck
public boolean getDoDuplicateCheck()(Code)
Get the value of DoDuplicateCheck bool boolean



getDoFastpath
public boolean getDoFastpath()(Code)
Get the value of DoFastpath. boolean



getModelProperties
public Model getModelProperties()(Code)
Returns a Jena Model containing model-specific properties. These describe the optimization/layout for this model in the database. The returned Model is a copy, modifying it will have no immediate effect on the database.
since:
   Jena 2.0



getQueryFullReified
public boolean getQueryFullReified()(Code)
Get the value of QueryFullReified. boolean



getQueryOnlyAsserted
public boolean getQueryOnlyAsserted()(Code)
Get the value of QueryOnlyAsserted. boolean



getQueryOnlyReified
public boolean getQueryOnlyReified()(Code)
Get the value of QueryOnlyReified. boolean



listModels
public static ExtendedIterator listModels(IDBConnection dbcon) throws RDFRDBException(Code)
List the names of all models stored in the database ExtendedIterator over the model names.



loadAll
public Model loadAll()(Code)
Loads all the statements for this model into an in-memory model. a ModelMem containing the whole of the RDB model



open
public static ModelRDB open(IDBConnection dbcon) throws RDFRDBException(Code)
Open the default model from an existing rdf database. The layout and datatype type information will be dynamically loaded from the database.
Parameters:
  dbcon - an IDBConnection specifying the database connection



open
public static ModelRDB open(IDBConnection dbcon, String name) throws RDFRDBException(Code)
Open an existing rdf database. The layout and datatype type information will be dynamically loaded from the database. Will throw an RDFDBException if the database does not seem to formated.
Parameters:
  dbcon - a IDBConnection specifying the database connection
Parameters:
  name - the name of the RDF model to open



remove
public void remove() throws RDFRDBException(Code)
Remove all traces of this particular Model from the database.



setDoDuplicateCheck
public void setDoDuplicateCheck(boolean bool)(Code)
Set the value of DoDuplicateCheck.
Parameters:
  bool - boolean



setDoFastpath
public void setDoFastpath(boolean val)(Code)
Set the value of DoFastpath.
Parameters:
  val - boolean



setDoImplicitJoin
public void setDoImplicitJoin(boolean val)(Code)
Set the value of DoImplicitJoin.
Parameters:
  val - boolean



setQueryFullReified
public void setQueryFullReified(boolean opt)(Code)
Set the value of QueryFullReified.
Parameters:
  opt - boolean



setQueryOnlyAsserted
public void setQueryOnlyAsserted(boolean opt)(Code)
Set the value of QueryOnlyAsserted.
Parameters:
  opt - boolean



setQueryOnlyReified
public void setQueryOnlyReified(boolean opt)(Code)
Set the value of QueryOnlyReified.
Parameters:
  opt - boolean



Fields inherited from com.hp.hpl.jena.rdf.model.impl.ModelCom
protected Map1 mapAsStatement(Code)(Java Doc)
protected ModelReifier modelReifier(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.rdf.model.impl.ModelCom
public Model abort()(Code)(Java Doc)
public GraphListener adapt(ModelChangedListener L)(Code)(Java Doc)
public Model add(Resource s, Property p, String o)(Code)(Java Doc)
public Model add(Resource s, Property p, String o, boolean wellFormed)(Code)(Java Doc)
public Model add(Resource s, Property p, String o, String lang, boolean wellFormed)(Code)(Java Doc)
public Model add(Resource s, Property p, String lex, RDFDatatype datatype)(Code)(Java Doc)
public Model add(Resource s, Property p, String o, String l)(Code)(Java Doc)
public Model add(StmtIterator iter)(Code)(Java Doc)
public Model add(Model m)(Code)(Java Doc)
public Model add(Model m, boolean suppressReifications)(Code)(Java Doc)
public Model add(Statement s)(Code)(Java Doc)
public Model add(Statement[] statements)(Code)(Java Doc)
public Model add(List statements)(Code)(Java Doc)
public Model add(Resource s, Property p, RDFNode o)(Code)(Java Doc)
protected static Model addCommon(Model result, StmtIterator it, Model other)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, boolean o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, long o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, int o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, char o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, float o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, double o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, Object o)(Code)(Java Doc)
public static void addNamespaces(Model m, Map ns)(Code)(Java Doc)
public Model addTyped(Resource s, Property p, boolean o)(Code)(Java Doc)
public Filter asFilter(Selector s)(Code)(Java Doc)
public Model asModel(Graph g)(Code)(Java Doc)
public static Node asNode(RDFNode x)(Code)(Java Doc)
public RDFNode asRDFNode(Node n)(Code)(Java Doc)
public Statement asStatement(Triple t)(Code)(Java Doc)
public Statement[] asStatements(Triple[] triples)(Code)(Java Doc)
public List asStatements(List triples)(Code)(Java Doc)
public StmtIterator asStatements(Iterator it)(Code)(Java Doc)
public Model begin()(Code)(Java Doc)
public void close()(Code)(Java Doc)
public Model commit()(Code)(Java Doc)
public boolean contains(Resource s, Property p, String o)(Code)(Java Doc)
public boolean contains(Resource s, Property p, String o, String l)(Code)(Java Doc)
public boolean contains(Statement s)(Code)(Java Doc)
public boolean contains(Resource s, Property p)(Code)(Java Doc)
public boolean contains(Resource s, Property p, RDFNode o)(Code)(Java Doc)
public boolean containsAll(Model model)(Code)(Java Doc)
public boolean containsAll(StmtIterator iter)(Code)(Java Doc)
protected boolean containsAllThenClose(StmtIterator iter)(Code)(Java Doc)
public boolean containsAny(Model model)(Code)(Java Doc)
public boolean containsAny(StmtIterator iter)(Code)(Java Doc)
protected boolean containsAnyThenClose(StmtIterator iter)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, boolean o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, long o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, int o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, char o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, float o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, double o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, Object o)(Code)(Java Doc)
public boolean containsResource(RDFNode r)(Code)(Java Doc)
public boolean containsTyped(Resource s, Property p, boolean o)(Code)(Java Doc)
public Alt createAlt()(Code)(Java Doc)
public Alt createAlt(String uri)(Code)(Java Doc)
public Bag createBag()(Code)(Java Doc)
public Bag createBag(String uri)(Code)(Java Doc)
public RDFList createList()(Code)(Java Doc)
public RDFList createList(Iterator members)(Code)(Java Doc)
public RDFList createList(RDFNode[] members)(Code)(Java Doc)
public Literal createLiteral(String v)(Code)(Java Doc)
public Literal createLiteral(String v, String l)(Code)(Java Doc)
public Literal createLiteral(String v, boolean wellFormed)(Code)(Java Doc)
public Literal createLiteral(String v, String l, boolean wellFormed)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, boolean o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, long o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, int o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, char o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, float o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, double o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, Object o)(Code)(Java Doc)
public Property createProperty(String uri)(Code)(Java Doc)
public Property createProperty(String nameSpace, String localName)(Code)(Java Doc)
public ReifiedStatement createReifiedStatement(Statement s)(Code)(Java Doc)
public ReifiedStatement createReifiedStatement(String uri, Statement s)(Code)(Java Doc)
public Resource createResource(Resource type)(Code)(Java Doc)
public Resource createResource(String uri, Resource type)(Code)(Java Doc)
public Resource createResource(ResourceF f)(Code)(Java Doc)
public Resource createResource(AnonId id)(Code)(Java Doc)
public Resource createResource(String uri, ResourceF f)(Code)(Java Doc)
public Resource createResource()(Code)(Java Doc)
public Resource createResource(String uri)(Code)(Java Doc)
public Seq createSeq()(Code)(Java Doc)
public Seq createSeq(String uri)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o, boolean wellFormed)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o, String l)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o, String l, boolean wellFormed)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, RDFNode o)(Code)(Java Doc)
public Literal createTypedLiteral(boolean v)(Code)(Java Doc)
public Literal createTypedLiteral(int v)(Code)(Java Doc)
public Literal createTypedLiteral(long v)(Code)(Java Doc)
public Literal createTypedLiteral(char v)(Code)(Java Doc)
public Literal createTypedLiteral(float v)(Code)(Java Doc)
public Literal createTypedLiteral(double v)(Code)(Java Doc)
public Literal createTypedLiteral(String v)(Code)(Java Doc)
public Literal createTypedLiteral(Calendar cal)(Code)(Java Doc)
public Literal createTypedLiteral(String lex, RDFDatatype dtype) throws DatatypeFormatException(Code)(Java Doc)
public Literal createTypedLiteral(Object value, RDFDatatype dtype)(Code)(Java Doc)
public Literal createTypedLiteral(String lex, String typeURI)(Code)(Java Doc)
public Literal createTypedLiteral(Object value, String typeURI)(Code)(Java Doc)
public Literal createTypedLiteral(Object value)(Code)(Java Doc)
protected static Model createWorkModel()(Code)(Java Doc)
public Model difference(Model model)(Code)(Java Doc)
public void enterCriticalSection(boolean requestReadLock)(Code)(Java Doc)
public Object executeInTransaction(Command cmd)(Code)(Java Doc)
public String expandPrefix(String prefixed)(Code)(Java Doc)
public ExtendedIterator findTriplesFrom(Selector s)(Code)(Java Doc)
public Alt getAlt(String uri)(Code)(Java Doc)
public Alt getAlt(Resource r)(Code)(Java Doc)
public Resource getAnyReifiedStatement(Statement s)(Code)(Java Doc)
public Bag getBag(String uri)(Code)(Java Doc)
public Bag getBag(Resource r)(Code)(Java Doc)
protected BulkUpdateHandler getBulkUpdateHandler()(Code)(Java Doc)
public static PrefixMapping getDefaultModelPrefixes()(Code)(Java Doc)
public Graph getGraph()(Code)(Java Doc)
public Model getHiddenStatements()(Code)(Java Doc)
public synchronized Lock getLock()(Code)(Java Doc)
public synchronized ModelLock getModelLock()(Code)(Java Doc)
public Map getNsPrefixMap()(Code)(Java Doc)
public String getNsPrefixURI(String prefix)(Code)(Java Doc)
public String getNsURIPrefix(String uri)(Code)(Java Doc)
public Property getProperty(String uri)(Code)(Java Doc)
public Property getProperty(String nameSpace, String localName)(Code)(Java Doc)
public Statement getProperty(Resource s, Property p)(Code)(Java Doc)
public RDFNode getRDFNode(Node n)(Code)(Java Doc)
public RDFReader getReader()(Code)(Java Doc)
public RDFReader getReader(String lang)(Code)(Java Doc)
public ReificationStyle getReificationStyle()(Code)(Java Doc)
public Statement getRequiredProperty(Resource s, Property p)(Code)(Java Doc)
public Resource getResource(String uri, ResourceF f)(Code)(Java Doc)
public Resource getResource(String uri)(Code)(Java Doc)
public Seq getSeq(String uri)(Code)(Java Doc)
public Seq getSeq(Resource r)(Code)(Java Doc)
public RDFWriter getWriter()(Code)(Java Doc)
public RDFWriter getWriter(String lang)(Code)(Java Doc)
public boolean independent()(Code)(Java Doc)
public static Model intersect(Model smaller, Model larger)(Code)(Java Doc)
public Model intersection(Model other)(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public boolean isIsomorphicWith(Model m)(Code)(Java Doc)
public boolean isReified(Statement s)(Code)(Java Doc)
public void leaveCriticalSection()(Code)(Java Doc)
public StmtIterator listBySubject(Container cont)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, boolean O)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, long O)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, char O)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, double O)(Code)(Java Doc)
public NsIterator listNameSpaces()(Code)(Java Doc)
public NodeIterator listObjects()(Code)(Java Doc)
public NodeIterator listObjectsOfProperty(Property p)(Code)(Java Doc)
public NodeIterator listObjectsOfProperty(Resource s, Property p)(Code)(Java Doc)
public RSIterator listReifiedStatements()(Code)(Java Doc)
public RSIterator listReifiedStatements(Statement st)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, boolean o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, char o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, long o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, float o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, double o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, Object o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, RDFNode o)(Code)(Java Doc)
protected StmtIterator listStatements(Resource S, Property P, Node O)(Code)(Java Doc)
public StmtIterator listStatements(Resource S, Property P, RDFNode O)(Code)(Java Doc)
public StmtIterator listStatements(Resource S, Property P, String O)(Code)(Java Doc)
public StmtIterator listStatements(Resource S, Property P, String O, String L)(Code)(Java Doc)
public StmtIterator listStatements()(Code)(Java Doc)
public StmtIterator listStatements(Selector selector)(Code)(Java Doc)
public ResIterator listSubjects()(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p, RDFNode o)(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p, String o)(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p, String o, String l)(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p)(Code)(Java Doc)
public StmtIterator listlLiteralStatements(Resource S, Property P, float O)(Code)(Java Doc)
public PrefixMapping lock()(Code)(Java Doc)
public Model notifyEvent(Object e)(Code)(Java Doc)
public String qnameFor(String uri)(Code)(Java Doc)
public Model query(Selector selector)(Code)(Java Doc)
public QueryHandler queryHandler()(Code)(Java Doc)
public Model read(String url)(Code)(Java Doc)
public Model read(Reader reader, String base)(Code)(Java Doc)
public Model read(InputStream reader, String base)(Code)(Java Doc)
public Model read(String url, String lang)(Code)(Java Doc)
public Model read(String url, String base, String lang)(Code)(Java Doc)
public Model read(Reader reader, String base, String lang)(Code)(Java Doc)
public Model read(InputStream reader, String base, String lang)(Code)(Java Doc)
public Model register(ModelChangedListener listener)(Code)(Java Doc)
public String reifiedToString()(Code)(Java Doc)
public Model remove(Statement s)(Code)(Java Doc)
public Model remove(Resource s, Property p, RDFNode o)(Code)(Java Doc)
public Model remove(StmtIterator iter)(Code)(Java Doc)
public Model remove(Model m)(Code)(Java Doc)
public Model remove(Model m, boolean suppressReifications)(Code)(Java Doc)
public Model remove(Statement[] statements)(Code)(Java Doc)
public Model remove(List statements)(Code)(Java Doc)
public Model removeAll()(Code)(Java Doc)
public Model removeAll(Resource s, Property p, RDFNode o)(Code)(Java Doc)
public void removeAllReifications(Statement s)(Code)(Java Doc)
public PrefixMapping removeNsPrefix(String prefix)(Code)(Java Doc)
public void removeReification(ReifiedStatement rs)(Code)(Java Doc)
public boolean samePrefixMappingAs(PrefixMapping other)(Code)(Java Doc)
public static PrefixMapping setDefaultModelPrefixes(PrefixMapping pm)(Code)(Java Doc)
public PrefixMapping setNsPrefix(String prefix, String uri)(Code)(Java Doc)
public PrefixMapping setNsPrefixes(PrefixMapping pm)(Code)(Java Doc)
public PrefixMapping setNsPrefixes(Map map)(Code)(Java Doc)
public String setReaderClassName(String lang, String className)(Code)(Java Doc)
public String setWriterClassName(String lang, String className)(Code)(Java Doc)
public String shortForm(String uri)(Code)(Java Doc)
public long size()(Code)(Java Doc)
protected String statementsToString(StmtIterator it)(Code)(Java Doc)
public boolean supportsSetOperations()(Code)(Java Doc)
public boolean supportsTransactions()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public Model union(Model model)(Code)(Java Doc)
public Model unregister(ModelChangedListener listener)(Code)(Java Doc)
public PrefixMapping withDefaultMappings(PrefixMapping other)(Code)(Java Doc)
public Model write(Writer writer)(Code)(Java Doc)
public Model write(Writer writer, String lang)(Code)(Java Doc)
public Model write(Writer writer, String lang, String base)(Code)(Java Doc)
public Model write(OutputStream writer)(Code)(Java Doc)
public Model write(OutputStream writer, String lang)(Code)(Java Doc)
public Model write(OutputStream writer, String lang, String base)(Code)(Java Doc)

Fields inherited from com.hp.hpl.jena.enhanced.EnhGraph
protected Cache enhNodes(Code)(Java Doc)
protected Graph graph(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.enhanced.EnhGraph
public Graph asGraph()(Code)(Java Doc)
protected boolean canSupport(Class t)(Code)(Java Doc)
protected Polymorphic convertTo(Class t)(Code)(Java Doc)
final public boolean equals(Object o)(Code)(Java Doc)
public EnhNode getNodeAs(Node n, Class interf)(Code)(Java Doc)
public CacheControl getNodeCacheControl()(Code)(Java Doc)
protected Personality getPersonality()(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
final public boolean isIsomorphicWith(EnhGraph eg)(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public void setNodeCache(Cache cc)(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.enhanced.Polymorphic
public synchronized void addView(Polymorphic other)(Code)(Java Doc)
protected boolean already(Class t)(Code)(Java Doc)
protected boolean alreadyHasView(Class t)(Code)(Java Doc)
final protected Polymorphic asInternal(Class t)(Code)(Java Doc)
abstract protected boolean canSupport(Class t)(Code)(Java Doc)
abstract protected Polymorphic convertTo(Class t)(Code)(Java Doc)
abstract public boolean equals(Object o)(Code)(Java Doc)
abstract protected Personality getPersonality()(Code)(Java Doc)
abstract public boolean isValid()(Code)(Java Doc)
public boolean supports(Class t)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.