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