Source Code Cross Referenced for DeprecatedProperty.java in  » Search-Engine » semweb4j » org » ontoware » rdfreactor » schema » bootstrap » 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.schema.bootstrap 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * generated by http://RDFReactor.semweb4j.org ($Id: CodeGenerator.java 785 2007-05-31 15:47:01Z voelkel $) on 01.06.07 17:50
003:         */package org.ontoware.rdfreactor.schema.bootstrap;
004:
005:        import org.ontoware.rdf2go.model.Model;
006:        import org.ontoware.rdf2go.model.node.BlankNode;
007:        import org.ontoware.rdf2go.model.node.URI;
008:        import org.ontoware.rdf2go.model.node.impl.URIImpl;
009:        import org.ontoware.rdfreactor.runtime.Base;
010:
011:        /**
012:         * This class was generated by <a href="http://RDFReactor.semweb4j.org">RDFReactor</a> on 01.06.07 17:50
013:         */
014:        public class DeprecatedProperty extends Property {
015:
016:            /** http://www.w3.org/2002/07/owl#DeprecatedProperty */
017:            public static final URI RDFS_CLASS = new URIImpl(
018:                    "http://www.w3.org/2002/07/owl#DeprecatedProperty", false);
019:
020:            /** all property-URIs with this class as domain */
021:            public static final URI[] MANAGED_URIS = {
022:
023:            };
024:
025:            // protected constructors needed for inheritance
026:
027:            /**
028:             * Returns a Java wrapper over an RDF object, identified by URI.
029:             * Creating two wrappers for the same instanceURI is legal.
030:             * @param model RDF2GO Model implementation, see http://rdf2go.semweb4j.org
031:             * @param classURI URI of RDFS class
032:             * @param instanceIdentifier Resource that identifies this instance
033:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
034:             */
035:            protected DeprecatedProperty(Model model, URI classURI,
036:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
037:                    boolean write) {
038:                super (model, classURI, instanceIdentifier, write);
039:            }
040:
041:            // public constructors
042:
043:            /**
044:             * Returns a Java wrapper over an RDF object, identified by URI.
045:             * Creating two wrappers for the same instanceURI is legal.
046:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
047:             * @param instanceIdentifier an RDF2Go Resource identifying this instance
048:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
049:             */
050:            public DeprecatedProperty(Model model,
051:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
052:                    boolean write) {
053:                super (model, RDFS_CLASS, instanceIdentifier, write);
054:            }
055:
056:            /**
057:             * Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
058:             * Creating two wrappers for the same URI is legal.
059:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
060:             * @param uriString a URI given as a String
061:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
062:             */
063:            public DeprecatedProperty(Model model, String uriString,
064:                    boolean write) {
065:                super (model, RDFS_CLASS, new URIImpl(uriString, false), write);
066:            }
067:
068:            /**
069:             * Returns a Java wrapper over an RDF object, identified by a blank node.
070:             * Creating two wrappers for the same blank node is legal.
071:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
072:             * @param bnode BlankNode of this instance
073:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
074:             */
075:            public DeprecatedProperty(Model model, BlankNode bnode,
076:                    boolean write) {
077:                super (model, RDFS_CLASS, bnode, write);
078:            }
079:
080:            /**
081:             * Returns a Java wrapper over an RDF object, identified by 
082:             * a randomly generated URI.
083:             * Creating two wrappers results in different URIs.
084:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
085:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
086:             */
087:            public DeprecatedProperty(Model model, boolean write) {
088:                super (model, RDFS_CLASS, model.newRandomUniqueURI(), write);
089:            }
090:
091:            ///////////////////////////////////////////////////////////////////
092:            // getters, setters, ...
093:
094:            /**
095:             * @param model RDF2Go model
096:             * @param uri instance identifier
097:             * @return an instance of DeprecatedProperty or null if none existst
098:             * @throws Exception if Model causes problems
099:             */
100:            public static DeprecatedProperty getInstance(Model model, URI uri)
101:                    throws Exception {
102:                return (DeprecatedProperty) Base.getInstance(model, uri,
103:                        DeprecatedProperty.class);
104:            }
105:
106:            /**
107:             * @param model
108:             * @param uri
109:             * @return true if uri is an instance of this class in the model
110:             */
111:            public static boolean hasInstance(Model model, URI uri) {
112:                return Base.hasInstance(model, uri, RDFS_CLASS);
113:            }
114:
115:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.