Java Doc for ReactorRuntimeEntity.java in  » Search-Engine » semweb4j » org » ontoware » rdfreactor » runtime » 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 » Search Engine » semweb4j » org.ontoware.rdfreactor.runtime 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ontoware.rdfreactor.runtime.ReactorRuntimeEntity

All known Subclasses:   org.ontoware.rdfreactor.schema.bootstrap.Resource,  org.ontoware.rdfreactor.schema.rdfs.Resource,
ReactorRuntimeEntity
public class ReactorRuntimeEntity implements Resource(Code)
ReactorBaseImpl is the base class for instances of classes from the RDFS/OWL schema generated by the code generator.
If a class inheriting from ReactorBaseImpl is instantiated, it represents an instance of a class from an RDFS/OWL schema. The properties of this class instance are stored in an RDF model using RDF2Go (via the static Bridge object) as triples of the form: (this.instanceIdentifier, key, value).
Besides methods for putting, getting and removing properties, the Map Interface is also supported for handling of all properties of this instance in one Map, backed by the actual RDF2Go model.
RDF Reactor uses the following naming: resource - instance of an RDF schema class, identified by the resource ID (an URI or BlankNode), almost all statements about the resource use the resource ID as the object property - a property belongs to a resource, represented by the predicate of a statement about a resource value - value of a property of a resource, represented by the object of the statement with the property as predicate and the resource ID as the subject
author:
   $Author: xamde $
version:
   $Id: ReactorBaseImpl.java,v 1.24 2006/12/05 19:47:28 xamde Exp $


Field Summary
protected  URIclassURI
    
protected  Modelmodel
    

Constructor Summary
public  ReactorRuntimeEntity(Model model, URI classURI, Resource instanceIdentifier, boolean write)
     Constructor: create a ReactorBaseImpl for the RDFS/OWL schema class identified by classURI, with instanceIdentifier as the identifing URL or BlankNode.
public  ReactorRuntimeEntity(Model model, URI classURI, Resource instanceIdentifier)
     Constructor: create a ReactorBaseImpl for the RDFS/OWL schema class identified by classURI, with instanceIdentifier as the identifing URL or BlankNode.

Method Summary
public  BlankNodeasBlankNode()
    
public  DatatypeLiteralasDatatypeLiteral()
    
public  LanguageTagLiteralasLanguageTagLiteral()
    
public  LiteralasLiteral()
    
public  ResourceasResource()
    
public  URIasURI()
    
public  ObjectcastTo(Class targetType)
     Cast .this object to the given target Java type.
public  intcompareTo(Node o)
    
public  booleanequals(Object other)
    
public  ModelgetModel()
    
public  URIgetRDFSClassURI()
    
public  ResourcegetResource()
    
public  inthashCode()
    
public  booleanisInstanceof(URI classURI)
    
public  StringtoSPARQL()
    
public  StringtoString()
     implement
See Also:   Object
See Also:    methods a string representation of the instance identifier (URI or blanknode).

Field Detail
classURI
protected URI classURI(Code)
the URI of the RDFS class from which this object is an instance



model
protected Model model(Code)
the underlying RDF2Go model in which the triples representing the properties of this object are saved




Constructor Detail
ReactorRuntimeEntity
public ReactorRuntimeEntity(Model model, URI classURI, Resource instanceIdentifier, boolean write)(Code)
Constructor: create a ReactorBaseImpl for the RDFS/OWL schema class identified by classURI, with instanceIdentifier as the identifing URL or BlankNode. model,the underlying RDF2Go model classURI,URI of the RDFS/OWL class from which this object is aninstance instanceIdentifier,has to be an URI or URL or BlankNode
Parameters:
  write - if true, the triple (this, rdf:type, classURI) is written tothe model (in addition to any other triples denotingproperties of the instance)



ReactorRuntimeEntity
public ReactorRuntimeEntity(Model model, URI classURI, Resource instanceIdentifier)(Code)
Constructor: create a ReactorBaseImpl for the RDFS/OWL schema class identified by classURI, with instanceIdentifier as the identifing URL or BlankNode. Don't write (this, rdf:type, classURI) for this instance to the model. model,the underlying RDF2Go model classURI,URI of the RDFS/OWL class from which this object is aninstance instanceIdentifier,has to be an URI or URL or BlankNode




Method Detail
asBlankNode
public BlankNode asBlankNode() throws ClassCastException(Code)



asDatatypeLiteral
public DatatypeLiteral asDatatypeLiteral() throws ClassCastException(Code)



asLanguageTagLiteral
public LanguageTagLiteral asLanguageTagLiteral() throws ClassCastException(Code)



asLiteral
public Literal asLiteral() throws ClassCastException(Code)



asResource
public Resource asResource() throws ClassCastException(Code)



asURI
public URI asURI() throws ClassCastException(Code)



castTo
public Object castTo(Class targetType)(Code)
Cast .this object to the given target Java type.
Parameters:
  targetType - -Java type to which to cast this object converted object



compareTo
public int compareTo(Node o)(Code)



equals
public boolean equals(Object other)(Code)
implement
See Also:   Object
See Also:    methods



getModel
public Model getModel()(Code)



getRDFSClassURI
public URI getRDFSClassURI()(Code)
the URI of the RDFS schema class of which this object is aninstance



getResource
public Resource getResource()(Code)
implements
See Also:   ReactorEntity



hashCode
public int hashCode()(Code)
implement
See Also:   Object
See Also:    methods



isInstanceof
public boolean isInstanceof(URI classURI)(Code)



toSPARQL
public String toSPARQL()(Code)



toString
public String toString()(Code)
implement
See Also:   Object
See Also:    methods a string representation of the instance identifier (URI or blanknode). Representations are dependant on the used RDF2Go adaptor.



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.