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