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


0001:        /**
0002:         * generated by http://RDFReactor.semweb4j.org ($Id: CodeGenerator.java 870 2007-11-07 17:30:59Z max.at.xam.de $) on 26.01.08 12:44
0003:         */package org.ontoware.rdfreactor.schema.rdfs;
0004:
0005:        import org.ontoware.aifbcommons.collection.ClosableIterator;
0006:        import org.ontoware.rdf2go.exception.ModelRuntimeException;
0007:        import org.ontoware.rdf2go.model.Model;
0008:        import org.ontoware.rdf2go.model.node.BlankNode;
0009:        import org.ontoware.rdf2go.model.node.URI;
0010:        import org.ontoware.rdf2go.model.node.impl.URIImpl;
0011:        import org.ontoware.rdfreactor.runtime.Base;
0012:        import org.ontoware.rdfreactor.runtime.ReactorResult;
0013:
0014:        /**
0015:         * This class manages access to these properties:
0016:         * <ul>
0017:         *   <li> Object </li>
0018:         *   <li> Predicate </li>
0019:         *   <li> Subject </li>
0020:         * </ul>
0021:         *
0022:         * This class was generated by <a href="http://RDFReactor.semweb4j.org">RDFReactor</a> on 26.01.08 12:44
0023:         */
0024:        public class Statement extends Resource {
0025:
0026:            /** http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement */
0027:            public static final URI RDFS_CLASS = new URIImpl(
0028:                    "http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement",
0029:                    false);
0030:
0031:            /** http://www.w3.org/1999/02/22-rdf-syntax-ns#object */
0032:            public static final URI OBJECT = new URIImpl(
0033:                    "http://www.w3.org/1999/02/22-rdf-syntax-ns#object", false);
0034:
0035:            /** http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate */
0036:            public static final URI PREDICATE = new URIImpl(
0037:                    "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate",
0038:                    false);
0039:
0040:            /** http://www.w3.org/1999/02/22-rdf-syntax-ns#subject */
0041:            public static final URI SUBJECT = new URIImpl(
0042:                    "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject", false);
0043:
0044:            /** all property-URIs with this class as domain */
0045:            public static final URI[] MANAGED_URIS = {
0046:                    new URIImpl(
0047:                            "http://www.w3.org/1999/02/22-rdf-syntax-ns#object",
0048:                            false),
0049:                    new URIImpl(
0050:                            "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate",
0051:                            false),
0052:                    new URIImpl(
0053:                            "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject",
0054:                            false) };
0055:
0056:            // protected constructors needed for inheritance
0057:
0058:            /**
0059:             * Returns a Java wrapper over an RDF object, identified by URI.
0060:             * Creating two wrappers for the same instanceURI is legal.
0061:             * @param model RDF2GO Model implementation, see http://rdf2go.semweb4j.org
0062:             * @param classURI URI of RDFS class
0063:             * @param instanceIdentifier Resource that identifies this instance
0064:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0065:             *
0066:             * [Generated from RDFReactor template rule #c1] 
0067:             */
0068:            protected Statement(Model model, URI classURI,
0069:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0070:                    boolean write) {
0071:                super (model, classURI, instanceIdentifier, write);
0072:            }
0073:
0074:            // public constructors
0075:
0076:            /**
0077:             * Returns a Java wrapper over an RDF object, identified by URI.
0078:             * Creating two wrappers for the same instanceURI is legal.
0079:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0080:             * @param instanceIdentifier an RDF2Go Resource identifying this instance
0081:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0082:             *
0083:             * [Generated from RDFReactor template rule #c2] 
0084:             */
0085:            public Statement(Model model,
0086:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0087:                    boolean write) {
0088:                super (model, RDFS_CLASS, instanceIdentifier, write);
0089:            }
0090:
0091:            /**
0092:             * Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
0093:             * Creating two wrappers for the same URI is legal.
0094:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0095:             * @param uriString a URI given as a String
0096:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0097:             * @throws ModelRuntimeException if URI syntax is wrong
0098:             *
0099:             * [Generated from RDFReactor template rule #c7] 
0100:             */
0101:            public Statement(Model model, String uriString, boolean write)
0102:                    throws ModelRuntimeException {
0103:                super (model, RDFS_CLASS, new URIImpl(uriString, false), write);
0104:            }
0105:
0106:            /**
0107:             * Returns a Java wrapper over an RDF object, identified by a blank node.
0108:             * Creating two wrappers for the same blank node is legal.
0109:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0110:             * @param bnode BlankNode of this instance
0111:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0112:             *
0113:             * [Generated from RDFReactor template rule #c8] 
0114:             */
0115:            public Statement(Model model, BlankNode bnode, boolean write) {
0116:                super (model, RDFS_CLASS, bnode, write);
0117:            }
0118:
0119:            /**
0120:             * Returns a Java wrapper over an RDF object, identified by 
0121:             * a randomly generated URI.
0122:             * Creating two wrappers results in different URIs.
0123:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0124:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0125:             *
0126:             * [Generated from RDFReactor template rule #c9] 
0127:             */
0128:            public Statement(Model model, boolean write) {
0129:                super (model, RDFS_CLASS, model.newRandomUniqueURI(), write);
0130:            }
0131:
0132:            ///////////////////////////////////////////////////////////////////
0133:            // typing
0134:
0135:            /**
0136:             * Create a new instance of this class in the model. 
0137:             * That is, create the statement (instanceResource, RDF.type, http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement).
0138:             * @param model an RDF2Go model
0139:             * @param instanceResource an RDF2Go resource
0140:             *
0141:             * [Generated from RDFReactor template rule #class1] 
0142:             */
0143:            public static void createInstance(Model model,
0144:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0145:                Base.createInstance(model, RDFS_CLASS, instanceResource);
0146:            }
0147:
0148:            /**
0149:             * @param model an RDF2Go model
0150:             * @param instanceResource an RDF2Go resource
0151:             * @return true if instanceResource is an instance of this class in the model
0152:             *
0153:             * [Generated from RDFReactor template rule #class2] 
0154:             */
0155:            public static boolean hasInstance(Model model,
0156:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0157:                return Base.hasInstance(model, RDFS_CLASS, instanceResource);
0158:            }
0159:
0160:            /**
0161:             * @param model an RDF2Go model
0162:             * @return all instances of this class in Model 'model' as RDF resources
0163:             *
0164:             * [Generated from RDFReactor template rule #class3] 
0165:             */
0166:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllInstances(
0167:                    Model model) {
0168:                return Base.getAllInstances(model, RDFS_CLASS,
0169:                        org.ontoware.rdf2go.model.node.Resource.class);
0170:            }
0171:
0172:            /**
0173:             * @param model an RDF2Go model
0174:             * @return all instances of this class in Model 'model' as a ReactorResult,
0175:             * which can conveniently be converted to iterator, list or array.
0176:             *
0177:             * [Generated from RDFReactor template rule #class3-as] 
0178:             */
0179:            public static ReactorResult<? extends Statement> getAllInstance_as(
0180:                    Model model) {
0181:                return Base.getAllInstances_as(model, RDFS_CLASS,
0182:                        Statement.class);
0183:            }
0184:
0185:            /**
0186:             * Delete all rdf:type from this instance. Other triples are not affected.
0187:             * @param model an RDF2Go model
0188:             * @param instanceResource an RDF2Go resource
0189:             *
0190:             * [Generated from RDFReactor template rule #class4] 
0191:             */
0192:            public static void deleteInstance(Model model,
0193:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0194:                Base.deleteInstance(model, RDFS_CLASS, instanceResource);
0195:            }
0196:
0197:            ///////////////////////////////////////////////////////////////////
0198:            // property access methods
0199:
0200:            /**
0201:             * Get all values of property Object as an Iterator over RDF2Go nodes 
0202:             * @param model an RDF2Go model
0203:             * @param resource an RDF2Go resource
0204:             * @return a ClosableIterator of RDF2Go Nodes
0205:             *
0206:             * [Generated from RDFReactor template rule #get7static] 
0207:             */
0208:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllObject_asNode(
0209:                    Model model,
0210:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0211:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0212:                        .getAll_asNode(model, instanceResource, OBJECT);
0213:            }
0214:
0215:            /**
0216:             * Get all values of property Object as a ReactorResult of RDF2Go nodes 
0217:             * @param model an RDF2Go model
0218:             * @param resource an RDF2Go resource
0219:             * @return a List of RDF2Go Nodes
0220:             *
0221:             * [Generated from RDFReactor template rule #get7static-reactor-result] 
0222:             */
0223:            public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllObject_asNode_(
0224:                    Model model,
0225:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0226:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0227:                        .getAll_as(model, instanceResource, OBJECT,
0228:                                org.ontoware.rdf2go.model.node.Node.class);
0229:            }
0230:
0231:            /**
0232:             * Get all values of property Object as an Iterator over RDF2Go nodes 
0233:             * @return a ClosableIterator of RDF2Go Nodes
0234:             *
0235:             * [Generated from RDFReactor template rule #get8dynamic] 
0236:             */
0237:            public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllObject_asNode() {
0238:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0239:                        .getAll_asNode(this .model, this .getResource(), OBJECT);
0240:            }
0241:
0242:            /**
0243:             * Get all values of property Object as a ReactorResult of RDF2Go nodes 
0244:             * @return a List of RDF2Go Nodes
0245:             *
0246:             * [Generated from RDFReactor template rule #get8dynamic-reactor-result] 
0247:             */
0248:            public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllObject_asNode_() {
0249:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0250:                        .getAll_as(this .model, this .getResource(), OBJECT,
0251:                                org.ontoware.rdf2go.model.node.Node.class);
0252:            }
0253:
0254:            /**
0255:             * Get all values of property Object     * @param model an RDF2Go model
0256:             * @param resource an RDF2Go resource
0257:             * @return a ClosableIterator of $type
0258:             *
0259:             * [Generated from RDFReactor template rule #get11static] 
0260:             */
0261:            public static ClosableIterator<Resource> getAllObject(Model model,
0262:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0263:                return Base.getAll(model, instanceResource, OBJECT,
0264:                        Resource.class);
0265:            }
0266:
0267:            /**
0268:             * Get all values of property Object as a ReactorResult of Resource 
0269:             * @param model an RDF2Go model
0270:             * @param resource an RDF2Go resource
0271:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0272:             *
0273:             * [Generated from RDFReactor template rule #get11static-reactorresult] 
0274:             */
0275:            public static ReactorResult<Resource> getAllObject_as(Model model,
0276:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0277:                return Base.getAll_as(model, instanceResource, OBJECT,
0278:                        Resource.class);
0279:            }
0280:
0281:            /**
0282:             * Get all values of property Object     * @return a ClosableIterator of $type
0283:             *
0284:             * [Generated from RDFReactor template rule #get12dynamic] 
0285:             */
0286:            public ClosableIterator<Resource> getAllObject() {
0287:                return Base.getAll(this .model, this .getResource(), OBJECT,
0288:                        Resource.class);
0289:            }
0290:
0291:            /**
0292:             * Get all values of property Object as a ReactorResult of Resource 
0293:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0294:             *
0295:             * [Generated from RDFReactor template rule #get12dynamic-reactorresult] 
0296:             */
0297:            public ReactorResult<Resource> getAllObject_as() {
0298:                return Base.getAll_as(this .model, this .getResource(), OBJECT,
0299:                        Resource.class);
0300:            }
0301:
0302:            /**
0303:             * Adds a value to property Object as an RDF2Go node 
0304:             * @param model an RDF2Go model
0305:             * @param resource an RDF2Go resource
0306:             * @param value the value to be added
0307:             *
0308:             * [Generated from RDFReactor template rule #add1static] 
0309:             */
0310:            public static void addObject(Model model,
0311:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0312:                    org.ontoware.rdf2go.model.node.Node value) {
0313:                Base.add(model, instanceResource, OBJECT, value);
0314:            }
0315:
0316:            /**
0317:             * Adds a value to property Object as an RDF2Go node 
0318:             * @param value the value to be added
0319:             *
0320:             * [Generated from RDFReactor template rule #add1dynamic] 
0321:             */
0322:            public void addObject(org.ontoware.rdf2go.model.node.Node value) {
0323:                Base.add(this .model, this .getResource(), OBJECT, value);
0324:            }
0325:
0326:            /**
0327:             * Adds a value to property Object from an instance of Resource 
0328:             * @param model an RDF2Go model
0329:             * @param resource an RDF2Go resource
0330:             *
0331:             * [Generated from RDFReactor template rule #add3static] 
0332:             */
0333:            public static void addObject(Model model,
0334:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0335:                    Resource value) {
0336:                Base.add(model, instanceResource, OBJECT, value);
0337:            }
0338:
0339:            /**
0340:             * Adds a value to property Object from an instance of Resource 
0341:             *
0342:             * [Generated from RDFReactor template rule #add4dynamic] 
0343:             */
0344:            public void addObject(Resource value) {
0345:                Base.add(this .model, this .getResource(), OBJECT, value);
0346:            }
0347:
0348:            /**
0349:             * Sets a value of property Object from an RDF2Go node.
0350:             * First, all existing values are removed, then this value is added.
0351:             * Cardinality constraints are not checked, but this method exists only for properties with
0352:             * no minCardinality or minCardinality == 1.
0353:             * @param model an RDF2Go model
0354:             * @param resource an RDF2Go resource
0355:             * @param value the value to be set
0356:             *
0357:             * [Generated from RDFReactor template rule #set1static] 
0358:             */
0359:            public static void setObject(Model model,
0360:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0361:                    org.ontoware.rdf2go.model.node.Node value) {
0362:                Base.set(model, instanceResource, OBJECT, value);
0363:            }
0364:
0365:            /**
0366:             * Sets a value of property Object from an RDF2Go node.
0367:             * First, all existing values are removed, then this value is added.
0368:             * Cardinality constraints are not checked, but this method exists only for properties with
0369:             * no minCardinality or minCardinality == 1.
0370:             * @param value the value to be added
0371:             *
0372:             * [Generated from RDFReactor template rule #set1dynamic] 
0373:             */
0374:            public void setObject(org.ontoware.rdf2go.model.node.Node value) {
0375:                Base.set(this .model, this .getResource(), OBJECT, value);
0376:            }
0377:
0378:            /**
0379:             * Sets a value of property Object from an instance of Resource 
0380:             * First, all existing values are removed, then this value is added.
0381:             * Cardinality constraints are not checked, but this method exists only for properties with
0382:             * no minCardinality or minCardinality == 1.
0383:             * @param model an RDF2Go model
0384:             * @param resource an RDF2Go resource
0385:             * @param value the value to be added
0386:             *
0387:             * [Generated from RDFReactor template rule #set3static] 
0388:             */
0389:            public static void setObject(Model model,
0390:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0391:                    Resource value) {
0392:                Base.set(model, instanceResource, OBJECT, value);
0393:            }
0394:
0395:            /**
0396:             * Sets a value of property Object from an instance of Resource 
0397:             * First, all existing values are removed, then this value is added.
0398:             * Cardinality constraints are not checked, but this method exists only for properties with
0399:             * no minCardinality or minCardinality == 1.
0400:             * @param value the value to be added
0401:             *
0402:             * [Generated from RDFReactor template rule #set4dynamic] 
0403:             */
0404:            public void setObject(Resource value) {
0405:                Base.set(this .model, this .getResource(), OBJECT, value);
0406:            }
0407:
0408:            /**
0409:             * Removes a value of property Object as an RDF2Go node 
0410:             * @param model an RDF2Go model
0411:             * @param resource an RDF2Go resource
0412:             * @param value the value to be removed
0413:             *
0414:             * [Generated from RDFReactor template rule #remove1static] 
0415:             */
0416:            public static void removeObject(Model model,
0417:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0418:                    org.ontoware.rdf2go.model.node.Node value) {
0419:                Base.remove(model, instanceResource, OBJECT, value);
0420:            }
0421:
0422:            /**
0423:             * Removes a value of property Object as an RDF2Go node
0424:             * @param value the value to be removed
0425:             *
0426:             * [Generated from RDFReactor template rule #remove1dynamic] 
0427:             */
0428:            public void removeObject(org.ontoware.rdf2go.model.node.Node value) {
0429:                Base.remove(this .model, this .getResource(), OBJECT, value);
0430:            }
0431:
0432:            /**
0433:             * Removes a value of property Object given as an instance of Resource 
0434:             * @param model an RDF2Go model
0435:             * @param resource an RDF2Go resource
0436:             * @param value the value to be removed
0437:             *
0438:             * [Generated from RDFReactor template rule #remove3static] 
0439:             */
0440:            public static void removeObject(Model model,
0441:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0442:                    Resource value) {
0443:                Base.remove(model, instanceResource, OBJECT, value);
0444:            }
0445:
0446:            /**
0447:             * Removes a value of property Object given as an instance of Resource 
0448:             * @param value the value to be removed
0449:             *
0450:             * [Generated from RDFReactor template rule #remove4dynamic] 
0451:             */
0452:            public void removeObject(Resource value) {
0453:                Base.remove(this .model, this .getResource(), OBJECT, value);
0454:            }
0455:
0456:            /**
0457:             * Removes all values of property Object     * @param model an RDF2Go model
0458:             * @param resource an RDF2Go resource
0459:             *
0460:             * [Generated from RDFReactor template rule #removeall1static] 
0461:             */
0462:            public static void removeAllObject(Model model,
0463:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0464:                Base.removeAll(model, instanceResource, OBJECT);
0465:            }
0466:
0467:            /**
0468:             * Removes all values of property Object	 *
0469:             * [Generated from RDFReactor template rule #removeall1dynamic] 
0470:             */
0471:            public void addObject() {
0472:                Base.removeAll(this .model, this .getResource(), OBJECT);
0473:            }
0474:
0475:            /**
0476:             * Get all values of property Predicate as an Iterator over RDF2Go nodes 
0477:             * @param model an RDF2Go model
0478:             * @param resource an RDF2Go resource
0479:             * @return a ClosableIterator of RDF2Go Nodes
0480:             *
0481:             * [Generated from RDFReactor template rule #get7static] 
0482:             */
0483:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllPredicate_asNode(
0484:                    Model model,
0485:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0486:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0487:                        .getAll_asNode(model, instanceResource, PREDICATE);
0488:            }
0489:
0490:            /**
0491:             * Get all values of property Predicate as a ReactorResult of RDF2Go nodes 
0492:             * @param model an RDF2Go model
0493:             * @param resource an RDF2Go resource
0494:             * @return a List of RDF2Go Nodes
0495:             *
0496:             * [Generated from RDFReactor template rule #get7static-reactor-result] 
0497:             */
0498:            public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllPredicate_asNode_(
0499:                    Model model,
0500:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0501:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0502:                        .getAll_as(model, instanceResource, PREDICATE,
0503:                                org.ontoware.rdf2go.model.node.Node.class);
0504:            }
0505:
0506:            /**
0507:             * Get all values of property Predicate as an Iterator over RDF2Go nodes 
0508:             * @return a ClosableIterator of RDF2Go Nodes
0509:             *
0510:             * [Generated from RDFReactor template rule #get8dynamic] 
0511:             */
0512:            public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllPredicate_asNode() {
0513:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0514:                        .getAll_asNode(this .model, this .getResource(),
0515:                                PREDICATE);
0516:            }
0517:
0518:            /**
0519:             * Get all values of property Predicate as a ReactorResult of RDF2Go nodes 
0520:             * @return a List of RDF2Go Nodes
0521:             *
0522:             * [Generated from RDFReactor template rule #get8dynamic-reactor-result] 
0523:             */
0524:            public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllPredicate_asNode_() {
0525:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0526:                        .getAll_as(this .model, this .getResource(), PREDICATE,
0527:                                org.ontoware.rdf2go.model.node.Node.class);
0528:            }
0529:
0530:            /**
0531:             * Get all values of property Predicate     * @param model an RDF2Go model
0532:             * @param resource an RDF2Go resource
0533:             * @return a ClosableIterator of $type
0534:             *
0535:             * [Generated from RDFReactor template rule #get11static] 
0536:             */
0537:            public static ClosableIterator<Resource> getAllPredicate(
0538:                    Model model,
0539:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0540:                return Base.getAll(model, instanceResource, PREDICATE,
0541:                        Resource.class);
0542:            }
0543:
0544:            /**
0545:             * Get all values of property Predicate as a ReactorResult of Resource 
0546:             * @param model an RDF2Go model
0547:             * @param resource an RDF2Go resource
0548:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0549:             *
0550:             * [Generated from RDFReactor template rule #get11static-reactorresult] 
0551:             */
0552:            public static ReactorResult<Resource> getAllPredicate_as(
0553:                    Model model,
0554:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0555:                return Base.getAll_as(model, instanceResource, PREDICATE,
0556:                        Resource.class);
0557:            }
0558:
0559:            /**
0560:             * Get all values of property Predicate     * @return a ClosableIterator of $type
0561:             *
0562:             * [Generated from RDFReactor template rule #get12dynamic] 
0563:             */
0564:            public ClosableIterator<Resource> getAllPredicate() {
0565:                return Base.getAll(this .model, this .getResource(), PREDICATE,
0566:                        Resource.class);
0567:            }
0568:
0569:            /**
0570:             * Get all values of property Predicate as a ReactorResult of Resource 
0571:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0572:             *
0573:             * [Generated from RDFReactor template rule #get12dynamic-reactorresult] 
0574:             */
0575:            public ReactorResult<Resource> getAllPredicate_as() {
0576:                return Base.getAll_as(this .model, this .getResource(),
0577:                        PREDICATE, Resource.class);
0578:            }
0579:
0580:            /**
0581:             * Adds a value to property Predicate as an RDF2Go node 
0582:             * @param model an RDF2Go model
0583:             * @param resource an RDF2Go resource
0584:             * @param value the value to be added
0585:             *
0586:             * [Generated from RDFReactor template rule #add1static] 
0587:             */
0588:            public static void addPredicate(Model model,
0589:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0590:                    org.ontoware.rdf2go.model.node.Node value) {
0591:                Base.add(model, instanceResource, PREDICATE, value);
0592:            }
0593:
0594:            /**
0595:             * Adds a value to property Predicate as an RDF2Go node 
0596:             * @param value the value to be added
0597:             *
0598:             * [Generated from RDFReactor template rule #add1dynamic] 
0599:             */
0600:            public void addPredicate(org.ontoware.rdf2go.model.node.Node value) {
0601:                Base.add(this .model, this .getResource(), PREDICATE, value);
0602:            }
0603:
0604:            /**
0605:             * Adds a value to property Predicate from an instance of Resource 
0606:             * @param model an RDF2Go model
0607:             * @param resource an RDF2Go resource
0608:             *
0609:             * [Generated from RDFReactor template rule #add3static] 
0610:             */
0611:            public static void addPredicate(Model model,
0612:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0613:                    Resource value) {
0614:                Base.add(model, instanceResource, PREDICATE, value);
0615:            }
0616:
0617:            /**
0618:             * Adds a value to property Predicate from an instance of Resource 
0619:             *
0620:             * [Generated from RDFReactor template rule #add4dynamic] 
0621:             */
0622:            public void addPredicate(Resource value) {
0623:                Base.add(this .model, this .getResource(), PREDICATE, value);
0624:            }
0625:
0626:            /**
0627:             * Sets a value of property Predicate from an RDF2Go node.
0628:             * First, all existing values are removed, then this value is added.
0629:             * Cardinality constraints are not checked, but this method exists only for properties with
0630:             * no minCardinality or minCardinality == 1.
0631:             * @param model an RDF2Go model
0632:             * @param resource an RDF2Go resource
0633:             * @param value the value to be set
0634:             *
0635:             * [Generated from RDFReactor template rule #set1static] 
0636:             */
0637:            public static void setPredicate(Model model,
0638:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0639:                    org.ontoware.rdf2go.model.node.Node value) {
0640:                Base.set(model, instanceResource, PREDICATE, value);
0641:            }
0642:
0643:            /**
0644:             * Sets a value of property Predicate from an RDF2Go node.
0645:             * First, all existing values are removed, then this value is added.
0646:             * Cardinality constraints are not checked, but this method exists only for properties with
0647:             * no minCardinality or minCardinality == 1.
0648:             * @param value the value to be added
0649:             *
0650:             * [Generated from RDFReactor template rule #set1dynamic] 
0651:             */
0652:            public void setPredicate(org.ontoware.rdf2go.model.node.Node value) {
0653:                Base.set(this .model, this .getResource(), PREDICATE, value);
0654:            }
0655:
0656:            /**
0657:             * Sets a value of property Predicate from an instance of Resource 
0658:             * First, all existing values are removed, then this value is added.
0659:             * Cardinality constraints are not checked, but this method exists only for properties with
0660:             * no minCardinality or minCardinality == 1.
0661:             * @param model an RDF2Go model
0662:             * @param resource an RDF2Go resource
0663:             * @param value the value to be added
0664:             *
0665:             * [Generated from RDFReactor template rule #set3static] 
0666:             */
0667:            public static void setPredicate(Model model,
0668:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0669:                    Resource value) {
0670:                Base.set(model, instanceResource, PREDICATE, value);
0671:            }
0672:
0673:            /**
0674:             * Sets a value of property Predicate from an instance of Resource 
0675:             * First, all existing values are removed, then this value is added.
0676:             * Cardinality constraints are not checked, but this method exists only for properties with
0677:             * no minCardinality or minCardinality == 1.
0678:             * @param value the value to be added
0679:             *
0680:             * [Generated from RDFReactor template rule #set4dynamic] 
0681:             */
0682:            public void setPredicate(Resource value) {
0683:                Base.set(this .model, this .getResource(), PREDICATE, value);
0684:            }
0685:
0686:            /**
0687:             * Removes a value of property Predicate as an RDF2Go node 
0688:             * @param model an RDF2Go model
0689:             * @param resource an RDF2Go resource
0690:             * @param value the value to be removed
0691:             *
0692:             * [Generated from RDFReactor template rule #remove1static] 
0693:             */
0694:            public static void removePredicate(Model model,
0695:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0696:                    org.ontoware.rdf2go.model.node.Node value) {
0697:                Base.remove(model, instanceResource, PREDICATE, value);
0698:            }
0699:
0700:            /**
0701:             * Removes a value of property Predicate as an RDF2Go node
0702:             * @param value the value to be removed
0703:             *
0704:             * [Generated from RDFReactor template rule #remove1dynamic] 
0705:             */
0706:            public void removePredicate(
0707:                    org.ontoware.rdf2go.model.node.Node value) {
0708:                Base.remove(this .model, this .getResource(), PREDICATE, value);
0709:            }
0710:
0711:            /**
0712:             * Removes a value of property Predicate given as an instance of Resource 
0713:             * @param model an RDF2Go model
0714:             * @param resource an RDF2Go resource
0715:             * @param value the value to be removed
0716:             *
0717:             * [Generated from RDFReactor template rule #remove3static] 
0718:             */
0719:            public static void removePredicate(Model model,
0720:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0721:                    Resource value) {
0722:                Base.remove(model, instanceResource, PREDICATE, value);
0723:            }
0724:
0725:            /**
0726:             * Removes a value of property Predicate given as an instance of Resource 
0727:             * @param value the value to be removed
0728:             *
0729:             * [Generated from RDFReactor template rule #remove4dynamic] 
0730:             */
0731:            public void removePredicate(Resource value) {
0732:                Base.remove(this .model, this .getResource(), PREDICATE, value);
0733:            }
0734:
0735:            /**
0736:             * Removes all values of property Predicate     * @param model an RDF2Go model
0737:             * @param resource an RDF2Go resource
0738:             *
0739:             * [Generated from RDFReactor template rule #removeall1static] 
0740:             */
0741:            public static void removeAllPredicate(Model model,
0742:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0743:                Base.removeAll(model, instanceResource, PREDICATE);
0744:            }
0745:
0746:            /**
0747:             * Removes all values of property Predicate	 *
0748:             * [Generated from RDFReactor template rule #removeall1dynamic] 
0749:             */
0750:            public void addPredicate() {
0751:                Base.removeAll(this .model, this .getResource(), PREDICATE);
0752:            }
0753:
0754:            /**
0755:             * Get all values of property Subject as an Iterator over RDF2Go nodes 
0756:             * @param model an RDF2Go model
0757:             * @param resource an RDF2Go resource
0758:             * @return a ClosableIterator of RDF2Go Nodes
0759:             *
0760:             * [Generated from RDFReactor template rule #get7static] 
0761:             */
0762:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllSubject_asNode(
0763:                    Model model,
0764:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0765:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0766:                        .getAll_asNode(model, instanceResource, SUBJECT);
0767:            }
0768:
0769:            /**
0770:             * Get all values of property Subject as a ReactorResult of RDF2Go nodes 
0771:             * @param model an RDF2Go model
0772:             * @param resource an RDF2Go resource
0773:             * @return a List of RDF2Go Nodes
0774:             *
0775:             * [Generated from RDFReactor template rule #get7static-reactor-result] 
0776:             */
0777:            public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllSubject_asNode_(
0778:                    Model model,
0779:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0780:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0781:                        .getAll_as(model, instanceResource, SUBJECT,
0782:                                org.ontoware.rdf2go.model.node.Node.class);
0783:            }
0784:
0785:            /**
0786:             * Get all values of property Subject as an Iterator over RDF2Go nodes 
0787:             * @return a ClosableIterator of RDF2Go Nodes
0788:             *
0789:             * [Generated from RDFReactor template rule #get8dynamic] 
0790:             */
0791:            public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllSubject_asNode() {
0792:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0793:                        .getAll_asNode(this .model, this .getResource(), SUBJECT);
0794:            }
0795:
0796:            /**
0797:             * Get all values of property Subject as a ReactorResult of RDF2Go nodes 
0798:             * @return a List of RDF2Go Nodes
0799:             *
0800:             * [Generated from RDFReactor template rule #get8dynamic-reactor-result] 
0801:             */
0802:            public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllSubject_asNode_() {
0803:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0804:                        .getAll_as(this .model, this .getResource(), SUBJECT,
0805:                                org.ontoware.rdf2go.model.node.Node.class);
0806:            }
0807:
0808:            /**
0809:             * Get all values of property Subject     * @param model an RDF2Go model
0810:             * @param resource an RDF2Go resource
0811:             * @return a ClosableIterator of $type
0812:             *
0813:             * [Generated from RDFReactor template rule #get11static] 
0814:             */
0815:            public static ClosableIterator<Resource> getAllSubject(Model model,
0816:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0817:                return Base.getAll(model, instanceResource, SUBJECT,
0818:                        Resource.class);
0819:            }
0820:
0821:            /**
0822:             * Get all values of property Subject as a ReactorResult of Resource 
0823:             * @param model an RDF2Go model
0824:             * @param resource an RDF2Go resource
0825:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0826:             *
0827:             * [Generated from RDFReactor template rule #get11static-reactorresult] 
0828:             */
0829:            public static ReactorResult<Resource> getAllSubject_as(Model model,
0830:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0831:                return Base.getAll_as(model, instanceResource, SUBJECT,
0832:                        Resource.class);
0833:            }
0834:
0835:            /**
0836:             * Get all values of property Subject     * @return a ClosableIterator of $type
0837:             *
0838:             * [Generated from RDFReactor template rule #get12dynamic] 
0839:             */
0840:            public ClosableIterator<Resource> getAllSubject() {
0841:                return Base.getAll(this .model, this .getResource(), SUBJECT,
0842:                        Resource.class);
0843:            }
0844:
0845:            /**
0846:             * Get all values of property Subject as a ReactorResult of Resource 
0847:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0848:             *
0849:             * [Generated from RDFReactor template rule #get12dynamic-reactorresult] 
0850:             */
0851:            public ReactorResult<Resource> getAllSubject_as() {
0852:                return Base.getAll_as(this .model, this .getResource(), SUBJECT,
0853:                        Resource.class);
0854:            }
0855:
0856:            /**
0857:             * Adds a value to property Subject as an RDF2Go node 
0858:             * @param model an RDF2Go model
0859:             * @param resource an RDF2Go resource
0860:             * @param value the value to be added
0861:             *
0862:             * [Generated from RDFReactor template rule #add1static] 
0863:             */
0864:            public static void addSubject(Model model,
0865:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0866:                    org.ontoware.rdf2go.model.node.Node value) {
0867:                Base.add(model, instanceResource, SUBJECT, value);
0868:            }
0869:
0870:            /**
0871:             * Adds a value to property Subject as an RDF2Go node 
0872:             * @param value the value to be added
0873:             *
0874:             * [Generated from RDFReactor template rule #add1dynamic] 
0875:             */
0876:            public void addSubject(org.ontoware.rdf2go.model.node.Node value) {
0877:                Base.add(this .model, this .getResource(), SUBJECT, value);
0878:            }
0879:
0880:            /**
0881:             * Adds a value to property Subject from an instance of Resource 
0882:             * @param model an RDF2Go model
0883:             * @param resource an RDF2Go resource
0884:             *
0885:             * [Generated from RDFReactor template rule #add3static] 
0886:             */
0887:            public static void addSubject(Model model,
0888:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0889:                    Resource value) {
0890:                Base.add(model, instanceResource, SUBJECT, value);
0891:            }
0892:
0893:            /**
0894:             * Adds a value to property Subject from an instance of Resource 
0895:             *
0896:             * [Generated from RDFReactor template rule #add4dynamic] 
0897:             */
0898:            public void addSubject(Resource value) {
0899:                Base.add(this .model, this .getResource(), SUBJECT, value);
0900:            }
0901:
0902:            /**
0903:             * Sets a value of property Subject from an RDF2Go node.
0904:             * First, all existing values are removed, then this value is added.
0905:             * Cardinality constraints are not checked, but this method exists only for properties with
0906:             * no minCardinality or minCardinality == 1.
0907:             * @param model an RDF2Go model
0908:             * @param resource an RDF2Go resource
0909:             * @param value the value to be set
0910:             *
0911:             * [Generated from RDFReactor template rule #set1static] 
0912:             */
0913:            public static void setSubject(Model model,
0914:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0915:                    org.ontoware.rdf2go.model.node.Node value) {
0916:                Base.set(model, instanceResource, SUBJECT, value);
0917:            }
0918:
0919:            /**
0920:             * Sets a value of property Subject from an RDF2Go node.
0921:             * First, all existing values are removed, then this value is added.
0922:             * Cardinality constraints are not checked, but this method exists only for properties with
0923:             * no minCardinality or minCardinality == 1.
0924:             * @param value the value to be added
0925:             *
0926:             * [Generated from RDFReactor template rule #set1dynamic] 
0927:             */
0928:            public void setSubject(org.ontoware.rdf2go.model.node.Node value) {
0929:                Base.set(this .model, this .getResource(), SUBJECT, value);
0930:            }
0931:
0932:            /**
0933:             * Sets a value of property Subject from an instance of Resource 
0934:             * First, all existing values are removed, then this value is added.
0935:             * Cardinality constraints are not checked, but this method exists only for properties with
0936:             * no minCardinality or minCardinality == 1.
0937:             * @param model an RDF2Go model
0938:             * @param resource an RDF2Go resource
0939:             * @param value the value to be added
0940:             *
0941:             * [Generated from RDFReactor template rule #set3static] 
0942:             */
0943:            public static void setSubject(Model model,
0944:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0945:                    Resource value) {
0946:                Base.set(model, instanceResource, SUBJECT, value);
0947:            }
0948:
0949:            /**
0950:             * Sets a value of property Subject from an instance of Resource 
0951:             * First, all existing values are removed, then this value is added.
0952:             * Cardinality constraints are not checked, but this method exists only for properties with
0953:             * no minCardinality or minCardinality == 1.
0954:             * @param value the value to be added
0955:             *
0956:             * [Generated from RDFReactor template rule #set4dynamic] 
0957:             */
0958:            public void setSubject(Resource value) {
0959:                Base.set(this .model, this .getResource(), SUBJECT, value);
0960:            }
0961:
0962:            /**
0963:             * Removes a value of property Subject as an RDF2Go node 
0964:             * @param model an RDF2Go model
0965:             * @param resource an RDF2Go resource
0966:             * @param value the value to be removed
0967:             *
0968:             * [Generated from RDFReactor template rule #remove1static] 
0969:             */
0970:            public static void removeSubject(Model model,
0971:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0972:                    org.ontoware.rdf2go.model.node.Node value) {
0973:                Base.remove(model, instanceResource, SUBJECT, value);
0974:            }
0975:
0976:            /**
0977:             * Removes a value of property Subject as an RDF2Go node
0978:             * @param value the value to be removed
0979:             *
0980:             * [Generated from RDFReactor template rule #remove1dynamic] 
0981:             */
0982:            public void removeSubject(org.ontoware.rdf2go.model.node.Node value) {
0983:                Base.remove(this .model, this .getResource(), SUBJECT, value);
0984:            }
0985:
0986:            /**
0987:             * Removes a value of property Subject given as an instance of Resource 
0988:             * @param model an RDF2Go model
0989:             * @param resource an RDF2Go resource
0990:             * @param value the value to be removed
0991:             *
0992:             * [Generated from RDFReactor template rule #remove3static] 
0993:             */
0994:            public static void removeSubject(Model model,
0995:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0996:                    Resource value) {
0997:                Base.remove(model, instanceResource, SUBJECT, value);
0998:            }
0999:
1000:            /**
1001:             * Removes a value of property Subject given as an instance of Resource 
1002:             * @param value the value to be removed
1003:             *
1004:             * [Generated from RDFReactor template rule #remove4dynamic] 
1005:             */
1006:            public void removeSubject(Resource value) {
1007:                Base.remove(this .model, this .getResource(), SUBJECT, value);
1008:            }
1009:
1010:            /**
1011:             * Removes all values of property Subject     * @param model an RDF2Go model
1012:             * @param resource an RDF2Go resource
1013:             *
1014:             * [Generated from RDFReactor template rule #removeall1static] 
1015:             */
1016:            public static void removeAllSubject(Model model,
1017:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1018:                Base.removeAll(model, instanceResource, SUBJECT);
1019:            }
1020:
1021:            /**
1022:             * Removes all values of property Subject	 *
1023:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1024:             */
1025:            public void addSubject() {
1026:                Base.removeAll(this.model, this.getResource(), SUBJECT);
1027:            }
1028:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.