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