Source Code Cross Referenced for VersionedItem.java in  » Search-Engine » semweb4j » org » ontoware » semversion » impl » generated » 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.semversion.impl.generated 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /**
0002:         * generated by http://RDFReactor.semweb4j.org ($Id: CodeGenerator.java 1046 2008-01-26 14:38:26Z max.at.xam.de $) on 16.03.08 18:20
0003:         */package org.ontoware.semversion.impl.generated;
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:        import org.ontoware.rdfreactor.runtime.CardinalityException;
0014:
0015:        /**
0016:         * This class manages access to these properties:
0017:         * <ul>
0018:         *   <li> Author </li>
0019:         *   <li> CreationTime </li>
0020:         *   <li> Provenance </li>
0021:         *   <li> Tag </li>
0022:         *   <li> UserdefinedMetadata </li>
0023:         * </ul>
0024:         *
0025:         * This class was generated by <a href="http://RDFReactor.semweb4j.org">RDFReactor</a> on 16.03.08 18:20
0026:         */
0027:        public class VersionedItem extends Thing {
0028:
0029:            /** http://purl.org/net/semversion#VersionedItem */
0030:            public static final URI RDFS_CLASS = new URIImpl(
0031:                    "http://purl.org/net/semversion#VersionedItem", false);
0032:
0033:            /** http://purl.org/net/semversion#hasAuthor */
0034:            public static final URI AUTHOR = new URIImpl(
0035:                    "http://purl.org/net/semversion#hasAuthor", false);
0036:
0037:            /** http://purl.org/net/semversion#hasCreationTime */
0038:            public static final URI CREATIONTIME = new URIImpl(
0039:                    "http://purl.org/net/semversion#hasCreationTime", false);
0040:
0041:            /** http://purl.org/net/semversion#hasProvenance */
0042:            public static final URI PROVENANCE = new URIImpl(
0043:                    "http://purl.org/net/semversion#hasProvenance", false);
0044:
0045:            /** http://purl.org/net/semversion#hasTag */
0046:            public static final URI TAG = new URIImpl(
0047:                    "http://purl.org/net/semversion#hasTag", false);
0048:
0049:            /** http://purl.org/net/semversion#hasUserdefinedMetadata */
0050:            public static final URI USERDEFINEDMETADATA = new URIImpl(
0051:                    "http://purl.org/net/semversion#hasUserdefinedMetadata",
0052:                    false);
0053:
0054:            /** all property-URIs with this class as domain */
0055:            public static final URI[] MANAGED_URIS = {
0056:                    new URIImpl("http://purl.org/net/semversion#hasAuthor",
0057:                            false),
0058:                    new URIImpl(
0059:                            "http://purl.org/net/semversion#hasCreationTime",
0060:                            false),
0061:                    new URIImpl("http://purl.org/net/semversion#hasProvenance",
0062:                            false),
0063:                    new URIImpl("http://purl.org/net/semversion#hasTag", false),
0064:                    new URIImpl(
0065:                            "http://purl.org/net/semversion#hasUserdefinedMetadata",
0066:                            false) };
0067:
0068:            // protected constructors needed for inheritance
0069:
0070:            /**
0071:             * Returns a Java wrapper over an RDF object, identified by URI.
0072:             * Creating two wrappers for the same instanceURI is legal.
0073:             * @param model RDF2GO Model implementation, see http://rdf2go.semweb4j.org
0074:             * @param classURI URI of RDFS class
0075:             * @param instanceIdentifier Resource that identifies this instance
0076:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0077:             *
0078:             * [Generated from RDFReactor template rule #c1] 
0079:             */
0080:            protected VersionedItem(Model model, URI classURI,
0081:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0082:                    boolean write) {
0083:                super (model, classURI, instanceIdentifier, write);
0084:            }
0085:
0086:            // public constructors
0087:
0088:            /**
0089:             * Returns a Java wrapper over an RDF object, identified by URI.
0090:             * Creating two wrappers for the same instanceURI is legal.
0091:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0092:             * @param instanceIdentifier an RDF2Go Resource identifying this instance
0093:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0094:             *
0095:             * [Generated from RDFReactor template rule #c2] 
0096:             */
0097:            public VersionedItem(Model model,
0098:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0099:                    boolean write) {
0100:                super (model, RDFS_CLASS, instanceIdentifier, write);
0101:            }
0102:
0103:            /**
0104:             * Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
0105:             * Creating two wrappers for the same URI is legal.
0106:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0107:             * @param uriString a URI given as a String
0108:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0109:             * @throws ModelRuntimeException if URI syntax is wrong
0110:             *
0111:             * [Generated from RDFReactor template rule #c7] 
0112:             */
0113:            public VersionedItem(Model model, String uriString, boolean write)
0114:                    throws ModelRuntimeException {
0115:                super (model, RDFS_CLASS, new URIImpl(uriString, false), write);
0116:            }
0117:
0118:            /**
0119:             * Returns a Java wrapper over an RDF object, identified by a blank node.
0120:             * Creating two wrappers for the same blank node is legal.
0121:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0122:             * @param bnode BlankNode of this instance
0123:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0124:             *
0125:             * [Generated from RDFReactor template rule #c8] 
0126:             */
0127:            public VersionedItem(Model model, BlankNode bnode, boolean write) {
0128:                super (model, RDFS_CLASS, bnode, write);
0129:            }
0130:
0131:            /**
0132:             * Returns a Java wrapper over an RDF object, identified by 
0133:             * a randomly generated URI.
0134:             * Creating two wrappers results in different URIs.
0135:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0136:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0137:             *
0138:             * [Generated from RDFReactor template rule #c9] 
0139:             */
0140:            public VersionedItem(Model model, boolean write) {
0141:                super (model, RDFS_CLASS, model.newRandomUniqueURI(), write);
0142:            }
0143:
0144:            ///////////////////////////////////////////////////////////////////
0145:            // typing
0146:
0147:            /**
0148:             * Create a new instance of this class in the model. 
0149:             * That is, create the statement (instanceResource, RDF.type, http://purl.org/net/semversion#VersionedItem).
0150:             * @param model an RDF2Go model
0151:             * @param instanceResource an RDF2Go resource
0152:             *
0153:             * [Generated from RDFReactor template rule #class1] 
0154:             */
0155:            public static void createInstance(Model model,
0156:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0157:                Base.createInstance(model, RDFS_CLASS, instanceResource);
0158:            }
0159:
0160:            /**
0161:             * @param model an RDF2Go model
0162:             * @param instanceResource an RDF2Go resource
0163:             * @return true if instanceResource is an instance of this class in the model
0164:             *
0165:             * [Generated from RDFReactor template rule #class2] 
0166:             */
0167:            public static boolean hasInstance(Model model,
0168:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0169:                return Base.hasInstance(model, RDFS_CLASS, instanceResource);
0170:            }
0171:
0172:            /**
0173:             * @param model an RDF2Go model
0174:             * @return all instances of this class in Model 'model' as RDF resources
0175:             *
0176:             * [Generated from RDFReactor template rule #class3] 
0177:             */
0178:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllInstances(
0179:                    Model model) {
0180:                return Base.getAllInstances(model, RDFS_CLASS,
0181:                        org.ontoware.rdf2go.model.node.Resource.class);
0182:            }
0183:
0184:            /**
0185:             * @param model an RDF2Go model
0186:             * @return all instances of this class in Model 'model' as a ReactorResult,
0187:             * which can conveniently be converted to iterator, list or array.
0188:             *
0189:             * [Generated from RDFReactor template rule #class3-as] 
0190:             */
0191:            public static ReactorResult<? extends VersionedItem> getAllInstance_as(
0192:                    Model model) {
0193:                return Base.getAllInstances_as(model, RDFS_CLASS,
0194:                        VersionedItem.class);
0195:            }
0196:
0197:            /**
0198:             * Delete all rdf:type from this instance. Other triples are not affected.
0199:             * To delete more, use deleteAllProperties
0200:             * @param model an RDF2Go model
0201:             * @param instanceResource an RDF2Go resource
0202:             *
0203:             * [Generated from RDFReactor template rule #class4] 
0204:             */
0205:            public static void deleteInstance(Model model,
0206:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0207:                Base.deleteInstance(model, RDFS_CLASS, instanceResource);
0208:            }
0209:
0210:            /**
0211:             * Delete all (this, *, *), i.e. including rdf:type
0212:             * @param model an RDF2Go model
0213:             * @param resource
0214:             */
0215:            public static void deleteAllProperties(Model model,
0216:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0217:                Base.deleteAllProperties(model, instanceResource);
0218:            }
0219:
0220:            ///////////////////////////////////////////////////////////////////
0221:            // property access methods
0222:
0223:            /**
0224:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@7f8922 has at least one value set 
0225:             * @param model an RDF2Go model
0226:             * @param resource an RDF2Go resource
0227:             * @return true if this property has at least one value
0228:             *
0229:             * [Generated from RDFReactor template rule #get0has-static] 
0230:             */
0231:            public static boolean hasAuthor(Model model,
0232:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0233:                return Base.has(model, instanceResource, AUTHOR);
0234:            }
0235:
0236:            /**
0237:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@7f8922 has at least one value set 
0238:             * @return true if this property has at least one value
0239:             *
0240:             * [Generated from RDFReactor template rule #get0has-dynamic] 
0241:             */
0242:            public boolean hasAuthor() {
0243:                return Base.has(this .model, this .getResource(), AUTHOR);
0244:            }
0245:
0246:            /**
0247:             * Get single value of property Author as an RDF2Go node 
0248:             * @param model an RDF2Go model
0249:             * @param resource an RDF2Go resource
0250:             * @return the single value or null if no value is found
0251:             * @throws RDFDataException at runtime, if the property has multiple values
0252:             *
0253:             * [Generated from RDFReactor template rule #get1static] 
0254:             */
0255:            public static org.ontoware.rdf2go.model.node.Node getAuthor_asNode(
0256:                    Model model,
0257:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0258:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0259:                        model, instanceResource, AUTHOR);
0260:            }
0261:
0262:            /**
0263:             * Get single value of property Author as an RDF2Go node 
0264:             * @return the single value or null if no value is found
0265:             * @throws RDFDataException, if the property has multiple values
0266:             *
0267:             * [Generated from RDFReactor template rule #get2dynamic] 
0268:             */
0269:            public org.ontoware.rdf2go.model.node.Node getAuthor_asNode() {
0270:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0271:                        this .model, this .getResource(), AUTHOR);
0272:            }
0273:
0274:            /**
0275:             * Get single value of property Author     * @param model an RDF2Go model
0276:             * @param resource an RDF2Go resource
0277:             * @return the single value or null if no value is found
0278:             * @throws RDFDataException, if the property has multiple values
0279:             *
0280:             * [Generated from RDFReactor template rule #get5static] 
0281:             */
0282:            public static User getAuthor(Model model,
0283:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0284:                return (User) Base.get(model, instanceResource, AUTHOR,
0285:                        User.class);
0286:            }
0287:
0288:            /**
0289:             * Get single value of property Author     * @return the single value or null if no value is found
0290:             * @throws RDFDataException, if the property has multiple values
0291:             *
0292:             * [Generated from RDFReactor template rule #get6dynamic] 
0293:             */
0294:            public User getAuthor() {
0295:                return (User) Base.get(this .model, this .getResource(), AUTHOR,
0296:                        User.class);
0297:            }
0298:
0299:            /**
0300:             * Adds a value to property Author as an RDF2Go node 
0301:             * @param model an RDF2Go model
0302:             * @param resource an RDF2Go resource
0303:             * @param value the value to be added
0304:             * @throws CardinalityException if adding a value would bring the number 
0305:             *            of property values above the cardinality constraint.
0306:             *
0307:             * [Generated from RDFReactor template rule #add5static] 
0308:             */
0309:            public static void addAuthor(Model model,
0310:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0311:                    org.ontoware.rdf2go.model.node.Node value)
0312:                    throws CardinalityException {
0313:                Base.add(model, instanceResource, AUTHOR, value, 1);
0314:            }
0315:
0316:            /**
0317:             * Adds a value to property Author as an RDF2Go node 
0318:             * @param value the value to be added
0319:             * @throws CardinalityException if adding a value would bring the number 
0320:             *            of property values above the cardinality constraint.
0321:             *
0322:             * [Generated from RDFReactor template rule #add6dynamic] 
0323:             */
0324:            public void addAuthor(org.ontoware.rdf2go.model.node.Node value)
0325:                    throws CardinalityException {
0326:                Base.add(this .model, this .getResource(), AUTHOR, value, 1);
0327:            }
0328:
0329:            /**
0330:             * Adds a value to property Author from an instance of User 
0331:             * @param model an RDF2Go model
0332:             * @param resource an RDF2Go resource
0333:             * @throws CardinalityException if adding a value would bring the number 
0334:             *            of property values above the cardinality constraint.
0335:             *
0336:             * [Generated from RDFReactor template rule #add7static] 
0337:             */
0338:            public static void addAuthor(Model model,
0339:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0340:                    User value) throws CardinalityException {
0341:                Base.add(model, instanceResource, AUTHOR, value, 1);
0342:            }
0343:
0344:            /**
0345:             * Adds a value to property Author from an instance of User 
0346:             * @throws CardinalityException if adding a value would bring the number 
0347:             *            of property values above the cardinality constraint.
0348:             *
0349:             * [Generated from RDFReactor template rule #add8dynamic] 
0350:             */
0351:            public void addAuthor(User value) throws CardinalityException {
0352:                Base.add(this .model, this .getResource(), AUTHOR, value, 1);
0353:            }
0354:
0355:            /**
0356:             * Sets a value of property Author from an RDF2Go node.
0357:             * First, all existing values are removed, then this value is added.
0358:             * Cardinality constraints are not checked, but this method exists only for properties with
0359:             * no minCardinality or minCardinality == 1.
0360:             * @param model an RDF2Go model
0361:             * @param resource an RDF2Go resource
0362:             * @param value the value to be set
0363:             *
0364:             * [Generated from RDFReactor template rule #set1static] 
0365:             */
0366:            public static void setAuthor(Model model,
0367:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0368:                    org.ontoware.rdf2go.model.node.Node value) {
0369:                Base.set(model, instanceResource, AUTHOR, value);
0370:            }
0371:
0372:            /**
0373:             * Sets a value of property Author from an RDF2Go node.
0374:             * First, all existing values are removed, then this value is added.
0375:             * Cardinality constraints are not checked, but this method exists only for properties with
0376:             * no minCardinality or minCardinality == 1.
0377:             * @param value the value to be added
0378:             *
0379:             * [Generated from RDFReactor template rule #set1dynamic] 
0380:             */
0381:            public void setAuthor(org.ontoware.rdf2go.model.node.Node value) {
0382:                Base.set(this .model, this .getResource(), AUTHOR, value);
0383:            }
0384:
0385:            /**
0386:             * Sets a value of property Author from an instance of User 
0387:             * First, all existing values are removed, then this value is added.
0388:             * Cardinality constraints are not checked, but this method exists only for properties with
0389:             * no minCardinality or minCardinality == 1.
0390:             * @param model an RDF2Go model
0391:             * @param resource an RDF2Go resource
0392:             * @param value the value to be added
0393:             *
0394:             * [Generated from RDFReactor template rule #set3static] 
0395:             */
0396:            public static void setAuthor(Model model,
0397:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0398:                    User value) {
0399:                Base.set(model, instanceResource, AUTHOR, value);
0400:            }
0401:
0402:            /**
0403:             * Sets a value of property Author from an instance of User 
0404:             * First, all existing values are removed, then this value is added.
0405:             * Cardinality constraints are not checked, but this method exists only for properties with
0406:             * no minCardinality or minCardinality == 1.
0407:             * @param value the value to be added
0408:             *
0409:             * [Generated from RDFReactor template rule #set4dynamic] 
0410:             */
0411:            public void setAuthor(User value) {
0412:                Base.set(this .model, this .getResource(), AUTHOR, value);
0413:            }
0414:
0415:            /**
0416:             * Removes a value of property Author as an RDF2Go node 
0417:             * @param model an RDF2Go model
0418:             * @param resource an RDF2Go resource
0419:             * @param value the value to be removed
0420:             *
0421:             * [Generated from RDFReactor template rule #remove1static] 
0422:             */
0423:            public static void removeAuthor(Model model,
0424:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0425:                    org.ontoware.rdf2go.model.node.Node value) {
0426:                Base.remove(model, instanceResource, AUTHOR, value);
0427:            }
0428:
0429:            /**
0430:             * Removes a value of property Author as an RDF2Go node
0431:             * @param value the value to be removed
0432:             *
0433:             * [Generated from RDFReactor template rule #remove1dynamic] 
0434:             */
0435:            public void removeAuthor(org.ontoware.rdf2go.model.node.Node value) {
0436:                Base.remove(this .model, this .getResource(), AUTHOR, value);
0437:            }
0438:
0439:            /**
0440:             * Removes a value of property Author given as an instance of User 
0441:             * @param model an RDF2Go model
0442:             * @param resource an RDF2Go resource
0443:             * @param value the value to be removed
0444:             *
0445:             * [Generated from RDFReactor template rule #remove3static] 
0446:             */
0447:            public static void removeAuthor(Model model,
0448:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0449:                    User value) {
0450:                Base.remove(model, instanceResource, AUTHOR, value);
0451:            }
0452:
0453:            /**
0454:             * Removes a value of property Author given as an instance of User 
0455:             * @param value the value to be removed
0456:             *
0457:             * [Generated from RDFReactor template rule #remove4dynamic] 
0458:             */
0459:            public void removeAuthor(User value) {
0460:                Base.remove(this .model, this .getResource(), AUTHOR, value);
0461:            }
0462:
0463:            /**
0464:             * Removes all values of property Author     * @param model an RDF2Go model
0465:             * @param resource an RDF2Go resource
0466:             *
0467:             * [Generated from RDFReactor template rule #removeall1static] 
0468:             */
0469:            public static void removeAllAuthor(Model model,
0470:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0471:                Base.removeAll(model, instanceResource, AUTHOR);
0472:            }
0473:
0474:            /**
0475:             * Removes all values of property Author	 *
0476:             * [Generated from RDFReactor template rule #removeall1dynamic] 
0477:             */
0478:            public void addAuthor() {
0479:                Base.removeAll(this .model, this .getResource(), AUTHOR);
0480:            }
0481:
0482:            /**
0483:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@14323d5 has at least one value set 
0484:             * @param model an RDF2Go model
0485:             * @param resource an RDF2Go resource
0486:             * @return true if this property has at least one value
0487:             *
0488:             * [Generated from RDFReactor template rule #get0has-static] 
0489:             */
0490:            public static boolean hasCreationTime(Model model,
0491:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0492:                return Base.has(model, instanceResource, CREATIONTIME);
0493:            }
0494:
0495:            /**
0496:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@14323d5 has at least one value set 
0497:             * @return true if this property has at least one value
0498:             *
0499:             * [Generated from RDFReactor template rule #get0has-dynamic] 
0500:             */
0501:            public boolean hasCreationTime() {
0502:                return Base.has(this .model, this .getResource(), CREATIONTIME);
0503:            }
0504:
0505:            /**
0506:             * Get single value of property CreationTime as an RDF2Go node 
0507:             * @param model an RDF2Go model
0508:             * @param resource an RDF2Go resource
0509:             * @return the single value or null if no value is found
0510:             * @throws RDFDataException at runtime, if the property has multiple values
0511:             *
0512:             * [Generated from RDFReactor template rule #get1static] 
0513:             */
0514:            public static org.ontoware.rdf2go.model.node.Node getCreationTime_asNode(
0515:                    Model model,
0516:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0517:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0518:                        model, instanceResource, CREATIONTIME);
0519:            }
0520:
0521:            /**
0522:             * Get single value of property CreationTime as an RDF2Go node 
0523:             * @return the single value or null if no value is found
0524:             * @throws RDFDataException, if the property has multiple values
0525:             *
0526:             * [Generated from RDFReactor template rule #get2dynamic] 
0527:             */
0528:            public org.ontoware.rdf2go.model.node.Node getCreationTime_asNode() {
0529:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0530:                        this .model, this .getResource(), CREATIONTIME);
0531:            }
0532:
0533:            /**
0534:             * Get single value of property CreationTime     * @param model an RDF2Go model
0535:             * @param resource an RDF2Go resource
0536:             * @return the single value or null if no value is found
0537:             * @throws RDFDataException, if the property has multiple values
0538:             *
0539:             * [Generated from RDFReactor template rule #get5static] 
0540:             */
0541:            public static java.util.Calendar getCreationTime(Model model,
0542:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0543:                return (java.util.Calendar) Base.get(model, instanceResource,
0544:                        CREATIONTIME, java.util.Calendar.class);
0545:            }
0546:
0547:            /**
0548:             * Get single value of property CreationTime     * @return the single value or null if no value is found
0549:             * @throws RDFDataException, if the property has multiple values
0550:             *
0551:             * [Generated from RDFReactor template rule #get6dynamic] 
0552:             */
0553:            public java.util.Calendar getCreationTime() {
0554:                return (java.util.Calendar) Base.get(this .model, this 
0555:                        .getResource(), CREATIONTIME, java.util.Calendar.class);
0556:            }
0557:
0558:            /**
0559:             * Adds a value to property CreationTime as an RDF2Go node 
0560:             * @param model an RDF2Go model
0561:             * @param resource an RDF2Go resource
0562:             * @param value the value to be added
0563:             * @throws CardinalityException if adding a value would bring the number 
0564:             *            of property values above the cardinality constraint.
0565:             *
0566:             * [Generated from RDFReactor template rule #add5static] 
0567:             */
0568:            public static void addCreationTime(Model model,
0569:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0570:                    org.ontoware.rdf2go.model.node.Node value)
0571:                    throws CardinalityException {
0572:                Base.add(model, instanceResource, CREATIONTIME, value, 1);
0573:            }
0574:
0575:            /**
0576:             * Adds a value to property CreationTime as an RDF2Go node 
0577:             * @param value the value to be added
0578:             * @throws CardinalityException if adding a value would bring the number 
0579:             *            of property values above the cardinality constraint.
0580:             *
0581:             * [Generated from RDFReactor template rule #add6dynamic] 
0582:             */
0583:            public void addCreationTime(
0584:                    org.ontoware.rdf2go.model.node.Node value)
0585:                    throws CardinalityException {
0586:                Base
0587:                        .add(this .model, this .getResource(), CREATIONTIME,
0588:                                value, 1);
0589:            }
0590:
0591:            /**
0592:             * Adds a value to property CreationTime from an instance of java.util.Calendar 
0593:             * @param model an RDF2Go model
0594:             * @param resource an RDF2Go resource
0595:             * @throws CardinalityException if adding a value would bring the number 
0596:             *            of property values above the cardinality constraint.
0597:             *
0598:             * [Generated from RDFReactor template rule #add7static] 
0599:             */
0600:            public static void addCreationTime(Model model,
0601:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0602:                    java.util.Calendar value) throws CardinalityException {
0603:                Base.add(model, instanceResource, CREATIONTIME, value, 1);
0604:            }
0605:
0606:            /**
0607:             * Adds a value to property CreationTime from an instance of java.util.Calendar 
0608:             * @throws CardinalityException if adding a value would bring the number 
0609:             *            of property values above the cardinality constraint.
0610:             *
0611:             * [Generated from RDFReactor template rule #add8dynamic] 
0612:             */
0613:            public void addCreationTime(java.util.Calendar value)
0614:                    throws CardinalityException {
0615:                Base
0616:                        .add(this .model, this .getResource(), CREATIONTIME,
0617:                                value, 1);
0618:            }
0619:
0620:            /**
0621:             * Sets a value of property CreationTime from an RDF2Go node.
0622:             * First, all existing values are removed, then this value is added.
0623:             * Cardinality constraints are not checked, but this method exists only for properties with
0624:             * no minCardinality or minCardinality == 1.
0625:             * @param model an RDF2Go model
0626:             * @param resource an RDF2Go resource
0627:             * @param value the value to be set
0628:             *
0629:             * [Generated from RDFReactor template rule #set1static] 
0630:             */
0631:            public static void setCreationTime(Model model,
0632:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0633:                    org.ontoware.rdf2go.model.node.Node value) {
0634:                Base.set(model, instanceResource, CREATIONTIME, value);
0635:            }
0636:
0637:            /**
0638:             * Sets a value of property CreationTime from an RDF2Go node.
0639:             * First, all existing values are removed, then this value is added.
0640:             * Cardinality constraints are not checked, but this method exists only for properties with
0641:             * no minCardinality or minCardinality == 1.
0642:             * @param value the value to be added
0643:             *
0644:             * [Generated from RDFReactor template rule #set1dynamic] 
0645:             */
0646:            public void setCreationTime(
0647:                    org.ontoware.rdf2go.model.node.Node value) {
0648:                Base.set(this .model, this .getResource(), CREATIONTIME, value);
0649:            }
0650:
0651:            /**
0652:             * Sets a value of property CreationTime from an instance of java.util.Calendar 
0653:             * First, all existing values are removed, then this value is added.
0654:             * Cardinality constraints are not checked, but this method exists only for properties with
0655:             * no minCardinality or minCardinality == 1.
0656:             * @param model an RDF2Go model
0657:             * @param resource an RDF2Go resource
0658:             * @param value the value to be added
0659:             *
0660:             * [Generated from RDFReactor template rule #set3static] 
0661:             */
0662:            public static void setCreationTime(Model model,
0663:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0664:                    java.util.Calendar value) {
0665:                Base.set(model, instanceResource, CREATIONTIME, value);
0666:            }
0667:
0668:            /**
0669:             * Sets a value of property CreationTime from an instance of java.util.Calendar 
0670:             * First, all existing values are removed, then this value is added.
0671:             * Cardinality constraints are not checked, but this method exists only for properties with
0672:             * no minCardinality or minCardinality == 1.
0673:             * @param value the value to be added
0674:             *
0675:             * [Generated from RDFReactor template rule #set4dynamic] 
0676:             */
0677:            public void setCreationTime(java.util.Calendar value) {
0678:                Base.set(this .model, this .getResource(), CREATIONTIME, value);
0679:            }
0680:
0681:            /**
0682:             * Removes a value of property CreationTime as an RDF2Go node 
0683:             * @param model an RDF2Go model
0684:             * @param resource an RDF2Go resource
0685:             * @param value the value to be removed
0686:             * @throws CardinalityException if removing a value would bring the number 
0687:             *            of property values below the cardinality constraint.
0688:             *
0689:             * [Generated from RDFReactor template rule #remove5static] 
0690:             */
0691:            public static void removeCreationTime(Model model,
0692:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0693:                    org.ontoware.rdf2go.model.node.Node value)
0694:                    throws CardinalityException {
0695:                Base.remove(model, instanceResource, CREATIONTIME, value, 1);
0696:            }
0697:
0698:            /**
0699:             * Removes a value of property CreationTime as an RDF2Go node 
0700:             * @param value the value to be removed
0701:             * @throws CardinalityException if removing a value would bring the number 
0702:             *            of property values below the cardinality constraint.
0703:             *
0704:             * [Generated from RDFReactor template rule #remove6dynamic] 
0705:             */
0706:            public void removeCreationTime(
0707:                    org.ontoware.rdf2go.model.node.Node value)
0708:                    throws CardinalityException {
0709:                Base.remove(this .model, this .getResource(), CREATIONTIME,
0710:                        value, 1);
0711:            }
0712:
0713:            /**
0714:             * Removes a value of property CreationTime from an instance of java.util.Calendar 
0715:             * @param model an RDF2Go model
0716:             * @param resource an RDF2Go resource
0717:             * @param value the value to be removed
0718:             * @throws CardinalityException if removing a value would bring the number 
0719:             *            of property values below the cardinality constraint.
0720:             *
0721:             * [Generated from RDFReactor template rule #remove7static] 
0722:             */
0723:            public static void removeCreationTime(Model model,
0724:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0725:                    java.util.Calendar value) throws CardinalityException {
0726:                Base.remove(model, instanceResource, CREATIONTIME, value, 1);
0727:            }
0728:
0729:            /**
0730:             * Removes a value of property CreationTime from an instance of java.util.Calendar 
0731:             * @param value the value to be removed
0732:             * @throws CardinalityException if removing a value would bring the number 
0733:             *            of property values below the cardinality constraint.
0734:             *
0735:             * [Generated from RDFReactor template rule #remove8dynamic] 
0736:             */
0737:            public void removeCreationTime(java.util.Calendar value)
0738:                    throws CardinalityException {
0739:                Base.remove(this .model, this .getResource(), CREATIONTIME,
0740:                        value, 1);
0741:            }
0742:
0743:            /**
0744:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@14aa2db has at least one value set 
0745:             * @param model an RDF2Go model
0746:             * @param resource an RDF2Go resource
0747:             * @return true if this property has at least one value
0748:             *
0749:             * [Generated from RDFReactor template rule #get0has-static] 
0750:             */
0751:            public static boolean hasProvenance(Model model,
0752:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0753:                return Base.has(model, instanceResource, PROVENANCE);
0754:            }
0755:
0756:            /**
0757:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@14aa2db has at least one value set 
0758:             * @return true if this property has at least one value
0759:             *
0760:             * [Generated from RDFReactor template rule #get0has-dynamic] 
0761:             */
0762:            public boolean hasProvenance() {
0763:                return Base.has(this .model, this .getResource(), PROVENANCE);
0764:            }
0765:
0766:            /**
0767:             * Get single value of property Provenance as an RDF2Go node 
0768:             * @param model an RDF2Go model
0769:             * @param resource an RDF2Go resource
0770:             * @return the single value or null if no value is found
0771:             * @throws RDFDataException at runtime, if the property has multiple values
0772:             *
0773:             * [Generated from RDFReactor template rule #get1static] 
0774:             */
0775:            public static org.ontoware.rdf2go.model.node.Node getProvenance_asNode(
0776:                    Model model,
0777:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0778:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0779:                        model, instanceResource, PROVENANCE);
0780:            }
0781:
0782:            /**
0783:             * Get single value of property Provenance as an RDF2Go node 
0784:             * @return the single value or null if no value is found
0785:             * @throws RDFDataException, if the property has multiple values
0786:             *
0787:             * [Generated from RDFReactor template rule #get2dynamic] 
0788:             */
0789:            public org.ontoware.rdf2go.model.node.Node getProvenance_asNode() {
0790:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0791:                        this .model, this .getResource(), PROVENANCE);
0792:            }
0793:
0794:            /**
0795:             * Get single value of property Provenance     * @param model an RDF2Go model
0796:             * @param resource an RDF2Go resource
0797:             * @return the single value or null if no value is found
0798:             * @throws RDFDataException, if the property has multiple values
0799:             *
0800:             * [Generated from RDFReactor template rule #get5static] 
0801:             */
0802:            public static org.ontoware.rdf2go.model.node.URI getProvenance(
0803:                    Model model,
0804:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0805:                return (org.ontoware.rdf2go.model.node.URI) Base.get(model,
0806:                        instanceResource, PROVENANCE,
0807:                        org.ontoware.rdf2go.model.node.URI.class);
0808:            }
0809:
0810:            /**
0811:             * Get single value of property Provenance     * @return the single value or null if no value is found
0812:             * @throws RDFDataException, if the property has multiple values
0813:             *
0814:             * [Generated from RDFReactor template rule #get6dynamic] 
0815:             */
0816:            public org.ontoware.rdf2go.model.node.URI getProvenance() {
0817:                return (org.ontoware.rdf2go.model.node.URI) Base.get(
0818:                        this .model, this .getResource(), PROVENANCE,
0819:                        org.ontoware.rdf2go.model.node.URI.class);
0820:            }
0821:
0822:            /**
0823:             * Adds a value to property Provenance as an RDF2Go node 
0824:             * @param model an RDF2Go model
0825:             * @param resource an RDF2Go resource
0826:             * @param value the value to be added
0827:             * @throws CardinalityException if adding a value would bring the number 
0828:             *            of property values above the cardinality constraint.
0829:             *
0830:             * [Generated from RDFReactor template rule #add5static] 
0831:             */
0832:            public static void addProvenance(Model model,
0833:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0834:                    org.ontoware.rdf2go.model.node.Node value)
0835:                    throws CardinalityException {
0836:                Base.add(model, instanceResource, PROVENANCE, value, 1);
0837:            }
0838:
0839:            /**
0840:             * Adds a value to property Provenance as an RDF2Go node 
0841:             * @param value the value to be added
0842:             * @throws CardinalityException if adding a value would bring the number 
0843:             *            of property values above the cardinality constraint.
0844:             *
0845:             * [Generated from RDFReactor template rule #add6dynamic] 
0846:             */
0847:            public void addProvenance(org.ontoware.rdf2go.model.node.Node value)
0848:                    throws CardinalityException {
0849:                Base.add(this .model, this .getResource(), PROVENANCE, value, 1);
0850:            }
0851:
0852:            /**
0853:             * Adds a value to property Provenance from an instance of org.ontoware.rdf2go.model.node.URI 
0854:             * @param model an RDF2Go model
0855:             * @param resource an RDF2Go resource
0856:             * @throws CardinalityException if adding a value would bring the number 
0857:             *            of property values above the cardinality constraint.
0858:             *
0859:             * [Generated from RDFReactor template rule #add7static] 
0860:             */
0861:            public static void addProvenance(Model model,
0862:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0863:                    org.ontoware.rdf2go.model.node.URI value)
0864:                    throws CardinalityException {
0865:                Base.add(model, instanceResource, PROVENANCE, value, 1);
0866:            }
0867:
0868:            /**
0869:             * Adds a value to property Provenance from an instance of org.ontoware.rdf2go.model.node.URI 
0870:             * @throws CardinalityException if adding a value would bring the number 
0871:             *            of property values above the cardinality constraint.
0872:             *
0873:             * [Generated from RDFReactor template rule #add8dynamic] 
0874:             */
0875:            public void addProvenance(org.ontoware.rdf2go.model.node.URI value)
0876:                    throws CardinalityException {
0877:                Base.add(this .model, this .getResource(), PROVENANCE, value, 1);
0878:            }
0879:
0880:            /**
0881:             * Sets a value of property Provenance from an RDF2Go node.
0882:             * First, all existing values are removed, then this value is added.
0883:             * Cardinality constraints are not checked, but this method exists only for properties with
0884:             * no minCardinality or minCardinality == 1.
0885:             * @param model an RDF2Go model
0886:             * @param resource an RDF2Go resource
0887:             * @param value the value to be set
0888:             *
0889:             * [Generated from RDFReactor template rule #set1static] 
0890:             */
0891:            public static void setProvenance(Model model,
0892:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0893:                    org.ontoware.rdf2go.model.node.Node value) {
0894:                Base.set(model, instanceResource, PROVENANCE, value);
0895:            }
0896:
0897:            /**
0898:             * Sets a value of property Provenance from an RDF2Go node.
0899:             * First, all existing values are removed, then this value is added.
0900:             * Cardinality constraints are not checked, but this method exists only for properties with
0901:             * no minCardinality or minCardinality == 1.
0902:             * @param value the value to be added
0903:             *
0904:             * [Generated from RDFReactor template rule #set1dynamic] 
0905:             */
0906:            public void setProvenance(org.ontoware.rdf2go.model.node.Node value) {
0907:                Base.set(this .model, this .getResource(), PROVENANCE, value);
0908:            }
0909:
0910:            /**
0911:             * Sets a value of property Provenance from an instance of org.ontoware.rdf2go.model.node.URI 
0912:             * First, all existing values are removed, then this value is added.
0913:             * Cardinality constraints are not checked, but this method exists only for properties with
0914:             * no minCardinality or minCardinality == 1.
0915:             * @param model an RDF2Go model
0916:             * @param resource an RDF2Go resource
0917:             * @param value the value to be added
0918:             *
0919:             * [Generated from RDFReactor template rule #set3static] 
0920:             */
0921:            public static void setProvenance(Model model,
0922:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0923:                    org.ontoware.rdf2go.model.node.URI value) {
0924:                Base.set(model, instanceResource, PROVENANCE, value);
0925:            }
0926:
0927:            /**
0928:             * Sets a value of property Provenance from an instance of org.ontoware.rdf2go.model.node.URI 
0929:             * First, all existing values are removed, then this value is added.
0930:             * Cardinality constraints are not checked, but this method exists only for properties with
0931:             * no minCardinality or minCardinality == 1.
0932:             * @param value the value to be added
0933:             *
0934:             * [Generated from RDFReactor template rule #set4dynamic] 
0935:             */
0936:            public void setProvenance(org.ontoware.rdf2go.model.node.URI value) {
0937:                Base.set(this .model, this .getResource(), PROVENANCE, value);
0938:            }
0939:
0940:            /**
0941:             * Removes a value of property Provenance as an RDF2Go node 
0942:             * @param model an RDF2Go model
0943:             * @param resource an RDF2Go resource
0944:             * @param value the value to be removed
0945:             *
0946:             * [Generated from RDFReactor template rule #remove1static] 
0947:             */
0948:            public static void removeProvenance(Model model,
0949:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0950:                    org.ontoware.rdf2go.model.node.Node value) {
0951:                Base.remove(model, instanceResource, PROVENANCE, value);
0952:            }
0953:
0954:            /**
0955:             * Removes a value of property Provenance as an RDF2Go node
0956:             * @param value the value to be removed
0957:             *
0958:             * [Generated from RDFReactor template rule #remove1dynamic] 
0959:             */
0960:            public void removeProvenance(
0961:                    org.ontoware.rdf2go.model.node.Node value) {
0962:                Base.remove(this .model, this .getResource(), PROVENANCE, value);
0963:            }
0964:
0965:            /**
0966:             * Removes a value of property Provenance given as an instance of org.ontoware.rdf2go.model.node.URI 
0967:             * @param model an RDF2Go model
0968:             * @param resource an RDF2Go resource
0969:             * @param value the value to be removed
0970:             *
0971:             * [Generated from RDFReactor template rule #remove3static] 
0972:             */
0973:            public static void removeProvenance(Model model,
0974:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0975:                    org.ontoware.rdf2go.model.node.URI value) {
0976:                Base.remove(model, instanceResource, PROVENANCE, value);
0977:            }
0978:
0979:            /**
0980:             * Removes a value of property Provenance given as an instance of org.ontoware.rdf2go.model.node.URI 
0981:             * @param value the value to be removed
0982:             *
0983:             * [Generated from RDFReactor template rule #remove4dynamic] 
0984:             */
0985:            public void removeProvenance(
0986:                    org.ontoware.rdf2go.model.node.URI value) {
0987:                Base.remove(this .model, this .getResource(), PROVENANCE, value);
0988:            }
0989:
0990:            /**
0991:             * Removes all values of property Provenance     * @param model an RDF2Go model
0992:             * @param resource an RDF2Go resource
0993:             *
0994:             * [Generated from RDFReactor template rule #removeall1static] 
0995:             */
0996:            public static void removeAllProvenance(Model model,
0997:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0998:                Base.removeAll(model, instanceResource, PROVENANCE);
0999:            }
1000:
1001:            /**
1002:             * Removes all values of property Provenance	 *
1003:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1004:             */
1005:            public void addProvenance() {
1006:                Base.removeAll(this .model, this .getResource(), PROVENANCE);
1007:            }
1008:
1009:            /**
1010:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@18e899c has at least one value set 
1011:             * @param model an RDF2Go model
1012:             * @param resource an RDF2Go resource
1013:             * @return true if this property has at least one value
1014:             *
1015:             * [Generated from RDFReactor template rule #get0has-static] 
1016:             */
1017:            public static boolean hasTag(Model model,
1018:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1019:                return Base.has(model, instanceResource, TAG);
1020:            }
1021:
1022:            /**
1023:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@18e899c has at least one value set 
1024:             * @return true if this property has at least one value
1025:             *
1026:             * [Generated from RDFReactor template rule #get0has-dynamic] 
1027:             */
1028:            public boolean hasTag() {
1029:                return Base.has(this .model, this .getResource(), TAG);
1030:            }
1031:
1032:            /**
1033:             * Get all values of property Tag as an Iterator over RDF2Go nodes 
1034:             * @param model an RDF2Go model
1035:             * @param resource an RDF2Go resource
1036:             * @return a ClosableIterator of RDF2Go Nodes
1037:             *
1038:             * [Generated from RDFReactor template rule #get7static] 
1039:             */
1040:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllTag_asNode(
1041:                    Model model,
1042:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1043:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
1044:                        .getAll_asNode(model, instanceResource, TAG);
1045:            }
1046:
1047:            /**
1048:             * Get all values of property Tag as a ReactorResult of RDF2Go nodes 
1049:             * @param model an RDF2Go model
1050:             * @param resource an RDF2Go resource
1051:             * @return a List of RDF2Go Nodes
1052:             *
1053:             * [Generated from RDFReactor template rule #get7static-reactor-result] 
1054:             */
1055:            public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllTag_asNode_(
1056:                    Model model,
1057:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1058:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
1059:                        .getAll_as(model, instanceResource, TAG,
1060:                                org.ontoware.rdf2go.model.node.Node.class);
1061:            }
1062:
1063:            /**
1064:             * Get all values of property Tag as an Iterator over RDF2Go nodes 
1065:             * @return a ClosableIterator of RDF2Go Nodes
1066:             *
1067:             * [Generated from RDFReactor template rule #get8dynamic] 
1068:             */
1069:            public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllTag_asNode() {
1070:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
1071:                        .getAll_asNode(this .model, this .getResource(), TAG);
1072:            }
1073:
1074:            /**
1075:             * Get all values of property Tag as a ReactorResult of RDF2Go nodes 
1076:             * @return a List of RDF2Go Nodes
1077:             *
1078:             * [Generated from RDFReactor template rule #get8dynamic-reactor-result] 
1079:             */
1080:            public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllTag_asNode_() {
1081:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
1082:                        .getAll_as(this .model, this .getResource(), TAG,
1083:                                org.ontoware.rdf2go.model.node.Node.class);
1084:            }
1085:
1086:            /**
1087:             * Get all values of property Tag     * @param model an RDF2Go model
1088:             * @param resource an RDF2Go resource
1089:             * @return a ClosableIterator of $type
1090:             *
1091:             * [Generated from RDFReactor template rule #get11static] 
1092:             */
1093:            public static ClosableIterator<java.lang.String> getAllTag(
1094:                    Model model,
1095:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1096:                return Base.getAll(model, instanceResource, TAG,
1097:                        java.lang.String.class);
1098:            }
1099:
1100:            /**
1101:             * Get all values of property Tag as a ReactorResult of java.lang.String 
1102:             * @param model an RDF2Go model
1103:             * @param resource an RDF2Go resource
1104:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
1105:             *
1106:             * [Generated from RDFReactor template rule #get11static-reactorresult] 
1107:             */
1108:            public static ReactorResult<java.lang.String> getAllTag_as(
1109:                    Model model,
1110:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1111:                return Base.getAll_as(model, instanceResource, TAG,
1112:                        java.lang.String.class);
1113:            }
1114:
1115:            /**
1116:             * Get all values of property Tag     * @return a ClosableIterator of $type
1117:             *
1118:             * [Generated from RDFReactor template rule #get12dynamic] 
1119:             */
1120:            public ClosableIterator<java.lang.String> getAllTag() {
1121:                return Base.getAll(this .model, this .getResource(), TAG,
1122:                        java.lang.String.class);
1123:            }
1124:
1125:            /**
1126:             * Get all values of property Tag as a ReactorResult of java.lang.String 
1127:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
1128:             *
1129:             * [Generated from RDFReactor template rule #get12dynamic-reactorresult] 
1130:             */
1131:            public ReactorResult<java.lang.String> getAllTag_as() {
1132:                return Base.getAll_as(this .model, this .getResource(), TAG,
1133:                        java.lang.String.class);
1134:            }
1135:
1136:            /**
1137:             * Adds a value to property Tag as an RDF2Go node 
1138:             * @param model an RDF2Go model
1139:             * @param resource an RDF2Go resource
1140:             * @param value the value to be added
1141:             *
1142:             * [Generated from RDFReactor template rule #add1static] 
1143:             */
1144:            public static void addTag(Model model,
1145:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1146:                    org.ontoware.rdf2go.model.node.Node value) {
1147:                Base.add(model, instanceResource, TAG, value);
1148:            }
1149:
1150:            /**
1151:             * Adds a value to property Tag as an RDF2Go node 
1152:             * @param value the value to be added
1153:             *
1154:             * [Generated from RDFReactor template rule #add1dynamic] 
1155:             */
1156:            public void addTag(org.ontoware.rdf2go.model.node.Node value) {
1157:                Base.add(this .model, this .getResource(), TAG, value);
1158:            }
1159:
1160:            /**
1161:             * Adds a value to property Tag from an instance of java.lang.String 
1162:             * @param model an RDF2Go model
1163:             * @param resource an RDF2Go resource
1164:             *
1165:             * [Generated from RDFReactor template rule #add3static] 
1166:             */
1167:            public static void addTag(Model model,
1168:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1169:                    java.lang.String value) {
1170:                Base.add(model, instanceResource, TAG, value);
1171:            }
1172:
1173:            /**
1174:             * Adds a value to property Tag from an instance of java.lang.String 
1175:             *
1176:             * [Generated from RDFReactor template rule #add4dynamic] 
1177:             */
1178:            public void addTag(java.lang.String value) {
1179:                Base.add(this .model, this .getResource(), TAG, value);
1180:            }
1181:
1182:            /**
1183:             * Sets a value of property Tag from an RDF2Go node.
1184:             * First, all existing values are removed, then this value is added.
1185:             * Cardinality constraints are not checked, but this method exists only for properties with
1186:             * no minCardinality or minCardinality == 1.
1187:             * @param model an RDF2Go model
1188:             * @param resource an RDF2Go resource
1189:             * @param value the value to be set
1190:             *
1191:             * [Generated from RDFReactor template rule #set1static] 
1192:             */
1193:            public static void setTag(Model model,
1194:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1195:                    org.ontoware.rdf2go.model.node.Node value) {
1196:                Base.set(model, instanceResource, TAG, value);
1197:            }
1198:
1199:            /**
1200:             * Sets a value of property Tag from an RDF2Go node.
1201:             * First, all existing values are removed, then this value is added.
1202:             * Cardinality constraints are not checked, but this method exists only for properties with
1203:             * no minCardinality or minCardinality == 1.
1204:             * @param value the value to be added
1205:             *
1206:             * [Generated from RDFReactor template rule #set1dynamic] 
1207:             */
1208:            public void setTag(org.ontoware.rdf2go.model.node.Node value) {
1209:                Base.set(this .model, this .getResource(), TAG, value);
1210:            }
1211:
1212:            /**
1213:             * Sets a value of property Tag from an instance of java.lang.String 
1214:             * First, all existing values are removed, then this value is added.
1215:             * Cardinality constraints are not checked, but this method exists only for properties with
1216:             * no minCardinality or minCardinality == 1.
1217:             * @param model an RDF2Go model
1218:             * @param resource an RDF2Go resource
1219:             * @param value the value to be added
1220:             *
1221:             * [Generated from RDFReactor template rule #set3static] 
1222:             */
1223:            public static void setTag(Model model,
1224:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1225:                    java.lang.String value) {
1226:                Base.set(model, instanceResource, TAG, value);
1227:            }
1228:
1229:            /**
1230:             * Sets a value of property Tag from an instance of java.lang.String 
1231:             * First, all existing values are removed, then this value is added.
1232:             * Cardinality constraints are not checked, but this method exists only for properties with
1233:             * no minCardinality or minCardinality == 1.
1234:             * @param value the value to be added
1235:             *
1236:             * [Generated from RDFReactor template rule #set4dynamic] 
1237:             */
1238:            public void setTag(java.lang.String value) {
1239:                Base.set(this .model, this .getResource(), TAG, value);
1240:            }
1241:
1242:            /**
1243:             * Removes a value of property Tag as an RDF2Go node 
1244:             * @param model an RDF2Go model
1245:             * @param resource an RDF2Go resource
1246:             * @param value the value to be removed
1247:             *
1248:             * [Generated from RDFReactor template rule #remove1static] 
1249:             */
1250:            public static void removeTag(Model model,
1251:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1252:                    org.ontoware.rdf2go.model.node.Node value) {
1253:                Base.remove(model, instanceResource, TAG, value);
1254:            }
1255:
1256:            /**
1257:             * Removes a value of property Tag as an RDF2Go node
1258:             * @param value the value to be removed
1259:             *
1260:             * [Generated from RDFReactor template rule #remove1dynamic] 
1261:             */
1262:            public void removeTag(org.ontoware.rdf2go.model.node.Node value) {
1263:                Base.remove(this .model, this .getResource(), TAG, value);
1264:            }
1265:
1266:            /**
1267:             * Removes a value of property Tag given as an instance of java.lang.String 
1268:             * @param model an RDF2Go model
1269:             * @param resource an RDF2Go resource
1270:             * @param value the value to be removed
1271:             *
1272:             * [Generated from RDFReactor template rule #remove3static] 
1273:             */
1274:            public static void removeTag(Model model,
1275:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1276:                    java.lang.String value) {
1277:                Base.remove(model, instanceResource, TAG, value);
1278:            }
1279:
1280:            /**
1281:             * Removes a value of property Tag given as an instance of java.lang.String 
1282:             * @param value the value to be removed
1283:             *
1284:             * [Generated from RDFReactor template rule #remove4dynamic] 
1285:             */
1286:            public void removeTag(java.lang.String value) {
1287:                Base.remove(this .model, this .getResource(), TAG, value);
1288:            }
1289:
1290:            /**
1291:             * Removes all values of property Tag     * @param model an RDF2Go model
1292:             * @param resource an RDF2Go resource
1293:             *
1294:             * [Generated from RDFReactor template rule #removeall1static] 
1295:             */
1296:            public static void removeAllTag(Model model,
1297:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1298:                Base.removeAll(model, instanceResource, TAG);
1299:            }
1300:
1301:            /**
1302:             * Removes all values of property Tag	 *
1303:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1304:             */
1305:            public void addTag() {
1306:                Base.removeAll(this .model, this .getResource(), TAG);
1307:            }
1308:
1309:            /**
1310:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@6078e7 has at least one value set 
1311:             * @param model an RDF2Go model
1312:             * @param resource an RDF2Go resource
1313:             * @return true if this property has at least one value
1314:             *
1315:             * [Generated from RDFReactor template rule #get0has-static] 
1316:             */
1317:            public static boolean hasUserdefinedMetadata(Model model,
1318:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1319:                return Base.has(model, instanceResource, USERDEFINEDMETADATA);
1320:            }
1321:
1322:            /**
1323:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@6078e7 has at least one value set 
1324:             * @return true if this property has at least one value
1325:             *
1326:             * [Generated from RDFReactor template rule #get0has-dynamic] 
1327:             */
1328:            public boolean hasUserdefinedMetadata() {
1329:                return Base.has(this .model, this .getResource(),
1330:                        USERDEFINEDMETADATA);
1331:            }
1332:
1333:            /**
1334:             * Get single value of property UserdefinedMetadata as an RDF2Go node 
1335:             * @param model an RDF2Go model
1336:             * @param resource an RDF2Go resource
1337:             * @return the single value or null if no value is found
1338:             * @throws RDFDataException at runtime, if the property has multiple values
1339:             *
1340:             * [Generated from RDFReactor template rule #get1static] 
1341:             */
1342:            public static org.ontoware.rdf2go.model.node.Node getUserdefinedMetadata_asNode(
1343:                    Model model,
1344:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1345:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1346:                        model, instanceResource, USERDEFINEDMETADATA);
1347:            }
1348:
1349:            /**
1350:             * Get single value of property UserdefinedMetadata as an RDF2Go node 
1351:             * @return the single value or null if no value is found
1352:             * @throws RDFDataException, if the property has multiple values
1353:             *
1354:             * [Generated from RDFReactor template rule #get2dynamic] 
1355:             */
1356:            public org.ontoware.rdf2go.model.node.Node getUserdefinedMetadata_asNode() {
1357:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1358:                        this .model, this .getResource(), USERDEFINEDMETADATA);
1359:            }
1360:
1361:            /**
1362:             * Get single value of property UserdefinedMetadata     * @param model an RDF2Go model
1363:             * @param resource an RDF2Go resource
1364:             * @return the single value or null if no value is found
1365:             * @throws RDFDataException, if the property has multiple values
1366:             *
1367:             * [Generated from RDFReactor template rule #get5static] 
1368:             */
1369:            public static org.ontoware.rdf2go.model.node.URI getUserdefinedMetadata(
1370:                    Model model,
1371:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1372:                return (org.ontoware.rdf2go.model.node.URI) Base.get(model,
1373:                        instanceResource, USERDEFINEDMETADATA,
1374:                        org.ontoware.rdf2go.model.node.URI.class);
1375:            }
1376:
1377:            /**
1378:             * Get single value of property UserdefinedMetadata     * @return the single value or null if no value is found
1379:             * @throws RDFDataException, if the property has multiple values
1380:             *
1381:             * [Generated from RDFReactor template rule #get6dynamic] 
1382:             */
1383:            public org.ontoware.rdf2go.model.node.URI getUserdefinedMetadata() {
1384:                return (org.ontoware.rdf2go.model.node.URI) Base.get(
1385:                        this .model, this .getResource(), USERDEFINEDMETADATA,
1386:                        org.ontoware.rdf2go.model.node.URI.class);
1387:            }
1388:
1389:            /**
1390:             * Adds a value to property UserdefinedMetadata as an RDF2Go node 
1391:             * @param model an RDF2Go model
1392:             * @param resource an RDF2Go resource
1393:             * @param value the value to be added
1394:             * @throws CardinalityException if adding a value would bring the number 
1395:             *            of property values above the cardinality constraint.
1396:             *
1397:             * [Generated from RDFReactor template rule #add5static] 
1398:             */
1399:            public static void addUserdefinedMetadata(Model model,
1400:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1401:                    org.ontoware.rdf2go.model.node.Node value)
1402:                    throws CardinalityException {
1403:                Base
1404:                        .add(model, instanceResource, USERDEFINEDMETADATA,
1405:                                value, 1);
1406:            }
1407:
1408:            /**
1409:             * Adds a value to property UserdefinedMetadata as an RDF2Go node 
1410:             * @param value the value to be added
1411:             * @throws CardinalityException if adding a value would bring the number 
1412:             *            of property values above the cardinality constraint.
1413:             *
1414:             * [Generated from RDFReactor template rule #add6dynamic] 
1415:             */
1416:            public void addUserdefinedMetadata(
1417:                    org.ontoware.rdf2go.model.node.Node value)
1418:                    throws CardinalityException {
1419:                Base.add(this .model, this .getResource(), USERDEFINEDMETADATA,
1420:                        value, 1);
1421:            }
1422:
1423:            /**
1424:             * Adds a value to property UserdefinedMetadata from an instance of org.ontoware.rdf2go.model.node.URI 
1425:             * @param model an RDF2Go model
1426:             * @param resource an RDF2Go resource
1427:             * @throws CardinalityException if adding a value would bring the number 
1428:             *            of property values above the cardinality constraint.
1429:             *
1430:             * [Generated from RDFReactor template rule #add7static] 
1431:             */
1432:            public static void addUserdefinedMetadata(Model model,
1433:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1434:                    org.ontoware.rdf2go.model.node.URI value)
1435:                    throws CardinalityException {
1436:                Base
1437:                        .add(model, instanceResource, USERDEFINEDMETADATA,
1438:                                value, 1);
1439:            }
1440:
1441:            /**
1442:             * Adds a value to property UserdefinedMetadata from an instance of org.ontoware.rdf2go.model.node.URI 
1443:             * @throws CardinalityException if adding a value would bring the number 
1444:             *            of property values above the cardinality constraint.
1445:             *
1446:             * [Generated from RDFReactor template rule #add8dynamic] 
1447:             */
1448:            public void addUserdefinedMetadata(
1449:                    org.ontoware.rdf2go.model.node.URI value)
1450:                    throws CardinalityException {
1451:                Base.add(this .model, this .getResource(), USERDEFINEDMETADATA,
1452:                        value, 1);
1453:            }
1454:
1455:            /**
1456:             * Sets a value of property UserdefinedMetadata from an RDF2Go node.
1457:             * First, all existing values are removed, then this value is added.
1458:             * Cardinality constraints are not checked, but this method exists only for properties with
1459:             * no minCardinality or minCardinality == 1.
1460:             * @param model an RDF2Go model
1461:             * @param resource an RDF2Go resource
1462:             * @param value the value to be set
1463:             *
1464:             * [Generated from RDFReactor template rule #set1static] 
1465:             */
1466:            public static void setUserdefinedMetadata(Model model,
1467:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1468:                    org.ontoware.rdf2go.model.node.Node value) {
1469:                Base.set(model, instanceResource, USERDEFINEDMETADATA, value);
1470:            }
1471:
1472:            /**
1473:             * Sets a value of property UserdefinedMetadata from an RDF2Go node.
1474:             * First, all existing values are removed, then this value is added.
1475:             * Cardinality constraints are not checked, but this method exists only for properties with
1476:             * no minCardinality or minCardinality == 1.
1477:             * @param value the value to be added
1478:             *
1479:             * [Generated from RDFReactor template rule #set1dynamic] 
1480:             */
1481:            public void setUserdefinedMetadata(
1482:                    org.ontoware.rdf2go.model.node.Node value) {
1483:                Base.set(this .model, this .getResource(), USERDEFINEDMETADATA,
1484:                        value);
1485:            }
1486:
1487:            /**
1488:             * Sets a value of property UserdefinedMetadata from an instance of org.ontoware.rdf2go.model.node.URI 
1489:             * First, all existing values are removed, then this value is added.
1490:             * Cardinality constraints are not checked, but this method exists only for properties with
1491:             * no minCardinality or minCardinality == 1.
1492:             * @param model an RDF2Go model
1493:             * @param resource an RDF2Go resource
1494:             * @param value the value to be added
1495:             *
1496:             * [Generated from RDFReactor template rule #set3static] 
1497:             */
1498:            public static void setUserdefinedMetadata(Model model,
1499:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1500:                    org.ontoware.rdf2go.model.node.URI value) {
1501:                Base.set(model, instanceResource, USERDEFINEDMETADATA, value);
1502:            }
1503:
1504:            /**
1505:             * Sets a value of property UserdefinedMetadata from an instance of org.ontoware.rdf2go.model.node.URI 
1506:             * First, all existing values are removed, then this value is added.
1507:             * Cardinality constraints are not checked, but this method exists only for properties with
1508:             * no minCardinality or minCardinality == 1.
1509:             * @param value the value to be added
1510:             *
1511:             * [Generated from RDFReactor template rule #set4dynamic] 
1512:             */
1513:            public void setUserdefinedMetadata(
1514:                    org.ontoware.rdf2go.model.node.URI value) {
1515:                Base.set(this .model, this .getResource(), USERDEFINEDMETADATA,
1516:                        value);
1517:            }
1518:
1519:            /**
1520:             * Removes a value of property UserdefinedMetadata as an RDF2Go node 
1521:             * @param model an RDF2Go model
1522:             * @param resource an RDF2Go resource
1523:             * @param value the value to be removed
1524:             *
1525:             * [Generated from RDFReactor template rule #remove1static] 
1526:             */
1527:            public static void removeUserdefinedMetadata(Model model,
1528:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1529:                    org.ontoware.rdf2go.model.node.Node value) {
1530:                Base
1531:                        .remove(model, instanceResource, USERDEFINEDMETADATA,
1532:                                value);
1533:            }
1534:
1535:            /**
1536:             * Removes a value of property UserdefinedMetadata as an RDF2Go node
1537:             * @param value the value to be removed
1538:             *
1539:             * [Generated from RDFReactor template rule #remove1dynamic] 
1540:             */
1541:            public void removeUserdefinedMetadata(
1542:                    org.ontoware.rdf2go.model.node.Node value) {
1543:                Base.remove(this .model, this .getResource(),
1544:                        USERDEFINEDMETADATA, value);
1545:            }
1546:
1547:            /**
1548:             * Removes a value of property UserdefinedMetadata given as an instance of org.ontoware.rdf2go.model.node.URI 
1549:             * @param model an RDF2Go model
1550:             * @param resource an RDF2Go resource
1551:             * @param value the value to be removed
1552:             *
1553:             * [Generated from RDFReactor template rule #remove3static] 
1554:             */
1555:            public static void removeUserdefinedMetadata(Model model,
1556:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1557:                    org.ontoware.rdf2go.model.node.URI value) {
1558:                Base
1559:                        .remove(model, instanceResource, USERDEFINEDMETADATA,
1560:                                value);
1561:            }
1562:
1563:            /**
1564:             * Removes a value of property UserdefinedMetadata given as an instance of org.ontoware.rdf2go.model.node.URI 
1565:             * @param value the value to be removed
1566:             *
1567:             * [Generated from RDFReactor template rule #remove4dynamic] 
1568:             */
1569:            public void removeUserdefinedMetadata(
1570:                    org.ontoware.rdf2go.model.node.URI value) {
1571:                Base.remove(this .model, this .getResource(),
1572:                        USERDEFINEDMETADATA, value);
1573:            }
1574:
1575:            /**
1576:             * Removes all values of property UserdefinedMetadata     * @param model an RDF2Go model
1577:             * @param resource an RDF2Go resource
1578:             *
1579:             * [Generated from RDFReactor template rule #removeall1static] 
1580:             */
1581:            public static void removeAllUserdefinedMetadata(Model model,
1582:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1583:                Base.removeAll(model, instanceResource, USERDEFINEDMETADATA);
1584:            }
1585:
1586:            /**
1587:             * Removes all values of property UserdefinedMetadata	 *
1588:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1589:             */
1590:            public void addUserdefinedMetadata() {
1591:                Base.removeAll(this.model, this.getResource(),
1592:                        USERDEFINEDMETADATA);
1593:            }
1594:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.