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