Source Code Cross Referenced for Version.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> BranchLabel </li>
0019:         *   <li> ChangeCause </li>
0020:         *   <li> Child </li>
0021:         *   <li> Container </li>
0022:         *   <li> Content </li>
0023:         *   <li> FirstParent </li>
0024:         *   <li> SecondParent </li>
0025:         * </ul>
0026:         *
0027:         * This class was generated by <a href="http://RDFReactor.semweb4j.org">RDFReactor</a> on 16.03.08 18:20
0028:         */
0029:        public class Version extends VersionedItem {
0030:
0031:            /** http://purl.org/net/semversion#Version */
0032:            public static final URI RDFS_CLASS = new URIImpl(
0033:                    "http://purl.org/net/semversion#Version", false);
0034:
0035:            /** http://purl.org/net/semversion#branchLabel */
0036:            public static final URI BRANCHLABEL = new URIImpl(
0037:                    "http://purl.org/net/semversion#branchLabel", false);
0038:
0039:            /** http://purl.org/net/semversion#hasChangeCause */
0040:            public static final URI CHANGECAUSE = new URIImpl(
0041:                    "http://purl.org/net/semversion#hasChangeCause", false);
0042:
0043:            /** http://purl.org/net/semversion#hasChild */
0044:            public static final URI CHILD = new URIImpl(
0045:                    "http://purl.org/net/semversion#hasChild", false);
0046:
0047:            /** http://purl.org/net/semversion#hasContainer */
0048:            public static final URI CONTAINER = new URIImpl(
0049:                    "http://purl.org/net/semversion#hasContainer", false);
0050:
0051:            /** http://purl.org/net/semversion#hasContent */
0052:            public static final URI CONTENT = new URIImpl(
0053:                    "http://purl.org/net/semversion#hasContent", false);
0054:
0055:            /** http://purl.org/net/semversion#hasFirstParent */
0056:            public static final URI FIRSTPARENT = new URIImpl(
0057:                    "http://purl.org/net/semversion#hasFirstParent", false);
0058:
0059:            /** http://purl.org/net/semversion#hasSecondParent */
0060:            public static final URI SECONDPARENT = new URIImpl(
0061:                    "http://purl.org/net/semversion#hasSecondParent", false);
0062:
0063:            /** all property-URIs with this class as domain */
0064:            public static final URI[] MANAGED_URIS = {
0065:                    new URIImpl("http://purl.org/net/semversion#branchLabel",
0066:                            false),
0067:                    new URIImpl(
0068:                            "http://purl.org/net/semversion#hasChangeCause",
0069:                            false),
0070:                    new URIImpl("http://purl.org/net/semversion#hasChild",
0071:                            false),
0072:                    new URIImpl("http://purl.org/net/semversion#hasContainer",
0073:                            false),
0074:                    new URIImpl("http://purl.org/net/semversion#hasContent",
0075:                            false),
0076:                    new URIImpl(
0077:                            "http://purl.org/net/semversion#hasFirstParent",
0078:                            false),
0079:                    new URIImpl(
0080:                            "http://purl.org/net/semversion#hasSecondParent",
0081:                            false) };
0082:
0083:            // protected constructors needed for inheritance
0084:
0085:            /**
0086:             * Returns a Java wrapper over an RDF object, identified by URI.
0087:             * Creating two wrappers for the same instanceURI is legal.
0088:             * @param model RDF2GO Model implementation, see http://rdf2go.semweb4j.org
0089:             * @param classURI URI of RDFS class
0090:             * @param instanceIdentifier Resource that identifies this instance
0091:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0092:             *
0093:             * [Generated from RDFReactor template rule #c1] 
0094:             */
0095:            protected Version(Model model, URI classURI,
0096:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0097:                    boolean write) {
0098:                super (model, classURI, instanceIdentifier, write);
0099:            }
0100:
0101:            // public constructors
0102:
0103:            /**
0104:             * Returns a Java wrapper over an RDF object, identified by URI.
0105:             * Creating two wrappers for the same instanceURI is legal.
0106:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0107:             * @param instanceIdentifier an RDF2Go Resource identifying 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 #c2] 
0111:             */
0112:            public Version(Model model,
0113:                    org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0114:                    boolean write) {
0115:                super (model, RDFS_CLASS, instanceIdentifier, write);
0116:            }
0117:
0118:            /**
0119:             * Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
0120:             * Creating two wrappers for the same URI is legal.
0121:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0122:             * @param uriString a URI given as a String
0123:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0124:             * @throws ModelRuntimeException if URI syntax is wrong
0125:             *
0126:             * [Generated from RDFReactor template rule #c7] 
0127:             */
0128:            public Version(Model model, String uriString, boolean write)
0129:                    throws ModelRuntimeException {
0130:                super (model, RDFS_CLASS, new URIImpl(uriString, false), write);
0131:            }
0132:
0133:            /**
0134:             * Returns a Java wrapper over an RDF object, identified by a blank node.
0135:             * Creating two wrappers for the same blank node is legal.
0136:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0137:             * @param bnode BlankNode of this instance
0138:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0139:             *
0140:             * [Generated from RDFReactor template rule #c8] 
0141:             */
0142:            public Version(Model model, BlankNode bnode, boolean write) {
0143:                super (model, RDFS_CLASS, bnode, write);
0144:            }
0145:
0146:            /**
0147:             * Returns a Java wrapper over an RDF object, identified by 
0148:             * a randomly generated URI.
0149:             * Creating two wrappers results in different URIs.
0150:             * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0151:             * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0152:             *
0153:             * [Generated from RDFReactor template rule #c9] 
0154:             */
0155:            public Version(Model model, boolean write) {
0156:                super (model, RDFS_CLASS, model.newRandomUniqueURI(), write);
0157:            }
0158:
0159:            ///////////////////////////////////////////////////////////////////
0160:            // typing
0161:
0162:            /**
0163:             * Create a new instance of this class in the model. 
0164:             * That is, create the statement (instanceResource, RDF.type, http://purl.org/net/semversion#Version).
0165:             * @param model an RDF2Go model
0166:             * @param instanceResource an RDF2Go resource
0167:             *
0168:             * [Generated from RDFReactor template rule #class1] 
0169:             */
0170:            public static void createInstance(Model model,
0171:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0172:                Base.createInstance(model, RDFS_CLASS, instanceResource);
0173:            }
0174:
0175:            /**
0176:             * @param model an RDF2Go model
0177:             * @param instanceResource an RDF2Go resource
0178:             * @return true if instanceResource is an instance of this class in the model
0179:             *
0180:             * [Generated from RDFReactor template rule #class2] 
0181:             */
0182:            public static boolean hasInstance(Model model,
0183:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0184:                return Base.hasInstance(model, RDFS_CLASS, instanceResource);
0185:            }
0186:
0187:            /**
0188:             * @param model an RDF2Go model
0189:             * @return all instances of this class in Model 'model' as RDF resources
0190:             *
0191:             * [Generated from RDFReactor template rule #class3] 
0192:             */
0193:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllInstances(
0194:                    Model model) {
0195:                return Base.getAllInstances(model, RDFS_CLASS,
0196:                        org.ontoware.rdf2go.model.node.Resource.class);
0197:            }
0198:
0199:            /**
0200:             * @param model an RDF2Go model
0201:             * @return all instances of this class in Model 'model' as a ReactorResult,
0202:             * which can conveniently be converted to iterator, list or array.
0203:             *
0204:             * [Generated from RDFReactor template rule #class3-as] 
0205:             */
0206:            public static ReactorResult<? extends Version> getAllInstance_as(
0207:                    Model model) {
0208:                return Base
0209:                        .getAllInstances_as(model, RDFS_CLASS, Version.class);
0210:            }
0211:
0212:            /**
0213:             * Delete all rdf:type from this instance. Other triples are not affected.
0214:             * To delete more, use deleteAllProperties
0215:             * @param model an RDF2Go model
0216:             * @param instanceResource an RDF2Go resource
0217:             *
0218:             * [Generated from RDFReactor template rule #class4] 
0219:             */
0220:            public static void deleteInstance(Model model,
0221:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0222:                Base.deleteInstance(model, RDFS_CLASS, instanceResource);
0223:            }
0224:
0225:            /**
0226:             * Delete all (this, *, *), i.e. including rdf:type
0227:             * @param model an RDF2Go model
0228:             * @param resource
0229:             */
0230:            public static void deleteAllProperties(Model model,
0231:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0232:                Base.deleteAllProperties(model, instanceResource);
0233:            }
0234:
0235:            ///////////////////////////////////////////////////////////////////
0236:            // property access methods
0237:
0238:            /**
0239:             * @param model an RDF2Go model
0240:             * @param objectValue
0241:             * @return all A's as RDF resources, that have a relation 'Root' to this Version instance
0242:             *
0243:             * [Generated from RDFReactor template rule #getallinverse1static] 
0244:             */
0245:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllRoot_Inverse(
0246:                    Model model, Object objectValue) {
0247:                return Base.getAll_Inverse(model, VersionedModel.ROOT,
0248:                        objectValue);
0249:            }
0250:
0251:            /**
0252:             * @param model an RDF2Go model
0253:             * @param objectValue
0254:             * @return all A's as RDF resources, that have a relation 'Version' to this Version instance
0255:             *
0256:             * [Generated from RDFReactor template rule #getallinverse1static] 
0257:             */
0258:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllVersion_Inverse(
0259:                    Model model, Object objectValue) {
0260:                return Base.getAll_Inverse(model, VersionedModel.VERSION,
0261:                        objectValue);
0262:            }
0263:
0264:            /**
0265:             * @param model an RDF2Go model
0266:             * @param objectValue
0267:             * @return all A's as RDF resources, that have a relation 'Child' to this Version instance
0268:             *
0269:             * [Generated from RDFReactor template rule #getallinverse1static] 
0270:             */
0271:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllChild_Inverse(
0272:                    Model model, Object objectValue) {
0273:                return Base.getAll_Inverse(model, Version.CHILD, objectValue);
0274:            }
0275:
0276:            /**
0277:             * @param model an RDF2Go model
0278:             * @param objectValue
0279:             * @return all A's as RDF resources, that have a relation 'FirstParent' to this Version instance
0280:             *
0281:             * [Generated from RDFReactor template rule #getallinverse1static] 
0282:             */
0283:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllFirstParent_Inverse(
0284:                    Model model, Object objectValue) {
0285:                return Base.getAll_Inverse(model, Version.FIRSTPARENT,
0286:                        objectValue);
0287:            }
0288:
0289:            /**
0290:             * @param model an RDF2Go model
0291:             * @param objectValue
0292:             * @return all A's as RDF resources, that have a relation 'SecondParent' to this Version instance
0293:             *
0294:             * [Generated from RDFReactor template rule #getallinverse1static] 
0295:             */
0296:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllSecondParent_Inverse(
0297:                    Model model, Object objectValue) {
0298:                return Base.getAll_Inverse(model, Version.SECONDPARENT,
0299:                        objectValue);
0300:            }
0301:
0302:            /**
0303:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@4e8edc has at least one value set 
0304:             * @param model an RDF2Go model
0305:             * @param resource an RDF2Go resource
0306:             * @return true if this property has at least one value
0307:             *
0308:             * [Generated from RDFReactor template rule #get0has-static] 
0309:             */
0310:            public static boolean hasBranchLabel(Model model,
0311:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0312:                return Base.has(model, instanceResource, BRANCHLABEL);
0313:            }
0314:
0315:            /**
0316:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@4e8edc has at least one value set 
0317:             * @return true if this property has at least one value
0318:             *
0319:             * [Generated from RDFReactor template rule #get0has-dynamic] 
0320:             */
0321:            public boolean hasBranchLabel() {
0322:                return Base.has(this .model, this .getResource(), BRANCHLABEL);
0323:            }
0324:
0325:            /**
0326:             * Get single value of property BranchLabel as an RDF2Go node 
0327:             * @param model an RDF2Go model
0328:             * @param resource an RDF2Go resource
0329:             * @return the single value or null if no value is found
0330:             * @throws RDFDataException at runtime, if the property has multiple values
0331:             *
0332:             * [Generated from RDFReactor template rule #get1static] 
0333:             */
0334:            public static org.ontoware.rdf2go.model.node.Node getBranchLabel_asNode(
0335:                    Model model,
0336:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0337:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0338:                        model, instanceResource, BRANCHLABEL);
0339:            }
0340:
0341:            /**
0342:             * Get single value of property BranchLabel as an RDF2Go node 
0343:             * @return the single value or null if no value is found
0344:             * @throws RDFDataException, if the property has multiple values
0345:             *
0346:             * [Generated from RDFReactor template rule #get2dynamic] 
0347:             */
0348:            public org.ontoware.rdf2go.model.node.Node getBranchLabel_asNode() {
0349:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0350:                        this .model, this .getResource(), BRANCHLABEL);
0351:            }
0352:
0353:            /**
0354:             * Get single value of property BranchLabel     * @param model an RDF2Go model
0355:             * @param resource an RDF2Go resource
0356:             * @return the single value or null if no value is found
0357:             * @throws RDFDataException, if the property has multiple values
0358:             *
0359:             * [Generated from RDFReactor template rule #get5static] 
0360:             */
0361:            public static java.lang.String getBranchLabel(Model model,
0362:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0363:                return (java.lang.String) Base.get(model, instanceResource,
0364:                        BRANCHLABEL, java.lang.String.class);
0365:            }
0366:
0367:            /**
0368:             * Get single value of property BranchLabel     * @return the single value or null if no value is found
0369:             * @throws RDFDataException, if the property has multiple values
0370:             *
0371:             * [Generated from RDFReactor template rule #get6dynamic] 
0372:             */
0373:            public java.lang.String getBranchLabel() {
0374:                return (java.lang.String) Base.get(this .model, this 
0375:                        .getResource(), BRANCHLABEL, java.lang.String.class);
0376:            }
0377:
0378:            /**
0379:             * Adds a value to property BranchLabel as an RDF2Go node 
0380:             * @param model an RDF2Go model
0381:             * @param resource an RDF2Go resource
0382:             * @param value the value to be added
0383:             * @throws CardinalityException if adding a value would bring the number 
0384:             *            of property values above the cardinality constraint.
0385:             *
0386:             * [Generated from RDFReactor template rule #add5static] 
0387:             */
0388:            public static void addBranchLabel(Model model,
0389:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0390:                    org.ontoware.rdf2go.model.node.Node value)
0391:                    throws CardinalityException {
0392:                Base.add(model, instanceResource, BRANCHLABEL, value, 1);
0393:            }
0394:
0395:            /**
0396:             * Adds a value to property BranchLabel as an RDF2Go node 
0397:             * @param value the value to be added
0398:             * @throws CardinalityException if adding a value would bring the number 
0399:             *            of property values above the cardinality constraint.
0400:             *
0401:             * [Generated from RDFReactor template rule #add6dynamic] 
0402:             */
0403:            public void addBranchLabel(org.ontoware.rdf2go.model.node.Node value)
0404:                    throws CardinalityException {
0405:                Base.add(this .model, this .getResource(), BRANCHLABEL, value, 1);
0406:            }
0407:
0408:            /**
0409:             * Adds a value to property BranchLabel from an instance of java.lang.String 
0410:             * @param model an RDF2Go model
0411:             * @param resource an RDF2Go resource
0412:             * @throws CardinalityException if adding a value would bring the number 
0413:             *            of property values above the cardinality constraint.
0414:             *
0415:             * [Generated from RDFReactor template rule #add7static] 
0416:             */
0417:            public static void addBranchLabel(Model model,
0418:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0419:                    java.lang.String value) throws CardinalityException {
0420:                Base.add(model, instanceResource, BRANCHLABEL, value, 1);
0421:            }
0422:
0423:            /**
0424:             * Adds a value to property BranchLabel from an instance of java.lang.String 
0425:             * @throws CardinalityException if adding a value would bring the number 
0426:             *            of property values above the cardinality constraint.
0427:             *
0428:             * [Generated from RDFReactor template rule #add8dynamic] 
0429:             */
0430:            public void addBranchLabel(java.lang.String value)
0431:                    throws CardinalityException {
0432:                Base.add(this .model, this .getResource(), BRANCHLABEL, value, 1);
0433:            }
0434:
0435:            /**
0436:             * Sets a value of property BranchLabel from an RDF2Go node.
0437:             * First, all existing values are removed, then this value is added.
0438:             * Cardinality constraints are not checked, but this method exists only for properties with
0439:             * no minCardinality or minCardinality == 1.
0440:             * @param model an RDF2Go model
0441:             * @param resource an RDF2Go resource
0442:             * @param value the value to be set
0443:             *
0444:             * [Generated from RDFReactor template rule #set1static] 
0445:             */
0446:            public static void setBranchLabel(Model model,
0447:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0448:                    org.ontoware.rdf2go.model.node.Node value) {
0449:                Base.set(model, instanceResource, BRANCHLABEL, value);
0450:            }
0451:
0452:            /**
0453:             * Sets a value of property BranchLabel from an RDF2Go node.
0454:             * First, all existing values are removed, then this value is added.
0455:             * Cardinality constraints are not checked, but this method exists only for properties with
0456:             * no minCardinality or minCardinality == 1.
0457:             * @param value the value to be added
0458:             *
0459:             * [Generated from RDFReactor template rule #set1dynamic] 
0460:             */
0461:            public void setBranchLabel(org.ontoware.rdf2go.model.node.Node value) {
0462:                Base.set(this .model, this .getResource(), BRANCHLABEL, value);
0463:            }
0464:
0465:            /**
0466:             * Sets a value of property BranchLabel from an instance of java.lang.String 
0467:             * First, all existing values are removed, then this value is added.
0468:             * Cardinality constraints are not checked, but this method exists only for properties with
0469:             * no minCardinality or minCardinality == 1.
0470:             * @param model an RDF2Go model
0471:             * @param resource an RDF2Go resource
0472:             * @param value the value to be added
0473:             *
0474:             * [Generated from RDFReactor template rule #set3static] 
0475:             */
0476:            public static void setBranchLabel(Model model,
0477:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0478:                    java.lang.String value) {
0479:                Base.set(model, instanceResource, BRANCHLABEL, value);
0480:            }
0481:
0482:            /**
0483:             * Sets a value of property BranchLabel from an instance of java.lang.String 
0484:             * First, all existing values are removed, then this value is added.
0485:             * Cardinality constraints are not checked, but this method exists only for properties with
0486:             * no minCardinality or minCardinality == 1.
0487:             * @param value the value to be added
0488:             *
0489:             * [Generated from RDFReactor template rule #set4dynamic] 
0490:             */
0491:            public void setBranchLabel(java.lang.String value) {
0492:                Base.set(this .model, this .getResource(), BRANCHLABEL, value);
0493:            }
0494:
0495:            /**
0496:             * Removes a value of property BranchLabel as an RDF2Go node 
0497:             * @param model an RDF2Go model
0498:             * @param resource an RDF2Go resource
0499:             * @param value the value to be removed
0500:             * @throws CardinalityException if removing a value would bring the number 
0501:             *            of property values below the cardinality constraint.
0502:             *
0503:             * [Generated from RDFReactor template rule #remove5static] 
0504:             */
0505:            public static void removeBranchLabel(Model model,
0506:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0507:                    org.ontoware.rdf2go.model.node.Node value)
0508:                    throws CardinalityException {
0509:                Base.remove(model, instanceResource, BRANCHLABEL, value, 1);
0510:            }
0511:
0512:            /**
0513:             * Removes a value of property BranchLabel as an RDF2Go node 
0514:             * @param value the value to be removed
0515:             * @throws CardinalityException if removing a value would bring the number 
0516:             *            of property values below the cardinality constraint.
0517:             *
0518:             * [Generated from RDFReactor template rule #remove6dynamic] 
0519:             */
0520:            public void removeBranchLabel(
0521:                    org.ontoware.rdf2go.model.node.Node value)
0522:                    throws CardinalityException {
0523:                Base.remove(this .model, this .getResource(), BRANCHLABEL, value,
0524:                        1);
0525:            }
0526:
0527:            /**
0528:             * Removes a value of property BranchLabel from an instance of java.lang.String 
0529:             * @param model an RDF2Go model
0530:             * @param resource an RDF2Go resource
0531:             * @param value the value to be removed
0532:             * @throws CardinalityException if removing a value would bring the number 
0533:             *            of property values below the cardinality constraint.
0534:             *
0535:             * [Generated from RDFReactor template rule #remove7static] 
0536:             */
0537:            public static void removeBranchLabel(Model model,
0538:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0539:                    java.lang.String value) throws CardinalityException {
0540:                Base.remove(model, instanceResource, BRANCHLABEL, value, 1);
0541:            }
0542:
0543:            /**
0544:             * Removes a value of property BranchLabel from an instance of java.lang.String 
0545:             * @param value the value to be removed
0546:             * @throws CardinalityException if removing a value would bring the number 
0547:             *            of property values below the cardinality constraint.
0548:             *
0549:             * [Generated from RDFReactor template rule #remove8dynamic] 
0550:             */
0551:            public void removeBranchLabel(java.lang.String value)
0552:                    throws CardinalityException {
0553:                Base.remove(this .model, this .getResource(), BRANCHLABEL, value,
0554:                        1);
0555:            }
0556:
0557:            /**
0558:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1e492d8 has at least one value set 
0559:             * @param model an RDF2Go model
0560:             * @param resource an RDF2Go resource
0561:             * @return true if this property has at least one value
0562:             *
0563:             * [Generated from RDFReactor template rule #get0has-static] 
0564:             */
0565:            public static boolean hasChangeCause(Model model,
0566:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0567:                return Base.has(model, instanceResource, CHANGECAUSE);
0568:            }
0569:
0570:            /**
0571:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1e492d8 has at least one value set 
0572:             * @return true if this property has at least one value
0573:             *
0574:             * [Generated from RDFReactor template rule #get0has-dynamic] 
0575:             */
0576:            public boolean hasChangeCause() {
0577:                return Base.has(this .model, this .getResource(), CHANGECAUSE);
0578:            }
0579:
0580:            /**
0581:             * Get single value of property ChangeCause as an RDF2Go node 
0582:             * @param model an RDF2Go model
0583:             * @param resource an RDF2Go resource
0584:             * @return the single value or null if no value is found
0585:             * @throws RDFDataException at runtime, if the property has multiple values
0586:             *
0587:             * [Generated from RDFReactor template rule #get1static] 
0588:             */
0589:            public static org.ontoware.rdf2go.model.node.Node getChangeCause_asNode(
0590:                    Model model,
0591:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0592:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0593:                        model, instanceResource, CHANGECAUSE);
0594:            }
0595:
0596:            /**
0597:             * Get single value of property ChangeCause as an RDF2Go node 
0598:             * @return the single value or null if no value is found
0599:             * @throws RDFDataException, if the property has multiple values
0600:             *
0601:             * [Generated from RDFReactor template rule #get2dynamic] 
0602:             */
0603:            public org.ontoware.rdf2go.model.node.Node getChangeCause_asNode() {
0604:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
0605:                        this .model, this .getResource(), CHANGECAUSE);
0606:            }
0607:
0608:            /**
0609:             * Get single value of property ChangeCause     * @param model an RDF2Go model
0610:             * @param resource an RDF2Go resource
0611:             * @return the single value or null if no value is found
0612:             * @throws RDFDataException, if the property has multiple values
0613:             *
0614:             * [Generated from RDFReactor template rule #get5static] 
0615:             */
0616:            public static java.lang.String getChangeCause(Model model,
0617:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0618:                return (java.lang.String) Base.get(model, instanceResource,
0619:                        CHANGECAUSE, java.lang.String.class);
0620:            }
0621:
0622:            /**
0623:             * Get single value of property ChangeCause     * @return the single value or null if no value is found
0624:             * @throws RDFDataException, if the property has multiple values
0625:             *
0626:             * [Generated from RDFReactor template rule #get6dynamic] 
0627:             */
0628:            public java.lang.String getChangeCause() {
0629:                return (java.lang.String) Base.get(this .model, this 
0630:                        .getResource(), CHANGECAUSE, java.lang.String.class);
0631:            }
0632:
0633:            /**
0634:             * Adds a value to property ChangeCause as an RDF2Go node 
0635:             * @param model an RDF2Go model
0636:             * @param resource an RDF2Go resource
0637:             * @param value the value to be added
0638:             * @throws CardinalityException if adding a value would bring the number 
0639:             *            of property values above the cardinality constraint.
0640:             *
0641:             * [Generated from RDFReactor template rule #add5static] 
0642:             */
0643:            public static void addChangeCause(Model model,
0644:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0645:                    org.ontoware.rdf2go.model.node.Node value)
0646:                    throws CardinalityException {
0647:                Base.add(model, instanceResource, CHANGECAUSE, value, 1);
0648:            }
0649:
0650:            /**
0651:             * Adds a value to property ChangeCause as an RDF2Go node 
0652:             * @param value the value to be added
0653:             * @throws CardinalityException if adding a value would bring the number 
0654:             *            of property values above the cardinality constraint.
0655:             *
0656:             * [Generated from RDFReactor template rule #add6dynamic] 
0657:             */
0658:            public void addChangeCause(org.ontoware.rdf2go.model.node.Node value)
0659:                    throws CardinalityException {
0660:                Base.add(this .model, this .getResource(), CHANGECAUSE, value, 1);
0661:            }
0662:
0663:            /**
0664:             * Adds a value to property ChangeCause from an instance of java.lang.String 
0665:             * @param model an RDF2Go model
0666:             * @param resource an RDF2Go resource
0667:             * @throws CardinalityException if adding a value would bring the number 
0668:             *            of property values above the cardinality constraint.
0669:             *
0670:             * [Generated from RDFReactor template rule #add7static] 
0671:             */
0672:            public static void addChangeCause(Model model,
0673:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0674:                    java.lang.String value) throws CardinalityException {
0675:                Base.add(model, instanceResource, CHANGECAUSE, value, 1);
0676:            }
0677:
0678:            /**
0679:             * Adds a value to property ChangeCause from an instance of java.lang.String 
0680:             * @throws CardinalityException if adding a value would bring the number 
0681:             *            of property values above the cardinality constraint.
0682:             *
0683:             * [Generated from RDFReactor template rule #add8dynamic] 
0684:             */
0685:            public void addChangeCause(java.lang.String value)
0686:                    throws CardinalityException {
0687:                Base.add(this .model, this .getResource(), CHANGECAUSE, value, 1);
0688:            }
0689:
0690:            /**
0691:             * Sets a value of property ChangeCause from an RDF2Go node.
0692:             * First, all existing values are removed, then this value is added.
0693:             * Cardinality constraints are not checked, but this method exists only for properties with
0694:             * no minCardinality or minCardinality == 1.
0695:             * @param model an RDF2Go model
0696:             * @param resource an RDF2Go resource
0697:             * @param value the value to be set
0698:             *
0699:             * [Generated from RDFReactor template rule #set1static] 
0700:             */
0701:            public static void setChangeCause(Model model,
0702:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0703:                    org.ontoware.rdf2go.model.node.Node value) {
0704:                Base.set(model, instanceResource, CHANGECAUSE, value);
0705:            }
0706:
0707:            /**
0708:             * Sets a value of property ChangeCause from an RDF2Go node.
0709:             * First, all existing values are removed, then this value is added.
0710:             * Cardinality constraints are not checked, but this method exists only for properties with
0711:             * no minCardinality or minCardinality == 1.
0712:             * @param value the value to be added
0713:             *
0714:             * [Generated from RDFReactor template rule #set1dynamic] 
0715:             */
0716:            public void setChangeCause(org.ontoware.rdf2go.model.node.Node value) {
0717:                Base.set(this .model, this .getResource(), CHANGECAUSE, value);
0718:            }
0719:
0720:            /**
0721:             * Sets a value of property ChangeCause from an instance of java.lang.String 
0722:             * First, all existing values are removed, then this value is added.
0723:             * Cardinality constraints are not checked, but this method exists only for properties with
0724:             * no minCardinality or minCardinality == 1.
0725:             * @param model an RDF2Go model
0726:             * @param resource an RDF2Go resource
0727:             * @param value the value to be added
0728:             *
0729:             * [Generated from RDFReactor template rule #set3static] 
0730:             */
0731:            public static void setChangeCause(Model model,
0732:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0733:                    java.lang.String value) {
0734:                Base.set(model, instanceResource, CHANGECAUSE, value);
0735:            }
0736:
0737:            /**
0738:             * Sets a value of property ChangeCause from an instance of java.lang.String 
0739:             * First, all existing values are removed, then this value is added.
0740:             * Cardinality constraints are not checked, but this method exists only for properties with
0741:             * no minCardinality or minCardinality == 1.
0742:             * @param value the value to be added
0743:             *
0744:             * [Generated from RDFReactor template rule #set4dynamic] 
0745:             */
0746:            public void setChangeCause(java.lang.String value) {
0747:                Base.set(this .model, this .getResource(), CHANGECAUSE, value);
0748:            }
0749:
0750:            /**
0751:             * Removes a value of property ChangeCause as an RDF2Go node 
0752:             * @param model an RDF2Go model
0753:             * @param resource an RDF2Go resource
0754:             * @param value the value to be removed
0755:             *
0756:             * [Generated from RDFReactor template rule #remove1static] 
0757:             */
0758:            public static void removeChangeCause(Model model,
0759:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0760:                    org.ontoware.rdf2go.model.node.Node value) {
0761:                Base.remove(model, instanceResource, CHANGECAUSE, value);
0762:            }
0763:
0764:            /**
0765:             * Removes a value of property ChangeCause as an RDF2Go node
0766:             * @param value the value to be removed
0767:             *
0768:             * [Generated from RDFReactor template rule #remove1dynamic] 
0769:             */
0770:            public void removeChangeCause(
0771:                    org.ontoware.rdf2go.model.node.Node value) {
0772:                Base.remove(this .model, this .getResource(), CHANGECAUSE, value);
0773:            }
0774:
0775:            /**
0776:             * Removes a value of property ChangeCause given as an instance of java.lang.String 
0777:             * @param model an RDF2Go model
0778:             * @param resource an RDF2Go resource
0779:             * @param value the value to be removed
0780:             *
0781:             * [Generated from RDFReactor template rule #remove3static] 
0782:             */
0783:            public static void removeChangeCause(Model model,
0784:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0785:                    java.lang.String value) {
0786:                Base.remove(model, instanceResource, CHANGECAUSE, value);
0787:            }
0788:
0789:            /**
0790:             * Removes a value of property ChangeCause given as an instance of java.lang.String 
0791:             * @param value the value to be removed
0792:             *
0793:             * [Generated from RDFReactor template rule #remove4dynamic] 
0794:             */
0795:            public void removeChangeCause(java.lang.String value) {
0796:                Base.remove(this .model, this .getResource(), CHANGECAUSE, value);
0797:            }
0798:
0799:            /**
0800:             * Removes all values of property ChangeCause     * @param model an RDF2Go model
0801:             * @param resource an RDF2Go resource
0802:             *
0803:             * [Generated from RDFReactor template rule #removeall1static] 
0804:             */
0805:            public static void removeAllChangeCause(Model model,
0806:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0807:                Base.removeAll(model, instanceResource, CHANGECAUSE);
0808:            }
0809:
0810:            /**
0811:             * Removes all values of property ChangeCause	 *
0812:             * [Generated from RDFReactor template rule #removeall1dynamic] 
0813:             */
0814:            public void addChangeCause() {
0815:                Base.removeAll(this .model, this .getResource(), CHANGECAUSE);
0816:            }
0817:
0818:            /**
0819:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1e06de8 has at least one value set 
0820:             * @param model an RDF2Go model
0821:             * @param resource an RDF2Go resource
0822:             * @return true if this property has at least one value
0823:             *
0824:             * [Generated from RDFReactor template rule #get0has-static] 
0825:             */
0826:            public static boolean hasChild(Model model,
0827:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0828:                return Base.has(model, instanceResource, CHILD);
0829:            }
0830:
0831:            /**
0832:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1e06de8 has at least one value set 
0833:             * @return true if this property has at least one value
0834:             *
0835:             * [Generated from RDFReactor template rule #get0has-dynamic] 
0836:             */
0837:            public boolean hasChild() {
0838:                return Base.has(this .model, this .getResource(), CHILD);
0839:            }
0840:
0841:            /**
0842:             * Get all values of property Child as an Iterator over RDF2Go nodes 
0843:             * @param model an RDF2Go model
0844:             * @param resource an RDF2Go resource
0845:             * @return a ClosableIterator of RDF2Go Nodes
0846:             *
0847:             * [Generated from RDFReactor template rule #get7static] 
0848:             */
0849:            public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllChild_asNode(
0850:                    Model model,
0851:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0852:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0853:                        .getAll_asNode(model, instanceResource, CHILD);
0854:            }
0855:
0856:            /**
0857:             * Get all values of property Child as a ReactorResult of RDF2Go nodes 
0858:             * @param model an RDF2Go model
0859:             * @param resource an RDF2Go resource
0860:             * @return a List of RDF2Go Nodes
0861:             *
0862:             * [Generated from RDFReactor template rule #get7static-reactor-result] 
0863:             */
0864:            public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllChild_asNode_(
0865:                    Model model,
0866:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0867:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0868:                        .getAll_as(model, instanceResource, CHILD,
0869:                                org.ontoware.rdf2go.model.node.Node.class);
0870:            }
0871:
0872:            /**
0873:             * Get all values of property Child as an Iterator over RDF2Go nodes 
0874:             * @return a ClosableIterator of RDF2Go Nodes
0875:             *
0876:             * [Generated from RDFReactor template rule #get8dynamic] 
0877:             */
0878:            public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllChild_asNode() {
0879:                return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0880:                        .getAll_asNode(this .model, this .getResource(), CHILD);
0881:            }
0882:
0883:            /**
0884:             * Get all values of property Child as a ReactorResult of RDF2Go nodes 
0885:             * @return a List of RDF2Go Nodes
0886:             *
0887:             * [Generated from RDFReactor template rule #get8dynamic-reactor-result] 
0888:             */
0889:            public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllChild_asNode_() {
0890:                return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0891:                        .getAll_as(this .model, this .getResource(), CHILD,
0892:                                org.ontoware.rdf2go.model.node.Node.class);
0893:            }
0894:
0895:            /**
0896:             * Get all values of property Child     * @param model an RDF2Go model
0897:             * @param resource an RDF2Go resource
0898:             * @return a ClosableIterator of $type
0899:             *
0900:             * [Generated from RDFReactor template rule #get11static] 
0901:             */
0902:            public static ClosableIterator<Version> getAllChild(Model model,
0903:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0904:                return Base.getAll(model, instanceResource, CHILD,
0905:                        Version.class);
0906:            }
0907:
0908:            /**
0909:             * Get all values of property Child as a ReactorResult of Version 
0910:             * @param model an RDF2Go model
0911:             * @param resource an RDF2Go resource
0912:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0913:             *
0914:             * [Generated from RDFReactor template rule #get11static-reactorresult] 
0915:             */
0916:            public static ReactorResult<Version> getAllChild_as(Model model,
0917:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
0918:                return Base.getAll_as(model, instanceResource, CHILD,
0919:                        Version.class);
0920:            }
0921:
0922:            /**
0923:             * Get all values of property Child     * @return a ClosableIterator of $type
0924:             *
0925:             * [Generated from RDFReactor template rule #get12dynamic] 
0926:             */
0927:            public ClosableIterator<Version> getAllChild() {
0928:                return Base.getAll(this .model, this .getResource(), CHILD,
0929:                        Version.class);
0930:            }
0931:
0932:            /**
0933:             * Get all values of property Child as a ReactorResult of Version 
0934:             * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0935:             *
0936:             * [Generated from RDFReactor template rule #get12dynamic-reactorresult] 
0937:             */
0938:            public ReactorResult<Version> getAllChild_as() {
0939:                return Base.getAll_as(this .model, this .getResource(), CHILD,
0940:                        Version.class);
0941:            }
0942:
0943:            /**
0944:             * Adds a value to property Child as an RDF2Go node 
0945:             * @param model an RDF2Go model
0946:             * @param resource an RDF2Go resource
0947:             * @param value the value to be added
0948:             *
0949:             * [Generated from RDFReactor template rule #add1static] 
0950:             */
0951:            public static void addChild(Model model,
0952:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0953:                    org.ontoware.rdf2go.model.node.Node value) {
0954:                Base.add(model, instanceResource, CHILD, value);
0955:            }
0956:
0957:            /**
0958:             * Adds a value to property Child as an RDF2Go node 
0959:             * @param value the value to be added
0960:             *
0961:             * [Generated from RDFReactor template rule #add1dynamic] 
0962:             */
0963:            public void addChild(org.ontoware.rdf2go.model.node.Node value) {
0964:                Base.add(this .model, this .getResource(), CHILD, value);
0965:            }
0966:
0967:            /**
0968:             * Adds a value to property Child from an instance of Version 
0969:             * @param model an RDF2Go model
0970:             * @param resource an RDF2Go resource
0971:             *
0972:             * [Generated from RDFReactor template rule #add3static] 
0973:             */
0974:            public static void addChild(Model model,
0975:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
0976:                    Version value) {
0977:                Base.add(model, instanceResource, CHILD, value);
0978:            }
0979:
0980:            /**
0981:             * Adds a value to property Child from an instance of Version 
0982:             *
0983:             * [Generated from RDFReactor template rule #add4dynamic] 
0984:             */
0985:            public void addChild(Version value) {
0986:                Base.add(this .model, this .getResource(), CHILD, value);
0987:            }
0988:
0989:            /**
0990:             * Sets a value of property Child from an RDF2Go node.
0991:             * First, all existing values are removed, then this value is added.
0992:             * Cardinality constraints are not checked, but this method exists only for properties with
0993:             * no minCardinality or minCardinality == 1.
0994:             * @param model an RDF2Go model
0995:             * @param resource an RDF2Go resource
0996:             * @param value the value to be set
0997:             *
0998:             * [Generated from RDFReactor template rule #set1static] 
0999:             */
1000:            public static void setChild(Model model,
1001:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1002:                    org.ontoware.rdf2go.model.node.Node value) {
1003:                Base.set(model, instanceResource, CHILD, value);
1004:            }
1005:
1006:            /**
1007:             * Sets a value of property Child from an RDF2Go node.
1008:             * First, all existing values are removed, then this value is added.
1009:             * Cardinality constraints are not checked, but this method exists only for properties with
1010:             * no minCardinality or minCardinality == 1.
1011:             * @param value the value to be added
1012:             *
1013:             * [Generated from RDFReactor template rule #set1dynamic] 
1014:             */
1015:            public void setChild(org.ontoware.rdf2go.model.node.Node value) {
1016:                Base.set(this .model, this .getResource(), CHILD, value);
1017:            }
1018:
1019:            /**
1020:             * Sets a value of property Child from an instance of Version 
1021:             * First, all existing values are removed, then this value is added.
1022:             * Cardinality constraints are not checked, but this method exists only for properties with
1023:             * no minCardinality or minCardinality == 1.
1024:             * @param model an RDF2Go model
1025:             * @param resource an RDF2Go resource
1026:             * @param value the value to be added
1027:             *
1028:             * [Generated from RDFReactor template rule #set3static] 
1029:             */
1030:            public static void setChild(Model model,
1031:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1032:                    Version value) {
1033:                Base.set(model, instanceResource, CHILD, value);
1034:            }
1035:
1036:            /**
1037:             * Sets a value of property Child from an instance of Version 
1038:             * First, all existing values are removed, then this value is added.
1039:             * Cardinality constraints are not checked, but this method exists only for properties with
1040:             * no minCardinality or minCardinality == 1.
1041:             * @param value the value to be added
1042:             *
1043:             * [Generated from RDFReactor template rule #set4dynamic] 
1044:             */
1045:            public void setChild(Version value) {
1046:                Base.set(this .model, this .getResource(), CHILD, value);
1047:            }
1048:
1049:            /**
1050:             * Removes a value of property Child as an RDF2Go node 
1051:             * @param model an RDF2Go model
1052:             * @param resource an RDF2Go resource
1053:             * @param value the value to be removed
1054:             *
1055:             * [Generated from RDFReactor template rule #remove1static] 
1056:             */
1057:            public static void removeChild(Model model,
1058:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1059:                    org.ontoware.rdf2go.model.node.Node value) {
1060:                Base.remove(model, instanceResource, CHILD, value);
1061:            }
1062:
1063:            /**
1064:             * Removes a value of property Child as an RDF2Go node
1065:             * @param value the value to be removed
1066:             *
1067:             * [Generated from RDFReactor template rule #remove1dynamic] 
1068:             */
1069:            public void removeChild(org.ontoware.rdf2go.model.node.Node value) {
1070:                Base.remove(this .model, this .getResource(), CHILD, value);
1071:            }
1072:
1073:            /**
1074:             * Removes a value of property Child given as an instance of Version 
1075:             * @param model an RDF2Go model
1076:             * @param resource an RDF2Go resource
1077:             * @param value the value to be removed
1078:             *
1079:             * [Generated from RDFReactor template rule #remove3static] 
1080:             */
1081:            public static void removeChild(Model model,
1082:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1083:                    Version value) {
1084:                Base.remove(model, instanceResource, CHILD, value);
1085:            }
1086:
1087:            /**
1088:             * Removes a value of property Child given as an instance of Version 
1089:             * @param value the value to be removed
1090:             *
1091:             * [Generated from RDFReactor template rule #remove4dynamic] 
1092:             */
1093:            public void removeChild(Version value) {
1094:                Base.remove(this .model, this .getResource(), CHILD, value);
1095:            }
1096:
1097:            /**
1098:             * Removes all values of property Child     * @param model an RDF2Go model
1099:             * @param resource an RDF2Go resource
1100:             *
1101:             * [Generated from RDFReactor template rule #removeall1static] 
1102:             */
1103:            public static void removeAllChild(Model model,
1104:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1105:                Base.removeAll(model, instanceResource, CHILD);
1106:            }
1107:
1108:            /**
1109:             * Removes all values of property Child	 *
1110:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1111:             */
1112:            public void addChild() {
1113:                Base.removeAll(this .model, this .getResource(), CHILD);
1114:            }
1115:
1116:            /**
1117:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1e940a6 has at least one value set 
1118:             * @param model an RDF2Go model
1119:             * @param resource an RDF2Go resource
1120:             * @return true if this property has at least one value
1121:             *
1122:             * [Generated from RDFReactor template rule #get0has-static] 
1123:             */
1124:            public static boolean hasContainer(Model model,
1125:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1126:                return Base.has(model, instanceResource, CONTAINER);
1127:            }
1128:
1129:            /**
1130:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1e940a6 has at least one value set 
1131:             * @return true if this property has at least one value
1132:             *
1133:             * [Generated from RDFReactor template rule #get0has-dynamic] 
1134:             */
1135:            public boolean hasContainer() {
1136:                return Base.has(this .model, this .getResource(), CONTAINER);
1137:            }
1138:
1139:            /**
1140:             * Get single value of property Container as an RDF2Go node 
1141:             * @param model an RDF2Go model
1142:             * @param resource an RDF2Go resource
1143:             * @return the single value or null if no value is found
1144:             * @throws RDFDataException at runtime, if the property has multiple values
1145:             *
1146:             * [Generated from RDFReactor template rule #get1static] 
1147:             */
1148:            public static org.ontoware.rdf2go.model.node.Node getContainer_asNode(
1149:                    Model model,
1150:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1151:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1152:                        model, instanceResource, CONTAINER);
1153:            }
1154:
1155:            /**
1156:             * Get single value of property Container as an RDF2Go node 
1157:             * @return the single value or null if no value is found
1158:             * @throws RDFDataException, if the property has multiple values
1159:             *
1160:             * [Generated from RDFReactor template rule #get2dynamic] 
1161:             */
1162:            public org.ontoware.rdf2go.model.node.Node getContainer_asNode() {
1163:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1164:                        this .model, this .getResource(), CONTAINER);
1165:            }
1166:
1167:            /**
1168:             * Get single value of property Container     * @param model an RDF2Go model
1169:             * @param resource an RDF2Go resource
1170:             * @return the single value or null if no value is found
1171:             * @throws RDFDataException, if the property has multiple values
1172:             *
1173:             * [Generated from RDFReactor template rule #get5static] 
1174:             */
1175:            public static VersionedModel getContainer(Model model,
1176:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1177:                return (VersionedModel) Base.get(model, instanceResource,
1178:                        CONTAINER, VersionedModel.class);
1179:            }
1180:
1181:            /**
1182:             * Get single value of property Container     * @return the single value or null if no value is found
1183:             * @throws RDFDataException, if the property has multiple values
1184:             *
1185:             * [Generated from RDFReactor template rule #get6dynamic] 
1186:             */
1187:            public VersionedModel getContainer() {
1188:                return (VersionedModel) Base.get(this .model,
1189:                        this .getResource(), CONTAINER, VersionedModel.class);
1190:            }
1191:
1192:            /**
1193:             * Adds a value to property Container as an RDF2Go node 
1194:             * @param model an RDF2Go model
1195:             * @param resource an RDF2Go resource
1196:             * @param value the value to be added
1197:             * @throws CardinalityException if adding a value would bring the number 
1198:             *            of property values above the cardinality constraint.
1199:             *
1200:             * [Generated from RDFReactor template rule #add5static] 
1201:             */
1202:            public static void addContainer(Model model,
1203:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1204:                    org.ontoware.rdf2go.model.node.Node value)
1205:                    throws CardinalityException {
1206:                Base.add(model, instanceResource, CONTAINER, value, 1);
1207:            }
1208:
1209:            /**
1210:             * Adds a value to property Container as an RDF2Go node 
1211:             * @param value the value to be added
1212:             * @throws CardinalityException if adding a value would bring the number 
1213:             *            of property values above the cardinality constraint.
1214:             *
1215:             * [Generated from RDFReactor template rule #add6dynamic] 
1216:             */
1217:            public void addContainer(org.ontoware.rdf2go.model.node.Node value)
1218:                    throws CardinalityException {
1219:                Base.add(this .model, this .getResource(), CONTAINER, value, 1);
1220:            }
1221:
1222:            /**
1223:             * Adds a value to property Container from an instance of VersionedModel 
1224:             * @param model an RDF2Go model
1225:             * @param resource an RDF2Go resource
1226:             * @throws CardinalityException if adding a value would bring the number 
1227:             *            of property values above the cardinality constraint.
1228:             *
1229:             * [Generated from RDFReactor template rule #add7static] 
1230:             */
1231:            public static void addContainer(Model model,
1232:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1233:                    VersionedModel value) throws CardinalityException {
1234:                Base.add(model, instanceResource, CONTAINER, value, 1);
1235:            }
1236:
1237:            /**
1238:             * Adds a value to property Container from an instance of VersionedModel 
1239:             * @throws CardinalityException if adding a value would bring the number 
1240:             *            of property values above the cardinality constraint.
1241:             *
1242:             * [Generated from RDFReactor template rule #add8dynamic] 
1243:             */
1244:            public void addContainer(VersionedModel value)
1245:                    throws CardinalityException {
1246:                Base.add(this .model, this .getResource(), CONTAINER, value, 1);
1247:            }
1248:
1249:            /**
1250:             * Sets a value of property Container from an RDF2Go node.
1251:             * First, all existing values are removed, then this value is added.
1252:             * Cardinality constraints are not checked, but this method exists only for properties with
1253:             * no minCardinality or minCardinality == 1.
1254:             * @param model an RDF2Go model
1255:             * @param resource an RDF2Go resource
1256:             * @param value the value to be set
1257:             *
1258:             * [Generated from RDFReactor template rule #set1static] 
1259:             */
1260:            public static void setContainer(Model model,
1261:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1262:                    org.ontoware.rdf2go.model.node.Node value) {
1263:                Base.set(model, instanceResource, CONTAINER, value);
1264:            }
1265:
1266:            /**
1267:             * Sets a value of property Container from an RDF2Go node.
1268:             * First, all existing values are removed, then this value is added.
1269:             * Cardinality constraints are not checked, but this method exists only for properties with
1270:             * no minCardinality or minCardinality == 1.
1271:             * @param value the value to be added
1272:             *
1273:             * [Generated from RDFReactor template rule #set1dynamic] 
1274:             */
1275:            public void setContainer(org.ontoware.rdf2go.model.node.Node value) {
1276:                Base.set(this .model, this .getResource(), CONTAINER, value);
1277:            }
1278:
1279:            /**
1280:             * Sets a value of property Container from an instance of VersionedModel 
1281:             * First, all existing values are removed, then this value is added.
1282:             * Cardinality constraints are not checked, but this method exists only for properties with
1283:             * no minCardinality or minCardinality == 1.
1284:             * @param model an RDF2Go model
1285:             * @param resource an RDF2Go resource
1286:             * @param value the value to be added
1287:             *
1288:             * [Generated from RDFReactor template rule #set3static] 
1289:             */
1290:            public static void setContainer(Model model,
1291:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1292:                    VersionedModel value) {
1293:                Base.set(model, instanceResource, CONTAINER, value);
1294:            }
1295:
1296:            /**
1297:             * Sets a value of property Container from an instance of VersionedModel 
1298:             * First, all existing values are removed, then this value is added.
1299:             * Cardinality constraints are not checked, but this method exists only for properties with
1300:             * no minCardinality or minCardinality == 1.
1301:             * @param value the value to be added
1302:             *
1303:             * [Generated from RDFReactor template rule #set4dynamic] 
1304:             */
1305:            public void setContainer(VersionedModel value) {
1306:                Base.set(this .model, this .getResource(), CONTAINER, value);
1307:            }
1308:
1309:            /**
1310:             * Removes a value of property Container as an RDF2Go node 
1311:             * @param model an RDF2Go model
1312:             * @param resource an RDF2Go resource
1313:             * @param value the value to be removed
1314:             * @throws CardinalityException if removing a value would bring the number 
1315:             *            of property values below the cardinality constraint.
1316:             *
1317:             * [Generated from RDFReactor template rule #remove5static] 
1318:             */
1319:            public static void removeContainer(Model model,
1320:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1321:                    org.ontoware.rdf2go.model.node.Node value)
1322:                    throws CardinalityException {
1323:                Base.remove(model, instanceResource, CONTAINER, value, 1);
1324:            }
1325:
1326:            /**
1327:             * Removes a value of property Container as an RDF2Go node 
1328:             * @param value the value to be removed
1329:             * @throws CardinalityException if removing a value would bring the number 
1330:             *            of property values below the cardinality constraint.
1331:             *
1332:             * [Generated from RDFReactor template rule #remove6dynamic] 
1333:             */
1334:            public void removeContainer(
1335:                    org.ontoware.rdf2go.model.node.Node value)
1336:                    throws CardinalityException {
1337:                Base
1338:                        .remove(this .model, this .getResource(), CONTAINER,
1339:                                value, 1);
1340:            }
1341:
1342:            /**
1343:             * Removes a value of property Container from an instance of VersionedModel 
1344:             * @param model an RDF2Go model
1345:             * @param resource an RDF2Go resource
1346:             * @param value the value to be removed
1347:             * @throws CardinalityException if removing a value would bring the number 
1348:             *            of property values below the cardinality constraint.
1349:             *
1350:             * [Generated from RDFReactor template rule #remove7static] 
1351:             */
1352:            public static void removeContainer(Model model,
1353:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1354:                    VersionedModel value) throws CardinalityException {
1355:                Base.remove(model, instanceResource, CONTAINER, value, 1);
1356:            }
1357:
1358:            /**
1359:             * Removes a value of property Container from an instance of VersionedModel 
1360:             * @param value the value to be removed
1361:             * @throws CardinalityException if removing a value would bring the number 
1362:             *            of property values below the cardinality constraint.
1363:             *
1364:             * [Generated from RDFReactor template rule #remove8dynamic] 
1365:             */
1366:            public void removeContainer(VersionedModel value)
1367:                    throws CardinalityException {
1368:                Base
1369:                        .remove(this .model, this .getResource(), CONTAINER,
1370:                                value, 1);
1371:            }
1372:
1373:            /**
1374:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@ac576f has at least one value set 
1375:             * @param model an RDF2Go model
1376:             * @param resource an RDF2Go resource
1377:             * @return true if this property has at least one value
1378:             *
1379:             * [Generated from RDFReactor template rule #get0has-static] 
1380:             */
1381:            public static boolean hasContent(Model model,
1382:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1383:                return Base.has(model, instanceResource, CONTENT);
1384:            }
1385:
1386:            /**
1387:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@ac576f has at least one value set 
1388:             * @return true if this property has at least one value
1389:             *
1390:             * [Generated from RDFReactor template rule #get0has-dynamic] 
1391:             */
1392:            public boolean hasContent() {
1393:                return Base.has(this .model, this .getResource(), CONTENT);
1394:            }
1395:
1396:            /**
1397:             * Get single value of property Content as an RDF2Go node 
1398:             * @param model an RDF2Go model
1399:             * @param resource an RDF2Go resource
1400:             * @return the single value or null if no value is found
1401:             * @throws RDFDataException at runtime, if the property has multiple values
1402:             *
1403:             * [Generated from RDFReactor template rule #get1static] 
1404:             */
1405:            public static org.ontoware.rdf2go.model.node.Node getContent_asNode(
1406:                    Model model,
1407:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1408:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1409:                        model, instanceResource, CONTENT);
1410:            }
1411:
1412:            /**
1413:             * Get single value of property Content as an RDF2Go node 
1414:             * @return the single value or null if no value is found
1415:             * @throws RDFDataException, if the property has multiple values
1416:             *
1417:             * [Generated from RDFReactor template rule #get2dynamic] 
1418:             */
1419:            public org.ontoware.rdf2go.model.node.Node getContent_asNode() {
1420:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1421:                        this .model, this .getResource(), CONTENT);
1422:            }
1423:
1424:            /**
1425:             * Get single value of property Content     * @param model an RDF2Go model
1426:             * @param resource an RDF2Go resource
1427:             * @return the single value or null if no value is found
1428:             * @throws RDFDataException, if the property has multiple values
1429:             *
1430:             * [Generated from RDFReactor template rule #get5static] 
1431:             */
1432:            public static RDFModel getContent(Model model,
1433:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1434:                return (RDFModel) Base.get(model, instanceResource, CONTENT,
1435:                        RDFModel.class);
1436:            }
1437:
1438:            /**
1439:             * Get single value of property Content     * @return the single value or null if no value is found
1440:             * @throws RDFDataException, if the property has multiple values
1441:             *
1442:             * [Generated from RDFReactor template rule #get6dynamic] 
1443:             */
1444:            public RDFModel getContent() {
1445:                return (RDFModel) Base.get(this .model, this .getResource(),
1446:                        CONTENT, RDFModel.class);
1447:            }
1448:
1449:            /**
1450:             * Adds a value to property Content as an RDF2Go node 
1451:             * @param model an RDF2Go model
1452:             * @param resource an RDF2Go resource
1453:             * @param value the value to be added
1454:             * @throws CardinalityException if adding a value would bring the number 
1455:             *            of property values above the cardinality constraint.
1456:             *
1457:             * [Generated from RDFReactor template rule #add5static] 
1458:             */
1459:            public static void addContent(Model model,
1460:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1461:                    org.ontoware.rdf2go.model.node.Node value)
1462:                    throws CardinalityException {
1463:                Base.add(model, instanceResource, CONTENT, value, 1);
1464:            }
1465:
1466:            /**
1467:             * Adds a value to property Content as an RDF2Go node 
1468:             * @param value the value to be added
1469:             * @throws CardinalityException if adding a value would bring the number 
1470:             *            of property values above the cardinality constraint.
1471:             *
1472:             * [Generated from RDFReactor template rule #add6dynamic] 
1473:             */
1474:            public void addContent(org.ontoware.rdf2go.model.node.Node value)
1475:                    throws CardinalityException {
1476:                Base.add(this .model, this .getResource(), CONTENT, value, 1);
1477:            }
1478:
1479:            /**
1480:             * Adds a value to property Content from an instance of RDFModel 
1481:             * @param model an RDF2Go model
1482:             * @param resource an RDF2Go resource
1483:             * @throws CardinalityException if adding a value would bring the number 
1484:             *            of property values above the cardinality constraint.
1485:             *
1486:             * [Generated from RDFReactor template rule #add7static] 
1487:             */
1488:            public static void addContent(Model model,
1489:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1490:                    RDFModel value) throws CardinalityException {
1491:                Base.add(model, instanceResource, CONTENT, value, 1);
1492:            }
1493:
1494:            /**
1495:             * Adds a value to property Content from an instance of RDFModel 
1496:             * @throws CardinalityException if adding a value would bring the number 
1497:             *            of property values above the cardinality constraint.
1498:             *
1499:             * [Generated from RDFReactor template rule #add8dynamic] 
1500:             */
1501:            public void addContent(RDFModel value) throws CardinalityException {
1502:                Base.add(this .model, this .getResource(), CONTENT, value, 1);
1503:            }
1504:
1505:            /**
1506:             * Sets a value of property Content from an RDF2Go node.
1507:             * First, all existing values are removed, then this value is added.
1508:             * Cardinality constraints are not checked, but this method exists only for properties with
1509:             * no minCardinality or minCardinality == 1.
1510:             * @param model an RDF2Go model
1511:             * @param resource an RDF2Go resource
1512:             * @param value the value to be set
1513:             *
1514:             * [Generated from RDFReactor template rule #set1static] 
1515:             */
1516:            public static void setContent(Model model,
1517:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1518:                    org.ontoware.rdf2go.model.node.Node value) {
1519:                Base.set(model, instanceResource, CONTENT, value);
1520:            }
1521:
1522:            /**
1523:             * Sets a value of property Content from an RDF2Go node.
1524:             * First, all existing values are removed, then this value is added.
1525:             * Cardinality constraints are not checked, but this method exists only for properties with
1526:             * no minCardinality or minCardinality == 1.
1527:             * @param value the value to be added
1528:             *
1529:             * [Generated from RDFReactor template rule #set1dynamic] 
1530:             */
1531:            public void setContent(org.ontoware.rdf2go.model.node.Node value) {
1532:                Base.set(this .model, this .getResource(), CONTENT, value);
1533:            }
1534:
1535:            /**
1536:             * Sets a value of property Content from an instance of RDFModel 
1537:             * First, all existing values are removed, then this value is added.
1538:             * Cardinality constraints are not checked, but this method exists only for properties with
1539:             * no minCardinality or minCardinality == 1.
1540:             * @param model an RDF2Go model
1541:             * @param resource an RDF2Go resource
1542:             * @param value the value to be added
1543:             *
1544:             * [Generated from RDFReactor template rule #set3static] 
1545:             */
1546:            public static void setContent(Model model,
1547:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1548:                    RDFModel value) {
1549:                Base.set(model, instanceResource, CONTENT, value);
1550:            }
1551:
1552:            /**
1553:             * Sets a value of property Content from an instance of RDFModel 
1554:             * First, all existing values are removed, then this value is added.
1555:             * Cardinality constraints are not checked, but this method exists only for properties with
1556:             * no minCardinality or minCardinality == 1.
1557:             * @param value the value to be added
1558:             *
1559:             * [Generated from RDFReactor template rule #set4dynamic] 
1560:             */
1561:            public void setContent(RDFModel value) {
1562:                Base.set(this .model, this .getResource(), CONTENT, value);
1563:            }
1564:
1565:            /**
1566:             * Removes a value of property Content as an RDF2Go node 
1567:             * @param model an RDF2Go model
1568:             * @param resource an RDF2Go resource
1569:             * @param value the value to be removed
1570:             *
1571:             * [Generated from RDFReactor template rule #remove1static] 
1572:             */
1573:            public static void removeContent(Model model,
1574:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1575:                    org.ontoware.rdf2go.model.node.Node value) {
1576:                Base.remove(model, instanceResource, CONTENT, value);
1577:            }
1578:
1579:            /**
1580:             * Removes a value of property Content as an RDF2Go node
1581:             * @param value the value to be removed
1582:             *
1583:             * [Generated from RDFReactor template rule #remove1dynamic] 
1584:             */
1585:            public void removeContent(org.ontoware.rdf2go.model.node.Node value) {
1586:                Base.remove(this .model, this .getResource(), CONTENT, value);
1587:            }
1588:
1589:            /**
1590:             * Removes a value of property Content given as an instance of RDFModel 
1591:             * @param model an RDF2Go model
1592:             * @param resource an RDF2Go resource
1593:             * @param value the value to be removed
1594:             *
1595:             * [Generated from RDFReactor template rule #remove3static] 
1596:             */
1597:            public static void removeContent(Model model,
1598:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1599:                    RDFModel value) {
1600:                Base.remove(model, instanceResource, CONTENT, value);
1601:            }
1602:
1603:            /**
1604:             * Removes a value of property Content given as an instance of RDFModel 
1605:             * @param value the value to be removed
1606:             *
1607:             * [Generated from RDFReactor template rule #remove4dynamic] 
1608:             */
1609:            public void removeContent(RDFModel value) {
1610:                Base.remove(this .model, this .getResource(), CONTENT, value);
1611:            }
1612:
1613:            /**
1614:             * Removes all values of property Content     * @param model an RDF2Go model
1615:             * @param resource an RDF2Go resource
1616:             *
1617:             * [Generated from RDFReactor template rule #removeall1static] 
1618:             */
1619:            public static void removeAllContent(Model model,
1620:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1621:                Base.removeAll(model, instanceResource, CONTENT);
1622:            }
1623:
1624:            /**
1625:             * Removes all values of property Content	 *
1626:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1627:             */
1628:            public void addContent() {
1629:                Base.removeAll(this .model, this .getResource(), CONTENT);
1630:            }
1631:
1632:            /**
1633:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1b2ede8 has at least one value set 
1634:             * @param model an RDF2Go model
1635:             * @param resource an RDF2Go resource
1636:             * @return true if this property has at least one value
1637:             *
1638:             * [Generated from RDFReactor template rule #get0has-static] 
1639:             */
1640:            public static boolean hasFirstParent(Model model,
1641:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1642:                return Base.has(model, instanceResource, FIRSTPARENT);
1643:            }
1644:
1645:            /**
1646:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@1b2ede8 has at least one value set 
1647:             * @return true if this property has at least one value
1648:             *
1649:             * [Generated from RDFReactor template rule #get0has-dynamic] 
1650:             */
1651:            public boolean hasFirstParent() {
1652:                return Base.has(this .model, this .getResource(), FIRSTPARENT);
1653:            }
1654:
1655:            /**
1656:             * Get single value of property FirstParent as an RDF2Go node 
1657:             * @param model an RDF2Go model
1658:             * @param resource an RDF2Go resource
1659:             * @return the single value or null if no value is found
1660:             * @throws RDFDataException at runtime, if the property has multiple values
1661:             *
1662:             * [Generated from RDFReactor template rule #get1static] 
1663:             */
1664:            public static org.ontoware.rdf2go.model.node.Node getFirstParent_asNode(
1665:                    Model model,
1666:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1667:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1668:                        model, instanceResource, FIRSTPARENT);
1669:            }
1670:
1671:            /**
1672:             * Get single value of property FirstParent as an RDF2Go node 
1673:             * @return the single value or null if no value is found
1674:             * @throws RDFDataException, if the property has multiple values
1675:             *
1676:             * [Generated from RDFReactor template rule #get2dynamic] 
1677:             */
1678:            public org.ontoware.rdf2go.model.node.Node getFirstParent_asNode() {
1679:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1680:                        this .model, this .getResource(), FIRSTPARENT);
1681:            }
1682:
1683:            /**
1684:             * Get single value of property FirstParent     * @param model an RDF2Go model
1685:             * @param resource an RDF2Go resource
1686:             * @return the single value or null if no value is found
1687:             * @throws RDFDataException, if the property has multiple values
1688:             *
1689:             * [Generated from RDFReactor template rule #get5static] 
1690:             */
1691:            public static Version getFirstParent(Model model,
1692:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1693:                return (Version) Base.get(model, instanceResource, FIRSTPARENT,
1694:                        Version.class);
1695:            }
1696:
1697:            /**
1698:             * Get single value of property FirstParent     * @return the single value or null if no value is found
1699:             * @throws RDFDataException, if the property has multiple values
1700:             *
1701:             * [Generated from RDFReactor template rule #get6dynamic] 
1702:             */
1703:            public Version getFirstParent() {
1704:                return (Version) Base.get(this .model, this .getResource(),
1705:                        FIRSTPARENT, Version.class);
1706:            }
1707:
1708:            /**
1709:             * Adds a value to property FirstParent as an RDF2Go node 
1710:             * @param model an RDF2Go model
1711:             * @param resource an RDF2Go resource
1712:             * @param value the value to be added
1713:             * @throws CardinalityException if adding a value would bring the number 
1714:             *            of property values above the cardinality constraint.
1715:             *
1716:             * [Generated from RDFReactor template rule #add5static] 
1717:             */
1718:            public static void addFirstParent(Model model,
1719:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1720:                    org.ontoware.rdf2go.model.node.Node value)
1721:                    throws CardinalityException {
1722:                Base.add(model, instanceResource, FIRSTPARENT, value, 1);
1723:            }
1724:
1725:            /**
1726:             * Adds a value to property FirstParent as an RDF2Go node 
1727:             * @param value the value to be added
1728:             * @throws CardinalityException if adding a value would bring the number 
1729:             *            of property values above the cardinality constraint.
1730:             *
1731:             * [Generated from RDFReactor template rule #add6dynamic] 
1732:             */
1733:            public void addFirstParent(org.ontoware.rdf2go.model.node.Node value)
1734:                    throws CardinalityException {
1735:                Base.add(this .model, this .getResource(), FIRSTPARENT, value, 1);
1736:            }
1737:
1738:            /**
1739:             * Adds a value to property FirstParent from an instance of Version 
1740:             * @param model an RDF2Go model
1741:             * @param resource an RDF2Go resource
1742:             * @throws CardinalityException if adding a value would bring the number 
1743:             *            of property values above the cardinality constraint.
1744:             *
1745:             * [Generated from RDFReactor template rule #add7static] 
1746:             */
1747:            public static void addFirstParent(Model model,
1748:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1749:                    Version value) throws CardinalityException {
1750:                Base.add(model, instanceResource, FIRSTPARENT, value, 1);
1751:            }
1752:
1753:            /**
1754:             * Adds a value to property FirstParent from an instance of Version 
1755:             * @throws CardinalityException if adding a value would bring the number 
1756:             *            of property values above the cardinality constraint.
1757:             *
1758:             * [Generated from RDFReactor template rule #add8dynamic] 
1759:             */
1760:            public void addFirstParent(Version value)
1761:                    throws CardinalityException {
1762:                Base.add(this .model, this .getResource(), FIRSTPARENT, value, 1);
1763:            }
1764:
1765:            /**
1766:             * Sets a value of property FirstParent from an RDF2Go node.
1767:             * First, all existing values are removed, then this value is added.
1768:             * Cardinality constraints are not checked, but this method exists only for properties with
1769:             * no minCardinality or minCardinality == 1.
1770:             * @param model an RDF2Go model
1771:             * @param resource an RDF2Go resource
1772:             * @param value the value to be set
1773:             *
1774:             * [Generated from RDFReactor template rule #set1static] 
1775:             */
1776:            public static void setFirstParent(Model model,
1777:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1778:                    org.ontoware.rdf2go.model.node.Node value) {
1779:                Base.set(model, instanceResource, FIRSTPARENT, value);
1780:            }
1781:
1782:            /**
1783:             * Sets a value of property FirstParent from an RDF2Go node.
1784:             * First, all existing values are removed, then this value is added.
1785:             * Cardinality constraints are not checked, but this method exists only for properties with
1786:             * no minCardinality or minCardinality == 1.
1787:             * @param value the value to be added
1788:             *
1789:             * [Generated from RDFReactor template rule #set1dynamic] 
1790:             */
1791:            public void setFirstParent(org.ontoware.rdf2go.model.node.Node value) {
1792:                Base.set(this .model, this .getResource(), FIRSTPARENT, value);
1793:            }
1794:
1795:            /**
1796:             * Sets a value of property FirstParent from an instance of Version 
1797:             * First, all existing values are removed, then this value is added.
1798:             * Cardinality constraints are not checked, but this method exists only for properties with
1799:             * no minCardinality or minCardinality == 1.
1800:             * @param model an RDF2Go model
1801:             * @param resource an RDF2Go resource
1802:             * @param value the value to be added
1803:             *
1804:             * [Generated from RDFReactor template rule #set3static] 
1805:             */
1806:            public static void setFirstParent(Model model,
1807:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1808:                    Version value) {
1809:                Base.set(model, instanceResource, FIRSTPARENT, value);
1810:            }
1811:
1812:            /**
1813:             * Sets a value of property FirstParent from an instance of Version 
1814:             * First, all existing values are removed, then this value is added.
1815:             * Cardinality constraints are not checked, but this method exists only for properties with
1816:             * no minCardinality or minCardinality == 1.
1817:             * @param value the value to be added
1818:             *
1819:             * [Generated from RDFReactor template rule #set4dynamic] 
1820:             */
1821:            public void setFirstParent(Version value) {
1822:                Base.set(this .model, this .getResource(), FIRSTPARENT, value);
1823:            }
1824:
1825:            /**
1826:             * Removes a value of property FirstParent as an RDF2Go node 
1827:             * @param model an RDF2Go model
1828:             * @param resource an RDF2Go resource
1829:             * @param value the value to be removed
1830:             *
1831:             * [Generated from RDFReactor template rule #remove1static] 
1832:             */
1833:            public static void removeFirstParent(Model model,
1834:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1835:                    org.ontoware.rdf2go.model.node.Node value) {
1836:                Base.remove(model, instanceResource, FIRSTPARENT, value);
1837:            }
1838:
1839:            /**
1840:             * Removes a value of property FirstParent as an RDF2Go node
1841:             * @param value the value to be removed
1842:             *
1843:             * [Generated from RDFReactor template rule #remove1dynamic] 
1844:             */
1845:            public void removeFirstParent(
1846:                    org.ontoware.rdf2go.model.node.Node value) {
1847:                Base.remove(this .model, this .getResource(), FIRSTPARENT, value);
1848:            }
1849:
1850:            /**
1851:             * Removes a value of property FirstParent given as an instance of Version 
1852:             * @param model an RDF2Go model
1853:             * @param resource an RDF2Go resource
1854:             * @param value the value to be removed
1855:             *
1856:             * [Generated from RDFReactor template rule #remove3static] 
1857:             */
1858:            public static void removeFirstParent(Model model,
1859:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1860:                    Version value) {
1861:                Base.remove(model, instanceResource, FIRSTPARENT, value);
1862:            }
1863:
1864:            /**
1865:             * Removes a value of property FirstParent given as an instance of Version 
1866:             * @param value the value to be removed
1867:             *
1868:             * [Generated from RDFReactor template rule #remove4dynamic] 
1869:             */
1870:            public void removeFirstParent(Version value) {
1871:                Base.remove(this .model, this .getResource(), FIRSTPARENT, value);
1872:            }
1873:
1874:            /**
1875:             * Removes all values of property FirstParent     * @param model an RDF2Go model
1876:             * @param resource an RDF2Go resource
1877:             *
1878:             * [Generated from RDFReactor template rule #removeall1static] 
1879:             */
1880:            public static void removeAllFirstParent(Model model,
1881:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1882:                Base.removeAll(model, instanceResource, FIRSTPARENT);
1883:            }
1884:
1885:            /**
1886:             * Removes all values of property FirstParent	 *
1887:             * [Generated from RDFReactor template rule #removeall1dynamic] 
1888:             */
1889:            public void addFirstParent() {
1890:                Base.removeAll(this .model, this .getResource(), FIRSTPARENT);
1891:            }
1892:
1893:            /**
1894:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@166ff9c has at least one value set 
1895:             * @param model an RDF2Go model
1896:             * @param resource an RDF2Go resource
1897:             * @return true if this property has at least one value
1898:             *
1899:             * [Generated from RDFReactor template rule #get0has-static] 
1900:             */
1901:            public static boolean hasSecondParent(Model model,
1902:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1903:                return Base.has(model, instanceResource, SECONDPARENT);
1904:            }
1905:
1906:            /**
1907:             * Check if org.ontoware.rdfreactor.generator.java.JProperty@166ff9c has at least one value set 
1908:             * @return true if this property has at least one value
1909:             *
1910:             * [Generated from RDFReactor template rule #get0has-dynamic] 
1911:             */
1912:            public boolean hasSecondParent() {
1913:                return Base.has(this .model, this .getResource(), SECONDPARENT);
1914:            }
1915:
1916:            /**
1917:             * Get single value of property SecondParent as an RDF2Go node 
1918:             * @param model an RDF2Go model
1919:             * @param resource an RDF2Go resource
1920:             * @return the single value or null if no value is found
1921:             * @throws RDFDataException at runtime, if the property has multiple values
1922:             *
1923:             * [Generated from RDFReactor template rule #get1static] 
1924:             */
1925:            public static org.ontoware.rdf2go.model.node.Node getSecondParent_asNode(
1926:                    Model model,
1927:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1928:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1929:                        model, instanceResource, SECONDPARENT);
1930:            }
1931:
1932:            /**
1933:             * Get single value of property SecondParent as an RDF2Go node 
1934:             * @return the single value or null if no value is found
1935:             * @throws RDFDataException, if the property has multiple values
1936:             *
1937:             * [Generated from RDFReactor template rule #get2dynamic] 
1938:             */
1939:            public org.ontoware.rdf2go.model.node.Node getSecondParent_asNode() {
1940:                return (org.ontoware.rdf2go.model.node.Node) Base.get_asNode(
1941:                        this .model, this .getResource(), SECONDPARENT);
1942:            }
1943:
1944:            /**
1945:             * Get single value of property SecondParent     * @param model an RDF2Go model
1946:             * @param resource an RDF2Go resource
1947:             * @return the single value or null if no value is found
1948:             * @throws RDFDataException, if the property has multiple values
1949:             *
1950:             * [Generated from RDFReactor template rule #get5static] 
1951:             */
1952:            public static Version getSecondParent(Model model,
1953:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
1954:                return (Version) Base.get(model, instanceResource,
1955:                        SECONDPARENT, Version.class);
1956:            }
1957:
1958:            /**
1959:             * Get single value of property SecondParent     * @return the single value or null if no value is found
1960:             * @throws RDFDataException, if the property has multiple values
1961:             *
1962:             * [Generated from RDFReactor template rule #get6dynamic] 
1963:             */
1964:            public Version getSecondParent() {
1965:                return (Version) Base.get(this .model, this .getResource(),
1966:                        SECONDPARENT, Version.class);
1967:            }
1968:
1969:            /**
1970:             * Adds a value to property SecondParent as an RDF2Go node 
1971:             * @param model an RDF2Go model
1972:             * @param resource an RDF2Go resource
1973:             * @param value the value to be added
1974:             * @throws CardinalityException if adding a value would bring the number 
1975:             *            of property values above the cardinality constraint.
1976:             *
1977:             * [Generated from RDFReactor template rule #add5static] 
1978:             */
1979:            public static void addSecondParent(Model model,
1980:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
1981:                    org.ontoware.rdf2go.model.node.Node value)
1982:                    throws CardinalityException {
1983:                Base.add(model, instanceResource, SECONDPARENT, value, 1);
1984:            }
1985:
1986:            /**
1987:             * Adds a value to property SecondParent as an RDF2Go node 
1988:             * @param value the value to be added
1989:             * @throws CardinalityException if adding a value would bring the number 
1990:             *            of property values above the cardinality constraint.
1991:             *
1992:             * [Generated from RDFReactor template rule #add6dynamic] 
1993:             */
1994:            public void addSecondParent(
1995:                    org.ontoware.rdf2go.model.node.Node value)
1996:                    throws CardinalityException {
1997:                Base
1998:                        .add(this .model, this .getResource(), SECONDPARENT,
1999:                                value, 1);
2000:            }
2001:
2002:            /**
2003:             * Adds a value to property SecondParent from an instance of Version 
2004:             * @param model an RDF2Go model
2005:             * @param resource an RDF2Go resource
2006:             * @throws CardinalityException if adding a value would bring the number 
2007:             *            of property values above the cardinality constraint.
2008:             *
2009:             * [Generated from RDFReactor template rule #add7static] 
2010:             */
2011:            public static void addSecondParent(Model model,
2012:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
2013:                    Version value) throws CardinalityException {
2014:                Base.add(model, instanceResource, SECONDPARENT, value, 1);
2015:            }
2016:
2017:            /**
2018:             * Adds a value to property SecondParent from an instance of Version 
2019:             * @throws CardinalityException if adding a value would bring the number 
2020:             *            of property values above the cardinality constraint.
2021:             *
2022:             * [Generated from RDFReactor template rule #add8dynamic] 
2023:             */
2024:            public void addSecondParent(Version value)
2025:                    throws CardinalityException {
2026:                Base
2027:                        .add(this .model, this .getResource(), SECONDPARENT,
2028:                                value, 1);
2029:            }
2030:
2031:            /**
2032:             * Sets a value of property SecondParent from an RDF2Go node.
2033:             * First, all existing values are removed, then this value is added.
2034:             * Cardinality constraints are not checked, but this method exists only for properties with
2035:             * no minCardinality or minCardinality == 1.
2036:             * @param model an RDF2Go model
2037:             * @param resource an RDF2Go resource
2038:             * @param value the value to be set
2039:             *
2040:             * [Generated from RDFReactor template rule #set1static] 
2041:             */
2042:            public static void setSecondParent(Model model,
2043:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
2044:                    org.ontoware.rdf2go.model.node.Node value) {
2045:                Base.set(model, instanceResource, SECONDPARENT, value);
2046:            }
2047:
2048:            /**
2049:             * Sets a value of property SecondParent from an RDF2Go node.
2050:             * First, all existing values are removed, then this value is added.
2051:             * Cardinality constraints are not checked, but this method exists only for properties with
2052:             * no minCardinality or minCardinality == 1.
2053:             * @param value the value to be added
2054:             *
2055:             * [Generated from RDFReactor template rule #set1dynamic] 
2056:             */
2057:            public void setSecondParent(
2058:                    org.ontoware.rdf2go.model.node.Node value) {
2059:                Base.set(this .model, this .getResource(), SECONDPARENT, value);
2060:            }
2061:
2062:            /**
2063:             * Sets a value of property SecondParent from an instance of Version 
2064:             * First, all existing values are removed, then this value is added.
2065:             * Cardinality constraints are not checked, but this method exists only for properties with
2066:             * no minCardinality or minCardinality == 1.
2067:             * @param model an RDF2Go model
2068:             * @param resource an RDF2Go resource
2069:             * @param value the value to be added
2070:             *
2071:             * [Generated from RDFReactor template rule #set3static] 
2072:             */
2073:            public static void setSecondParent(Model model,
2074:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
2075:                    Version value) {
2076:                Base.set(model, instanceResource, SECONDPARENT, value);
2077:            }
2078:
2079:            /**
2080:             * Sets a value of property SecondParent from an instance of Version 
2081:             * First, all existing values are removed, then this value is added.
2082:             * Cardinality constraints are not checked, but this method exists only for properties with
2083:             * no minCardinality or minCardinality == 1.
2084:             * @param value the value to be added
2085:             *
2086:             * [Generated from RDFReactor template rule #set4dynamic] 
2087:             */
2088:            public void setSecondParent(Version value) {
2089:                Base.set(this .model, this .getResource(), SECONDPARENT, value);
2090:            }
2091:
2092:            /**
2093:             * Removes a value of property SecondParent as an RDF2Go node 
2094:             * @param model an RDF2Go model
2095:             * @param resource an RDF2Go resource
2096:             * @param value the value to be removed
2097:             *
2098:             * [Generated from RDFReactor template rule #remove1static] 
2099:             */
2100:            public static void removeSecondParent(Model model,
2101:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
2102:                    org.ontoware.rdf2go.model.node.Node value) {
2103:                Base.remove(model, instanceResource, SECONDPARENT, value);
2104:            }
2105:
2106:            /**
2107:             * Removes a value of property SecondParent as an RDF2Go node
2108:             * @param value the value to be removed
2109:             *
2110:             * [Generated from RDFReactor template rule #remove1dynamic] 
2111:             */
2112:            public void removeSecondParent(
2113:                    org.ontoware.rdf2go.model.node.Node value) {
2114:                Base
2115:                        .remove(this .model, this .getResource(), SECONDPARENT,
2116:                                value);
2117:            }
2118:
2119:            /**
2120:             * Removes a value of property SecondParent given as an instance of Version 
2121:             * @param model an RDF2Go model
2122:             * @param resource an RDF2Go resource
2123:             * @param value the value to be removed
2124:             *
2125:             * [Generated from RDFReactor template rule #remove3static] 
2126:             */
2127:            public static void removeSecondParent(Model model,
2128:                    org.ontoware.rdf2go.model.node.Resource instanceResource,
2129:                    Version value) {
2130:                Base.remove(model, instanceResource, SECONDPARENT, value);
2131:            }
2132:
2133:            /**
2134:             * Removes a value of property SecondParent given as an instance of Version 
2135:             * @param value the value to be removed
2136:             *
2137:             * [Generated from RDFReactor template rule #remove4dynamic] 
2138:             */
2139:            public void removeSecondParent(Version value) {
2140:                Base
2141:                        .remove(this .model, this .getResource(), SECONDPARENT,
2142:                                value);
2143:            }
2144:
2145:            /**
2146:             * Removes all values of property SecondParent     * @param model an RDF2Go model
2147:             * @param resource an RDF2Go resource
2148:             *
2149:             * [Generated from RDFReactor template rule #removeall1static] 
2150:             */
2151:            public static void removeAllSecondParent(Model model,
2152:                    org.ontoware.rdf2go.model.node.Resource instanceResource) {
2153:                Base.removeAll(model, instanceResource, SECONDPARENT);
2154:            }
2155:
2156:            /**
2157:             * Removes all values of property SecondParent	 *
2158:             * [Generated from RDFReactor template rule #removeall1dynamic] 
2159:             */
2160:            public void addSecondParent() {
2161:                Base.removeAll(this.model, this.getResource(), SECONDPARENT);
2162:            }
2163:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.