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