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:
0014: /**
0015: * This class manages access to these properties:
0016: * <ul>
0017: * <li> BackwardCompatibleWith </li>
0018: * <li> Imports </li>
0019: * <li> IncompatibleWith </li>
0020: * <li> PriorVersion </li>
0021: * </ul>
0022: *
0023: * This class was generated by <a href="http://RDFReactor.semweb4j.org">RDFReactor</a> on 26.01.08 12:47
0024: */
0025: public class Ontology extends OwlThing {
0026:
0027: /** http://www.w3.org/2002/07/owl#Ontology */
0028: public static final URI RDFS_CLASS = new URIImpl(
0029: "http://www.w3.org/2002/07/owl#Ontology", false);
0030:
0031: /** http://www.w3.org/2002/07/owl#backwardCompatibleWith */
0032: public static final URI BACKWARDCOMPATIBLEWITH = new URIImpl(
0033: "http://www.w3.org/2002/07/owl#backwardCompatibleWith",
0034: false);
0035:
0036: /** http://www.w3.org/2002/07/owl#imports */
0037: public static final URI IMPORTS = new URIImpl(
0038: "http://www.w3.org/2002/07/owl#imports", false);
0039:
0040: /** http://www.w3.org/2002/07/owl#incompatibleWith */
0041: public static final URI INCOMPATIBLEWITH = new URIImpl(
0042: "http://www.w3.org/2002/07/owl#incompatibleWith", false);
0043:
0044: /** http://www.w3.org/2002/07/owl#priorVersion */
0045: public static final URI PRIORVERSION = new URIImpl(
0046: "http://www.w3.org/2002/07/owl#priorVersion", false);
0047:
0048: /** all property-URIs with this class as domain */
0049: public static final URI[] MANAGED_URIS = {
0050: new URIImpl(
0051: "http://www.w3.org/2002/07/owl#backwardCompatibleWith",
0052: false),
0053: new URIImpl("http://www.w3.org/2002/07/owl#imports", false),
0054: new URIImpl(
0055: "http://www.w3.org/2002/07/owl#incompatibleWith",
0056: false),
0057: new URIImpl("http://www.w3.org/2002/07/owl#priorVersion",
0058: false) };
0059:
0060: // protected constructors needed for inheritance
0061:
0062: /**
0063: * Returns a Java wrapper over an RDF object, identified by URI.
0064: * Creating two wrappers for the same instanceURI is legal.
0065: * @param model RDF2GO Model implementation, see http://rdf2go.semweb4j.org
0066: * @param classURI URI of RDFS class
0067: * @param instanceIdentifier Resource that identifies this instance
0068: * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0069: *
0070: * [Generated from RDFReactor template rule #c1]
0071: */
0072: protected Ontology(Model model, URI classURI,
0073: org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0074: boolean write) {
0075: super (model, classURI, instanceIdentifier, write);
0076: }
0077:
0078: // public constructors
0079:
0080: /**
0081: * Returns a Java wrapper over an RDF object, identified by URI.
0082: * Creating two wrappers for the same instanceURI is legal.
0083: * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0084: * @param instanceIdentifier an RDF2Go Resource identifying this instance
0085: * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0086: *
0087: * [Generated from RDFReactor template rule #c2]
0088: */
0089: public Ontology(Model model,
0090: org.ontoware.rdf2go.model.node.Resource instanceIdentifier,
0091: boolean write) {
0092: super (model, RDFS_CLASS, instanceIdentifier, write);
0093: }
0094:
0095: /**
0096: * Returns a Java wrapper over an RDF object, identified by a URI, given as a String.
0097: * Creating two wrappers for the same URI is legal.
0098: * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0099: * @param uriString a URI given as a String
0100: * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0101: * @throws ModelRuntimeException if URI syntax is wrong
0102: *
0103: * [Generated from RDFReactor template rule #c7]
0104: */
0105: public Ontology(Model model, String uriString, boolean write)
0106: throws ModelRuntimeException {
0107: super (model, RDFS_CLASS, new URIImpl(uriString, false), write);
0108: }
0109:
0110: /**
0111: * Returns a Java wrapper over an RDF object, identified by a blank node.
0112: * Creating two wrappers for the same blank node is legal.
0113: * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0114: * @param bnode BlankNode of this instance
0115: * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0116: *
0117: * [Generated from RDFReactor template rule #c8]
0118: */
0119: public Ontology(Model model, BlankNode bnode, boolean write) {
0120: super (model, RDFS_CLASS, bnode, write);
0121: }
0122:
0123: /**
0124: * Returns a Java wrapper over an RDF object, identified by
0125: * a randomly generated URI.
0126: * Creating two wrappers results in different URIs.
0127: * @param model RDF2GO Model implementation, see http://rdf2go.ontoware.org
0128: * @param write if true, the statement (this, rdf:type, TYPE) is written to the model
0129: *
0130: * [Generated from RDFReactor template rule #c9]
0131: */
0132: public Ontology(Model model, boolean write) {
0133: super (model, RDFS_CLASS, model.newRandomUniqueURI(), write);
0134: }
0135:
0136: ///////////////////////////////////////////////////////////////////
0137: // typing
0138:
0139: /**
0140: * Create a new instance of this class in the model.
0141: * That is, create the statement (instanceResource, RDF.type, http://www.w3.org/2002/07/owl#Ontology).
0142: * @param model an RDF2Go model
0143: * @param instanceResource an RDF2Go resource
0144: *
0145: * [Generated from RDFReactor template rule #class1]
0146: */
0147: public static void createInstance(Model model,
0148: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0149: Base.createInstance(model, RDFS_CLASS, instanceResource);
0150: }
0151:
0152: /**
0153: * @param model an RDF2Go model
0154: * @param instanceResource an RDF2Go resource
0155: * @return true if instanceResource is an instance of this class in the model
0156: *
0157: * [Generated from RDFReactor template rule #class2]
0158: */
0159: public static boolean hasInstance(Model model,
0160: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0161: return Base.hasInstance(model, RDFS_CLASS, instanceResource);
0162: }
0163:
0164: /**
0165: * @param model an RDF2Go model
0166: * @return all instances of this class in Model 'model' as RDF resources
0167: *
0168: * [Generated from RDFReactor template rule #class3]
0169: */
0170: public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllInstances(
0171: Model model) {
0172: return Base.getAllInstances(model, RDFS_CLASS,
0173: org.ontoware.rdf2go.model.node.Resource.class);
0174: }
0175:
0176: /**
0177: * @param model an RDF2Go model
0178: * @return all instances of this class in Model 'model' as a ReactorResult,
0179: * which can conveniently be converted to iterator, list or array.
0180: *
0181: * [Generated from RDFReactor template rule #class3-as]
0182: */
0183: public static ReactorResult<? extends Ontology> getAllInstance_as(
0184: Model model) {
0185: return Base.getAllInstances_as(model, RDFS_CLASS,
0186: Ontology.class);
0187: }
0188:
0189: /**
0190: * Delete all rdf:type from this instance. Other triples are not affected.
0191: * @param model an RDF2Go model
0192: * @param instanceResource an RDF2Go resource
0193: *
0194: * [Generated from RDFReactor template rule #class4]
0195: */
0196: public static void deleteInstance(Model model,
0197: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0198: Base.deleteInstance(model, RDFS_CLASS, instanceResource);
0199: }
0200:
0201: ///////////////////////////////////////////////////////////////////
0202: // property access methods
0203:
0204: /**
0205: * @param model an RDF2Go model
0206: * @param objectValue
0207: * @return all A's as RDF resources, that have a relation 'BackwardCompatibleWith' to this Ontology instance
0208: *
0209: * [Generated from RDFReactor template rule #getallinverse1static]
0210: */
0211: public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllBackwardCompatibleWith_Inverse(
0212: Model model, Object objectValue) {
0213: return Base.getAll_Inverse(model,
0214: Ontology.BACKWARDCOMPATIBLEWITH, objectValue);
0215: }
0216:
0217: /**
0218: * @param model an RDF2Go model
0219: * @param objectValue
0220: * @return all A's as RDF resources, that have a relation 'Imports' to this Ontology instance
0221: *
0222: * [Generated from RDFReactor template rule #getallinverse1static]
0223: */
0224: public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllImports_Inverse(
0225: Model model, Object objectValue) {
0226: return Base
0227: .getAll_Inverse(model, Ontology.IMPORTS, objectValue);
0228: }
0229:
0230: /**
0231: * @param model an RDF2Go model
0232: * @param objectValue
0233: * @return all A's as RDF resources, that have a relation 'IncompatibleWith' to this Ontology instance
0234: *
0235: * [Generated from RDFReactor template rule #getallinverse1static]
0236: */
0237: public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllIncompatibleWith_Inverse(
0238: Model model, Object objectValue) {
0239: return Base.getAll_Inverse(model, Ontology.INCOMPATIBLEWITH,
0240: objectValue);
0241: }
0242:
0243: /**
0244: * @param model an RDF2Go model
0245: * @param objectValue
0246: * @return all A's as RDF resources, that have a relation 'PriorVersion' to this Ontology instance
0247: *
0248: * [Generated from RDFReactor template rule #getallinverse1static]
0249: */
0250: public static ClosableIterator<org.ontoware.rdf2go.model.node.Resource> getAllPriorVersion_Inverse(
0251: Model model, Object objectValue) {
0252: return Base.getAll_Inverse(model, Ontology.PRIORVERSION,
0253: objectValue);
0254: }
0255:
0256: /**
0257: * Get all values of property BackwardCompatibleWith as an Iterator over RDF2Go nodes
0258: * @param model an RDF2Go model
0259: * @param resource an RDF2Go resource
0260: * @return a ClosableIterator of RDF2Go Nodes
0261: *
0262: * [Generated from RDFReactor template rule #get7static]
0263: */
0264: public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllBackwardCompatibleWith_asNode(
0265: Model model,
0266: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0267: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0268: .getAll_asNode(model, instanceResource,
0269: BACKWARDCOMPATIBLEWITH);
0270: }
0271:
0272: /**
0273: * Get all values of property BackwardCompatibleWith as a ReactorResult of RDF2Go nodes
0274: * @param model an RDF2Go model
0275: * @param resource an RDF2Go resource
0276: * @return a List of RDF2Go Nodes
0277: *
0278: * [Generated from RDFReactor template rule #get7static-reactor-result]
0279: */
0280: public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllBackwardCompatibleWith_asNode_(
0281: Model model,
0282: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0283: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0284: .getAll_as(model, instanceResource,
0285: BACKWARDCOMPATIBLEWITH,
0286: org.ontoware.rdf2go.model.node.Node.class);
0287: }
0288:
0289: /**
0290: * Get all values of property BackwardCompatibleWith as an Iterator over RDF2Go nodes
0291: * @return a ClosableIterator of RDF2Go Nodes
0292: *
0293: * [Generated from RDFReactor template rule #get8dynamic]
0294: */
0295: public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllBackwardCompatibleWith_asNode() {
0296: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0297: .getAll_asNode(this .model, this .getResource(),
0298: BACKWARDCOMPATIBLEWITH);
0299: }
0300:
0301: /**
0302: * Get all values of property BackwardCompatibleWith as a ReactorResult of RDF2Go nodes
0303: * @return a List of RDF2Go Nodes
0304: *
0305: * [Generated from RDFReactor template rule #get8dynamic-reactor-result]
0306: */
0307: public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllBackwardCompatibleWith_asNode_() {
0308: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0309: .getAll_as(this .model, this .getResource(),
0310: BACKWARDCOMPATIBLEWITH,
0311: org.ontoware.rdf2go.model.node.Node.class);
0312: }
0313:
0314: /**
0315: * Get all values of property BackwardCompatibleWith * @param model an RDF2Go model
0316: * @param resource an RDF2Go resource
0317: * @return a ClosableIterator of $type
0318: *
0319: * [Generated from RDFReactor template rule #get11static]
0320: */
0321: public static ClosableIterator<Ontology> getAllBackwardCompatibleWith(
0322: Model model,
0323: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0324: return Base.getAll(model, instanceResource,
0325: BACKWARDCOMPATIBLEWITH, Ontology.class);
0326: }
0327:
0328: /**
0329: * Get all values of property BackwardCompatibleWith as a ReactorResult of Ontology
0330: * @param model an RDF2Go model
0331: * @param resource an RDF2Go resource
0332: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0333: *
0334: * [Generated from RDFReactor template rule #get11static-reactorresult]
0335: */
0336: public static ReactorResult<Ontology> getAllBackwardCompatibleWith_as(
0337: Model model,
0338: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0339: return Base.getAll_as(model, instanceResource,
0340: BACKWARDCOMPATIBLEWITH, Ontology.class);
0341: }
0342:
0343: /**
0344: * Get all values of property BackwardCompatibleWith * @return a ClosableIterator of $type
0345: *
0346: * [Generated from RDFReactor template rule #get12dynamic]
0347: */
0348: public ClosableIterator<Ontology> getAllBackwardCompatibleWith() {
0349: return Base.getAll(this .model, this .getResource(),
0350: BACKWARDCOMPATIBLEWITH, Ontology.class);
0351: }
0352:
0353: /**
0354: * Get all values of property BackwardCompatibleWith as a ReactorResult of Ontology
0355: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0356: *
0357: * [Generated from RDFReactor template rule #get12dynamic-reactorresult]
0358: */
0359: public ReactorResult<Ontology> getAllBackwardCompatibleWith_as() {
0360: return Base.getAll_as(this .model, this .getResource(),
0361: BACKWARDCOMPATIBLEWITH, Ontology.class);
0362: }
0363:
0364: /**
0365: * Adds a value to property BackwardCompatibleWith as an RDF2Go node
0366: * @param model an RDF2Go model
0367: * @param resource an RDF2Go resource
0368: * @param value the value to be added
0369: *
0370: * [Generated from RDFReactor template rule #add1static]
0371: */
0372: public static void addBackwardCompatibleWith(Model model,
0373: org.ontoware.rdf2go.model.node.Resource instanceResource,
0374: org.ontoware.rdf2go.model.node.Node value) {
0375: Base
0376: .add(model, instanceResource, BACKWARDCOMPATIBLEWITH,
0377: value);
0378: }
0379:
0380: /**
0381: * Adds a value to property BackwardCompatibleWith as an RDF2Go node
0382: * @param value the value to be added
0383: *
0384: * [Generated from RDFReactor template rule #add1dynamic]
0385: */
0386: public void addBackwardCompatibleWith(
0387: org.ontoware.rdf2go.model.node.Node value) {
0388: Base.add(this .model, this .getResource(),
0389: BACKWARDCOMPATIBLEWITH, value);
0390: }
0391:
0392: /**
0393: * Adds a value to property BackwardCompatibleWith from an instance of Ontology
0394: * @param model an RDF2Go model
0395: * @param resource an RDF2Go resource
0396: *
0397: * [Generated from RDFReactor template rule #add3static]
0398: */
0399: public static void addBackwardCompatibleWith(Model model,
0400: org.ontoware.rdf2go.model.node.Resource instanceResource,
0401: Ontology value) {
0402: Base
0403: .add(model, instanceResource, BACKWARDCOMPATIBLEWITH,
0404: value);
0405: }
0406:
0407: /**
0408: * Adds a value to property BackwardCompatibleWith from an instance of Ontology
0409: *
0410: * [Generated from RDFReactor template rule #add4dynamic]
0411: */
0412: public void addBackwardCompatibleWith(Ontology value) {
0413: Base.add(this .model, this .getResource(),
0414: BACKWARDCOMPATIBLEWITH, value);
0415: }
0416:
0417: /**
0418: * Sets a value of property BackwardCompatibleWith 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 setBackwardCompatibleWith(Model model,
0429: org.ontoware.rdf2go.model.node.Resource instanceResource,
0430: org.ontoware.rdf2go.model.node.Node value) {
0431: Base
0432: .set(model, instanceResource, BACKWARDCOMPATIBLEWITH,
0433: value);
0434: }
0435:
0436: /**
0437: * Sets a value of property BackwardCompatibleWith from an RDF2Go node.
0438: * First, all existing values are removed, then this value is added.
0439: * Cardinality constraints are not checked, but this method exists only for properties with
0440: * no minCardinality or minCardinality == 1.
0441: * @param value the value to be added
0442: *
0443: * [Generated from RDFReactor template rule #set1dynamic]
0444: */
0445: public void setBackwardCompatibleWith(
0446: org.ontoware.rdf2go.model.node.Node value) {
0447: Base.set(this .model, this .getResource(),
0448: BACKWARDCOMPATIBLEWITH, value);
0449: }
0450:
0451: /**
0452: * Sets a value of property BackwardCompatibleWith from an instance of Ontology
0453: * First, all existing values are removed, then this value is added.
0454: * Cardinality constraints are not checked, but this method exists only for properties with
0455: * no minCardinality or minCardinality == 1.
0456: * @param model an RDF2Go model
0457: * @param resource an RDF2Go resource
0458: * @param value the value to be added
0459: *
0460: * [Generated from RDFReactor template rule #set3static]
0461: */
0462: public static void setBackwardCompatibleWith(Model model,
0463: org.ontoware.rdf2go.model.node.Resource instanceResource,
0464: Ontology value) {
0465: Base
0466: .set(model, instanceResource, BACKWARDCOMPATIBLEWITH,
0467: value);
0468: }
0469:
0470: /**
0471: * Sets a value of property BackwardCompatibleWith from an instance of Ontology
0472: * First, all existing values are removed, then this value is added.
0473: * Cardinality constraints are not checked, but this method exists only for properties with
0474: * no minCardinality or minCardinality == 1.
0475: * @param value the value to be added
0476: *
0477: * [Generated from RDFReactor template rule #set4dynamic]
0478: */
0479: public void setBackwardCompatibleWith(Ontology value) {
0480: Base.set(this .model, this .getResource(),
0481: BACKWARDCOMPATIBLEWITH, value);
0482: }
0483:
0484: /**
0485: * Removes a value of property BackwardCompatibleWith as an RDF2Go node
0486: * @param model an RDF2Go model
0487: * @param resource an RDF2Go resource
0488: * @param value the value to be removed
0489: *
0490: * [Generated from RDFReactor template rule #remove1static]
0491: */
0492: public static void removeBackwardCompatibleWith(Model model,
0493: org.ontoware.rdf2go.model.node.Resource instanceResource,
0494: org.ontoware.rdf2go.model.node.Node value) {
0495: Base.remove(model, instanceResource, BACKWARDCOMPATIBLEWITH,
0496: value);
0497: }
0498:
0499: /**
0500: * Removes a value of property BackwardCompatibleWith as an RDF2Go node
0501: * @param value the value to be removed
0502: *
0503: * [Generated from RDFReactor template rule #remove1dynamic]
0504: */
0505: public void removeBackwardCompatibleWith(
0506: org.ontoware.rdf2go.model.node.Node value) {
0507: Base.remove(this .model, this .getResource(),
0508: BACKWARDCOMPATIBLEWITH, value);
0509: }
0510:
0511: /**
0512: * Removes a value of property BackwardCompatibleWith given as an instance of Ontology
0513: * @param model an RDF2Go model
0514: * @param resource an RDF2Go resource
0515: * @param value the value to be removed
0516: *
0517: * [Generated from RDFReactor template rule #remove3static]
0518: */
0519: public static void removeBackwardCompatibleWith(Model model,
0520: org.ontoware.rdf2go.model.node.Resource instanceResource,
0521: Ontology value) {
0522: Base.remove(model, instanceResource, BACKWARDCOMPATIBLEWITH,
0523: value);
0524: }
0525:
0526: /**
0527: * Removes a value of property BackwardCompatibleWith given as an instance of Ontology
0528: * @param value the value to be removed
0529: *
0530: * [Generated from RDFReactor template rule #remove4dynamic]
0531: */
0532: public void removeBackwardCompatibleWith(Ontology value) {
0533: Base.remove(this .model, this .getResource(),
0534: BACKWARDCOMPATIBLEWITH, value);
0535: }
0536:
0537: /**
0538: * Removes all values of property BackwardCompatibleWith * @param model an RDF2Go model
0539: * @param resource an RDF2Go resource
0540: *
0541: * [Generated from RDFReactor template rule #removeall1static]
0542: */
0543: public static void removeAllBackwardCompatibleWith(Model model,
0544: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0545: Base.removeAll(model, instanceResource, BACKWARDCOMPATIBLEWITH);
0546: }
0547:
0548: /**
0549: * Removes all values of property BackwardCompatibleWith *
0550: * [Generated from RDFReactor template rule #removeall1dynamic]
0551: */
0552: public void addBackwardCompatibleWith() {
0553: Base.removeAll(this .model, this .getResource(),
0554: BACKWARDCOMPATIBLEWITH);
0555: }
0556:
0557: /**
0558: * Get all values of property Imports as an Iterator over RDF2Go nodes
0559: * @param model an RDF2Go model
0560: * @param resource an RDF2Go resource
0561: * @return a ClosableIterator of RDF2Go Nodes
0562: *
0563: * [Generated from RDFReactor template rule #get7static]
0564: */
0565: public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllImports_asNode(
0566: Model model,
0567: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0568: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0569: .getAll_asNode(model, instanceResource, IMPORTS);
0570: }
0571:
0572: /**
0573: * Get all values of property Imports as a ReactorResult of RDF2Go nodes
0574: * @param model an RDF2Go model
0575: * @param resource an RDF2Go resource
0576: * @return a List of RDF2Go Nodes
0577: *
0578: * [Generated from RDFReactor template rule #get7static-reactor-result]
0579: */
0580: public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllImports_asNode_(
0581: Model model,
0582: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0583: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0584: .getAll_as(model, instanceResource, IMPORTS,
0585: org.ontoware.rdf2go.model.node.Node.class);
0586: }
0587:
0588: /**
0589: * Get all values of property Imports as an Iterator over RDF2Go nodes
0590: * @return a ClosableIterator of RDF2Go Nodes
0591: *
0592: * [Generated from RDFReactor template rule #get8dynamic]
0593: */
0594: public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllImports_asNode() {
0595: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0596: .getAll_asNode(this .model, this .getResource(), IMPORTS);
0597: }
0598:
0599: /**
0600: * Get all values of property Imports as a ReactorResult of RDF2Go nodes
0601: * @return a List of RDF2Go Nodes
0602: *
0603: * [Generated from RDFReactor template rule #get8dynamic-reactor-result]
0604: */
0605: public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllImports_asNode_() {
0606: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0607: .getAll_as(this .model, this .getResource(), IMPORTS,
0608: org.ontoware.rdf2go.model.node.Node.class);
0609: }
0610:
0611: /**
0612: * Get all values of property Imports * @param model an RDF2Go model
0613: * @param resource an RDF2Go resource
0614: * @return a ClosableIterator of $type
0615: *
0616: * [Generated from RDFReactor template rule #get11static]
0617: */
0618: public static ClosableIterator<Ontology> getAllImports(Model model,
0619: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0620: return Base.getAll(model, instanceResource, IMPORTS,
0621: Ontology.class);
0622: }
0623:
0624: /**
0625: * Get all values of property Imports as a ReactorResult of Ontology
0626: * @param model an RDF2Go model
0627: * @param resource an RDF2Go resource
0628: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0629: *
0630: * [Generated from RDFReactor template rule #get11static-reactorresult]
0631: */
0632: public static ReactorResult<Ontology> getAllImports_as(Model model,
0633: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0634: return Base.getAll_as(model, instanceResource, IMPORTS,
0635: Ontology.class);
0636: }
0637:
0638: /**
0639: * Get all values of property Imports * @return a ClosableIterator of $type
0640: *
0641: * [Generated from RDFReactor template rule #get12dynamic]
0642: */
0643: public ClosableIterator<Ontology> getAllImports() {
0644: return Base.getAll(this .model, this .getResource(), IMPORTS,
0645: Ontology.class);
0646: }
0647:
0648: /**
0649: * Get all values of property Imports as a ReactorResult of Ontology
0650: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0651: *
0652: * [Generated from RDFReactor template rule #get12dynamic-reactorresult]
0653: */
0654: public ReactorResult<Ontology> getAllImports_as() {
0655: return Base.getAll_as(this .model, this .getResource(), IMPORTS,
0656: Ontology.class);
0657: }
0658:
0659: /**
0660: * Adds a value to property Imports as an RDF2Go node
0661: * @param model an RDF2Go model
0662: * @param resource an RDF2Go resource
0663: * @param value the value to be added
0664: *
0665: * [Generated from RDFReactor template rule #add1static]
0666: */
0667: public static void addImports(Model model,
0668: org.ontoware.rdf2go.model.node.Resource instanceResource,
0669: org.ontoware.rdf2go.model.node.Node value) {
0670: Base.add(model, instanceResource, IMPORTS, value);
0671: }
0672:
0673: /**
0674: * Adds a value to property Imports as an RDF2Go node
0675: * @param value the value to be added
0676: *
0677: * [Generated from RDFReactor template rule #add1dynamic]
0678: */
0679: public void addImports(org.ontoware.rdf2go.model.node.Node value) {
0680: Base.add(this .model, this .getResource(), IMPORTS, value);
0681: }
0682:
0683: /**
0684: * Adds a value to property Imports from an instance of Ontology
0685: * @param model an RDF2Go model
0686: * @param resource an RDF2Go resource
0687: *
0688: * [Generated from RDFReactor template rule #add3static]
0689: */
0690: public static void addImports(Model model,
0691: org.ontoware.rdf2go.model.node.Resource instanceResource,
0692: Ontology value) {
0693: Base.add(model, instanceResource, IMPORTS, value);
0694: }
0695:
0696: /**
0697: * Adds a value to property Imports from an instance of Ontology
0698: *
0699: * [Generated from RDFReactor template rule #add4dynamic]
0700: */
0701: public void addImports(Ontology value) {
0702: Base.add(this .model, this .getResource(), IMPORTS, value);
0703: }
0704:
0705: /**
0706: * Sets a value of property Imports from an RDF2Go node.
0707: * First, all existing values are removed, then this value is added.
0708: * Cardinality constraints are not checked, but this method exists only for properties with
0709: * no minCardinality or minCardinality == 1.
0710: * @param model an RDF2Go model
0711: * @param resource an RDF2Go resource
0712: * @param value the value to be set
0713: *
0714: * [Generated from RDFReactor template rule #set1static]
0715: */
0716: public static void setImports(Model model,
0717: org.ontoware.rdf2go.model.node.Resource instanceResource,
0718: org.ontoware.rdf2go.model.node.Node value) {
0719: Base.set(model, instanceResource, IMPORTS, value);
0720: }
0721:
0722: /**
0723: * Sets a value of property Imports from an RDF2Go node.
0724: * First, all existing values are removed, then this value is added.
0725: * Cardinality constraints are not checked, but this method exists only for properties with
0726: * no minCardinality or minCardinality == 1.
0727: * @param value the value to be added
0728: *
0729: * [Generated from RDFReactor template rule #set1dynamic]
0730: */
0731: public void setImports(org.ontoware.rdf2go.model.node.Node value) {
0732: Base.set(this .model, this .getResource(), IMPORTS, value);
0733: }
0734:
0735: /**
0736: * Sets a value of property Imports from an instance of Ontology
0737: * First, all existing values are removed, then this value is added.
0738: * Cardinality constraints are not checked, but this method exists only for properties with
0739: * no minCardinality or minCardinality == 1.
0740: * @param model an RDF2Go model
0741: * @param resource an RDF2Go resource
0742: * @param value the value to be added
0743: *
0744: * [Generated from RDFReactor template rule #set3static]
0745: */
0746: public static void setImports(Model model,
0747: org.ontoware.rdf2go.model.node.Resource instanceResource,
0748: Ontology value) {
0749: Base.set(model, instanceResource, IMPORTS, value);
0750: }
0751:
0752: /**
0753: * Sets a value of property Imports from an instance of Ontology
0754: * First, all existing values are removed, then this value is added.
0755: * Cardinality constraints are not checked, but this method exists only for properties with
0756: * no minCardinality or minCardinality == 1.
0757: * @param value the value to be added
0758: *
0759: * [Generated from RDFReactor template rule #set4dynamic]
0760: */
0761: public void setImports(Ontology value) {
0762: Base.set(this .model, this .getResource(), IMPORTS, value);
0763: }
0764:
0765: /**
0766: * Removes a value of property Imports as an RDF2Go node
0767: * @param model an RDF2Go model
0768: * @param resource an RDF2Go resource
0769: * @param value the value to be removed
0770: *
0771: * [Generated from RDFReactor template rule #remove1static]
0772: */
0773: public static void removeImports(Model model,
0774: org.ontoware.rdf2go.model.node.Resource instanceResource,
0775: org.ontoware.rdf2go.model.node.Node value) {
0776: Base.remove(model, instanceResource, IMPORTS, value);
0777: }
0778:
0779: /**
0780: * Removes a value of property Imports as an RDF2Go node
0781: * @param value the value to be removed
0782: *
0783: * [Generated from RDFReactor template rule #remove1dynamic]
0784: */
0785: public void removeImports(org.ontoware.rdf2go.model.node.Node value) {
0786: Base.remove(this .model, this .getResource(), IMPORTS, value);
0787: }
0788:
0789: /**
0790: * Removes a value of property Imports given as an instance of Ontology
0791: * @param model an RDF2Go model
0792: * @param resource an RDF2Go resource
0793: * @param value the value to be removed
0794: *
0795: * [Generated from RDFReactor template rule #remove3static]
0796: */
0797: public static void removeImports(Model model,
0798: org.ontoware.rdf2go.model.node.Resource instanceResource,
0799: Ontology value) {
0800: Base.remove(model, instanceResource, IMPORTS, value);
0801: }
0802:
0803: /**
0804: * Removes a value of property Imports given as an instance of Ontology
0805: * @param value the value to be removed
0806: *
0807: * [Generated from RDFReactor template rule #remove4dynamic]
0808: */
0809: public void removeImports(Ontology value) {
0810: Base.remove(this .model, this .getResource(), IMPORTS, value);
0811: }
0812:
0813: /**
0814: * Removes all values of property Imports * @param model an RDF2Go model
0815: * @param resource an RDF2Go resource
0816: *
0817: * [Generated from RDFReactor template rule #removeall1static]
0818: */
0819: public static void removeAllImports(Model model,
0820: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0821: Base.removeAll(model, instanceResource, IMPORTS);
0822: }
0823:
0824: /**
0825: * Removes all values of property Imports *
0826: * [Generated from RDFReactor template rule #removeall1dynamic]
0827: */
0828: public void addImports() {
0829: Base.removeAll(this .model, this .getResource(), IMPORTS);
0830: }
0831:
0832: /**
0833: * Get all values of property IncompatibleWith as an Iterator over RDF2Go nodes
0834: * @param model an RDF2Go model
0835: * @param resource an RDF2Go resource
0836: * @return a ClosableIterator of RDF2Go Nodes
0837: *
0838: * [Generated from RDFReactor template rule #get7static]
0839: */
0840: public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllIncompatibleWith_asNode(
0841: Model model,
0842: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0843: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0844: .getAll_asNode(model, instanceResource,
0845: INCOMPATIBLEWITH);
0846: }
0847:
0848: /**
0849: * Get all values of property IncompatibleWith as a ReactorResult of RDF2Go nodes
0850: * @param model an RDF2Go model
0851: * @param resource an RDF2Go resource
0852: * @return a List of RDF2Go Nodes
0853: *
0854: * [Generated from RDFReactor template rule #get7static-reactor-result]
0855: */
0856: public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllIncompatibleWith_asNode_(
0857: Model model,
0858: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0859: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0860: .getAll_as(model, instanceResource, INCOMPATIBLEWITH,
0861: org.ontoware.rdf2go.model.node.Node.class);
0862: }
0863:
0864: /**
0865: * Get all values of property IncompatibleWith as an Iterator over RDF2Go nodes
0866: * @return a ClosableIterator of RDF2Go Nodes
0867: *
0868: * [Generated from RDFReactor template rule #get8dynamic]
0869: */
0870: public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllIncompatibleWith_asNode() {
0871: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
0872: .getAll_asNode(this .model, this .getResource(),
0873: INCOMPATIBLEWITH);
0874: }
0875:
0876: /**
0877: * Get all values of property IncompatibleWith as a ReactorResult of RDF2Go nodes
0878: * @return a List of RDF2Go Nodes
0879: *
0880: * [Generated from RDFReactor template rule #get8dynamic-reactor-result]
0881: */
0882: public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllIncompatibleWith_asNode_() {
0883: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
0884: .getAll_as(this .model, this .getResource(),
0885: INCOMPATIBLEWITH,
0886: org.ontoware.rdf2go.model.node.Node.class);
0887: }
0888:
0889: /**
0890: * Get all values of property IncompatibleWith * @param model an RDF2Go model
0891: * @param resource an RDF2Go resource
0892: * @return a ClosableIterator of $type
0893: *
0894: * [Generated from RDFReactor template rule #get11static]
0895: */
0896: public static ClosableIterator<Ontology> getAllIncompatibleWith(
0897: Model model,
0898: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0899: return Base.getAll(model, instanceResource, INCOMPATIBLEWITH,
0900: Ontology.class);
0901: }
0902:
0903: /**
0904: * Get all values of property IncompatibleWith as a ReactorResult of Ontology
0905: * @param model an RDF2Go model
0906: * @param resource an RDF2Go resource
0907: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0908: *
0909: * [Generated from RDFReactor template rule #get11static-reactorresult]
0910: */
0911: public static ReactorResult<Ontology> getAllIncompatibleWith_as(
0912: Model model,
0913: org.ontoware.rdf2go.model.node.Resource instanceResource) {
0914: return Base.getAll_as(model, instanceResource,
0915: INCOMPATIBLEWITH, Ontology.class);
0916: }
0917:
0918: /**
0919: * Get all values of property IncompatibleWith * @return a ClosableIterator of $type
0920: *
0921: * [Generated from RDFReactor template rule #get12dynamic]
0922: */
0923: public ClosableIterator<Ontology> getAllIncompatibleWith() {
0924: return Base.getAll(this .model, this .getResource(),
0925: INCOMPATIBLEWITH, Ontology.class);
0926: }
0927:
0928: /**
0929: * Get all values of property IncompatibleWith as a ReactorResult of Ontology
0930: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
0931: *
0932: * [Generated from RDFReactor template rule #get12dynamic-reactorresult]
0933: */
0934: public ReactorResult<Ontology> getAllIncompatibleWith_as() {
0935: return Base.getAll_as(this .model, this .getResource(),
0936: INCOMPATIBLEWITH, Ontology.class);
0937: }
0938:
0939: /**
0940: * Adds a value to property IncompatibleWith as an RDF2Go node
0941: * @param model an RDF2Go model
0942: * @param resource an RDF2Go resource
0943: * @param value the value to be added
0944: *
0945: * [Generated from RDFReactor template rule #add1static]
0946: */
0947: public static void addIncompatibleWith(Model model,
0948: org.ontoware.rdf2go.model.node.Resource instanceResource,
0949: org.ontoware.rdf2go.model.node.Node value) {
0950: Base.add(model, instanceResource, INCOMPATIBLEWITH, value);
0951: }
0952:
0953: /**
0954: * Adds a value to property IncompatibleWith as an RDF2Go node
0955: * @param value the value to be added
0956: *
0957: * [Generated from RDFReactor template rule #add1dynamic]
0958: */
0959: public void addIncompatibleWith(
0960: org.ontoware.rdf2go.model.node.Node value) {
0961: Base.add(this .model, this .getResource(), INCOMPATIBLEWITH,
0962: value);
0963: }
0964:
0965: /**
0966: * Adds a value to property IncompatibleWith from an instance of Ontology
0967: * @param model an RDF2Go model
0968: * @param resource an RDF2Go resource
0969: *
0970: * [Generated from RDFReactor template rule #add3static]
0971: */
0972: public static void addIncompatibleWith(Model model,
0973: org.ontoware.rdf2go.model.node.Resource instanceResource,
0974: Ontology value) {
0975: Base.add(model, instanceResource, INCOMPATIBLEWITH, value);
0976: }
0977:
0978: /**
0979: * Adds a value to property IncompatibleWith from an instance of Ontology
0980: *
0981: * [Generated from RDFReactor template rule #add4dynamic]
0982: */
0983: public void addIncompatibleWith(Ontology value) {
0984: Base.add(this .model, this .getResource(), INCOMPATIBLEWITH,
0985: value);
0986: }
0987:
0988: /**
0989: * Sets a value of property IncompatibleWith from an RDF2Go node.
0990: * First, all existing values are removed, then this value is added.
0991: * Cardinality constraints are not checked, but this method exists only for properties with
0992: * no minCardinality or minCardinality == 1.
0993: * @param model an RDF2Go model
0994: * @param resource an RDF2Go resource
0995: * @param value the value to be set
0996: *
0997: * [Generated from RDFReactor template rule #set1static]
0998: */
0999: public static void setIncompatibleWith(Model model,
1000: org.ontoware.rdf2go.model.node.Resource instanceResource,
1001: org.ontoware.rdf2go.model.node.Node value) {
1002: Base.set(model, instanceResource, INCOMPATIBLEWITH, value);
1003: }
1004:
1005: /**
1006: * Sets a value of property IncompatibleWith from an RDF2Go node.
1007: * First, all existing values are removed, then this value is added.
1008: * Cardinality constraints are not checked, but this method exists only for properties with
1009: * no minCardinality or minCardinality == 1.
1010: * @param value the value to be added
1011: *
1012: * [Generated from RDFReactor template rule #set1dynamic]
1013: */
1014: public void setIncompatibleWith(
1015: org.ontoware.rdf2go.model.node.Node value) {
1016: Base.set(this .model, this .getResource(), INCOMPATIBLEWITH,
1017: value);
1018: }
1019:
1020: /**
1021: * Sets a value of property IncompatibleWith from an instance of Ontology
1022: * First, all existing values are removed, then this value is added.
1023: * Cardinality constraints are not checked, but this method exists only for properties with
1024: * no minCardinality or minCardinality == 1.
1025: * @param model an RDF2Go model
1026: * @param resource an RDF2Go resource
1027: * @param value the value to be added
1028: *
1029: * [Generated from RDFReactor template rule #set3static]
1030: */
1031: public static void setIncompatibleWith(Model model,
1032: org.ontoware.rdf2go.model.node.Resource instanceResource,
1033: Ontology value) {
1034: Base.set(model, instanceResource, INCOMPATIBLEWITH, value);
1035: }
1036:
1037: /**
1038: * Sets a value of property IncompatibleWith from an instance of Ontology
1039: * First, all existing values are removed, then this value is added.
1040: * Cardinality constraints are not checked, but this method exists only for properties with
1041: * no minCardinality or minCardinality == 1.
1042: * @param value the value to be added
1043: *
1044: * [Generated from RDFReactor template rule #set4dynamic]
1045: */
1046: public void setIncompatibleWith(Ontology value) {
1047: Base.set(this .model, this .getResource(), INCOMPATIBLEWITH,
1048: value);
1049: }
1050:
1051: /**
1052: * Removes a value of property IncompatibleWith as an RDF2Go node
1053: * @param model an RDF2Go model
1054: * @param resource an RDF2Go resource
1055: * @param value the value to be removed
1056: *
1057: * [Generated from RDFReactor template rule #remove1static]
1058: */
1059: public static void removeIncompatibleWith(Model model,
1060: org.ontoware.rdf2go.model.node.Resource instanceResource,
1061: org.ontoware.rdf2go.model.node.Node value) {
1062: Base.remove(model, instanceResource, INCOMPATIBLEWITH, value);
1063: }
1064:
1065: /**
1066: * Removes a value of property IncompatibleWith as an RDF2Go node
1067: * @param value the value to be removed
1068: *
1069: * [Generated from RDFReactor template rule #remove1dynamic]
1070: */
1071: public void removeIncompatibleWith(
1072: org.ontoware.rdf2go.model.node.Node value) {
1073: Base.remove(this .model, this .getResource(), INCOMPATIBLEWITH,
1074: value);
1075: }
1076:
1077: /**
1078: * Removes a value of property IncompatibleWith given as an instance of Ontology
1079: * @param model an RDF2Go model
1080: * @param resource an RDF2Go resource
1081: * @param value the value to be removed
1082: *
1083: * [Generated from RDFReactor template rule #remove3static]
1084: */
1085: public static void removeIncompatibleWith(Model model,
1086: org.ontoware.rdf2go.model.node.Resource instanceResource,
1087: Ontology value) {
1088: Base.remove(model, instanceResource, INCOMPATIBLEWITH, value);
1089: }
1090:
1091: /**
1092: * Removes a value of property IncompatibleWith given as an instance of Ontology
1093: * @param value the value to be removed
1094: *
1095: * [Generated from RDFReactor template rule #remove4dynamic]
1096: */
1097: public void removeIncompatibleWith(Ontology value) {
1098: Base.remove(this .model, this .getResource(), INCOMPATIBLEWITH,
1099: value);
1100: }
1101:
1102: /**
1103: * Removes all values of property IncompatibleWith * @param model an RDF2Go model
1104: * @param resource an RDF2Go resource
1105: *
1106: * [Generated from RDFReactor template rule #removeall1static]
1107: */
1108: public static void removeAllIncompatibleWith(Model model,
1109: org.ontoware.rdf2go.model.node.Resource instanceResource) {
1110: Base.removeAll(model, instanceResource, INCOMPATIBLEWITH);
1111: }
1112:
1113: /**
1114: * Removes all values of property IncompatibleWith *
1115: * [Generated from RDFReactor template rule #removeall1dynamic]
1116: */
1117: public void addIncompatibleWith() {
1118: Base
1119: .removeAll(this .model, this .getResource(),
1120: INCOMPATIBLEWITH);
1121: }
1122:
1123: /**
1124: * Get all values of property PriorVersion as an Iterator over RDF2Go nodes
1125: * @param model an RDF2Go model
1126: * @param resource an RDF2Go resource
1127: * @return a ClosableIterator of RDF2Go Nodes
1128: *
1129: * [Generated from RDFReactor template rule #get7static]
1130: */
1131: public static ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllPriorVersion_asNode(
1132: Model model,
1133: org.ontoware.rdf2go.model.node.Resource instanceResource) {
1134: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
1135: .getAll_asNode(model, instanceResource, PRIORVERSION);
1136: }
1137:
1138: /**
1139: * Get all values of property PriorVersion as a ReactorResult of RDF2Go nodes
1140: * @param model an RDF2Go model
1141: * @param resource an RDF2Go resource
1142: * @return a List of RDF2Go Nodes
1143: *
1144: * [Generated from RDFReactor template rule #get7static-reactor-result]
1145: */
1146: public static ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllPriorVersion_asNode_(
1147: Model model,
1148: org.ontoware.rdf2go.model.node.Resource instanceResource) {
1149: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
1150: .getAll_as(model, instanceResource, PRIORVERSION,
1151: org.ontoware.rdf2go.model.node.Node.class);
1152: }
1153:
1154: /**
1155: * Get all values of property PriorVersion as an Iterator over RDF2Go nodes
1156: * @return a ClosableIterator of RDF2Go Nodes
1157: *
1158: * [Generated from RDFReactor template rule #get8dynamic]
1159: */
1160: public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllPriorVersion_asNode() {
1161: return (ClosableIterator<org.ontoware.rdf2go.model.node.Node>) Base
1162: .getAll_asNode(this .model, this .getResource(),
1163: PRIORVERSION);
1164: }
1165:
1166: /**
1167: * Get all values of property PriorVersion as a ReactorResult of RDF2Go nodes
1168: * @return a List of RDF2Go Nodes
1169: *
1170: * [Generated from RDFReactor template rule #get8dynamic-reactor-result]
1171: */
1172: public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllPriorVersion_asNode_() {
1173: return (ReactorResult<org.ontoware.rdf2go.model.node.Node>) Base
1174: .getAll_as(this .model, this .getResource(),
1175: PRIORVERSION,
1176: org.ontoware.rdf2go.model.node.Node.class);
1177: }
1178:
1179: /**
1180: * Get all values of property PriorVersion * @param model an RDF2Go model
1181: * @param resource an RDF2Go resource
1182: * @return a ClosableIterator of $type
1183: *
1184: * [Generated from RDFReactor template rule #get11static]
1185: */
1186: public static ClosableIterator<Ontology> getAllPriorVersion(
1187: Model model,
1188: org.ontoware.rdf2go.model.node.Resource instanceResource) {
1189: return Base.getAll(model, instanceResource, PRIORVERSION,
1190: Ontology.class);
1191: }
1192:
1193: /**
1194: * Get all values of property PriorVersion as a ReactorResult of Ontology
1195: * @param model an RDF2Go model
1196: * @param resource an RDF2Go resource
1197: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
1198: *
1199: * [Generated from RDFReactor template rule #get11static-reactorresult]
1200: */
1201: public static ReactorResult<Ontology> getAllPriorVersion_as(
1202: Model model,
1203: org.ontoware.rdf2go.model.node.Resource instanceResource) {
1204: return Base.getAll_as(model, instanceResource, PRIORVERSION,
1205: Ontology.class);
1206: }
1207:
1208: /**
1209: * Get all values of property PriorVersion * @return a ClosableIterator of $type
1210: *
1211: * [Generated from RDFReactor template rule #get12dynamic]
1212: */
1213: public ClosableIterator<Ontology> getAllPriorVersion() {
1214: return Base.getAll(this .model, this .getResource(),
1215: PRIORVERSION, Ontology.class);
1216: }
1217:
1218: /**
1219: * Get all values of property PriorVersion as a ReactorResult of Ontology
1220: * @return a ReactorResult of $type which can conveniently be converted to iterator, list or array
1221: *
1222: * [Generated from RDFReactor template rule #get12dynamic-reactorresult]
1223: */
1224: public ReactorResult<Ontology> getAllPriorVersion_as() {
1225: return Base.getAll_as(this .model, this .getResource(),
1226: PRIORVERSION, Ontology.class);
1227: }
1228:
1229: /**
1230: * Adds a value to property PriorVersion as an RDF2Go node
1231: * @param model an RDF2Go model
1232: * @param resource an RDF2Go resource
1233: * @param value the value to be added
1234: *
1235: * [Generated from RDFReactor template rule #add1static]
1236: */
1237: public static void addPriorVersion(Model model,
1238: org.ontoware.rdf2go.model.node.Resource instanceResource,
1239: org.ontoware.rdf2go.model.node.Node value) {
1240: Base.add(model, instanceResource, PRIORVERSION, value);
1241: }
1242:
1243: /**
1244: * Adds a value to property PriorVersion as an RDF2Go node
1245: * @param value the value to be added
1246: *
1247: * [Generated from RDFReactor template rule #add1dynamic]
1248: */
1249: public void addPriorVersion(
1250: org.ontoware.rdf2go.model.node.Node value) {
1251: Base.add(this .model, this .getResource(), PRIORVERSION, value);
1252: }
1253:
1254: /**
1255: * Adds a value to property PriorVersion from an instance of Ontology
1256: * @param model an RDF2Go model
1257: * @param resource an RDF2Go resource
1258: *
1259: * [Generated from RDFReactor template rule #add3static]
1260: */
1261: public static void addPriorVersion(Model model,
1262: org.ontoware.rdf2go.model.node.Resource instanceResource,
1263: Ontology value) {
1264: Base.add(model, instanceResource, PRIORVERSION, value);
1265: }
1266:
1267: /**
1268: * Adds a value to property PriorVersion from an instance of Ontology
1269: *
1270: * [Generated from RDFReactor template rule #add4dynamic]
1271: */
1272: public void addPriorVersion(Ontology value) {
1273: Base.add(this .model, this .getResource(), PRIORVERSION, value);
1274: }
1275:
1276: /**
1277: * Sets a value of property PriorVersion from an RDF2Go node.
1278: * First, all existing values are removed, then this value is added.
1279: * Cardinality constraints are not checked, but this method exists only for properties with
1280: * no minCardinality or minCardinality == 1.
1281: * @param model an RDF2Go model
1282: * @param resource an RDF2Go resource
1283: * @param value the value to be set
1284: *
1285: * [Generated from RDFReactor template rule #set1static]
1286: */
1287: public static void setPriorVersion(Model model,
1288: org.ontoware.rdf2go.model.node.Resource instanceResource,
1289: org.ontoware.rdf2go.model.node.Node value) {
1290: Base.set(model, instanceResource, PRIORVERSION, value);
1291: }
1292:
1293: /**
1294: * Sets a value of property PriorVersion from an RDF2Go node.
1295: * First, all existing values are removed, then this value is added.
1296: * Cardinality constraints are not checked, but this method exists only for properties with
1297: * no minCardinality or minCardinality == 1.
1298: * @param value the value to be added
1299: *
1300: * [Generated from RDFReactor template rule #set1dynamic]
1301: */
1302: public void setPriorVersion(
1303: org.ontoware.rdf2go.model.node.Node value) {
1304: Base.set(this .model, this .getResource(), PRIORVERSION, value);
1305: }
1306:
1307: /**
1308: * Sets a value of property PriorVersion from an instance of Ontology
1309: * First, all existing values are removed, then this value is added.
1310: * Cardinality constraints are not checked, but this method exists only for properties with
1311: * no minCardinality or minCardinality == 1.
1312: * @param model an RDF2Go model
1313: * @param resource an RDF2Go resource
1314: * @param value the value to be added
1315: *
1316: * [Generated from RDFReactor template rule #set3static]
1317: */
1318: public static void setPriorVersion(Model model,
1319: org.ontoware.rdf2go.model.node.Resource instanceResource,
1320: Ontology value) {
1321: Base.set(model, instanceResource, PRIORVERSION, value);
1322: }
1323:
1324: /**
1325: * Sets a value of property PriorVersion from an instance of Ontology
1326: * First, all existing values are removed, then this value is added.
1327: * Cardinality constraints are not checked, but this method exists only for properties with
1328: * no minCardinality or minCardinality == 1.
1329: * @param value the value to be added
1330: *
1331: * [Generated from RDFReactor template rule #set4dynamic]
1332: */
1333: public void setPriorVersion(Ontology value) {
1334: Base.set(this .model, this .getResource(), PRIORVERSION, value);
1335: }
1336:
1337: /**
1338: * Removes a value of property PriorVersion as an RDF2Go node
1339: * @param model an RDF2Go model
1340: * @param resource an RDF2Go resource
1341: * @param value the value to be removed
1342: *
1343: * [Generated from RDFReactor template rule #remove1static]
1344: */
1345: public static void removePriorVersion(Model model,
1346: org.ontoware.rdf2go.model.node.Resource instanceResource,
1347: org.ontoware.rdf2go.model.node.Node value) {
1348: Base.remove(model, instanceResource, PRIORVERSION, value);
1349: }
1350:
1351: /**
1352: * Removes a value of property PriorVersion as an RDF2Go node
1353: * @param value the value to be removed
1354: *
1355: * [Generated from RDFReactor template rule #remove1dynamic]
1356: */
1357: public void removePriorVersion(
1358: org.ontoware.rdf2go.model.node.Node value) {
1359: Base
1360: .remove(this .model, this .getResource(), PRIORVERSION,
1361: value);
1362: }
1363:
1364: /**
1365: * Removes a value of property PriorVersion given as an instance of Ontology
1366: * @param model an RDF2Go model
1367: * @param resource an RDF2Go resource
1368: * @param value the value to be removed
1369: *
1370: * [Generated from RDFReactor template rule #remove3static]
1371: */
1372: public static void removePriorVersion(Model model,
1373: org.ontoware.rdf2go.model.node.Resource instanceResource,
1374: Ontology value) {
1375: Base.remove(model, instanceResource, PRIORVERSION, value);
1376: }
1377:
1378: /**
1379: * Removes a value of property PriorVersion given as an instance of Ontology
1380: * @param value the value to be removed
1381: *
1382: * [Generated from RDFReactor template rule #remove4dynamic]
1383: */
1384: public void removePriorVersion(Ontology value) {
1385: Base
1386: .remove(this .model, this .getResource(), PRIORVERSION,
1387: value);
1388: }
1389:
1390: /**
1391: * Removes all values of property PriorVersion * @param model an RDF2Go model
1392: * @param resource an RDF2Go resource
1393: *
1394: * [Generated from RDFReactor template rule #removeall1static]
1395: */
1396: public static void removeAllPriorVersion(Model model,
1397: org.ontoware.rdf2go.model.node.Resource instanceResource) {
1398: Base.removeAll(model, instanceResource, PRIORVERSION);
1399: }
1400:
1401: /**
1402: * Removes all values of property PriorVersion *
1403: * [Generated from RDFReactor template rule #removeall1dynamic]
1404: */
1405: public void addPriorVersion() {
1406: Base.removeAll(this.model, this.getResource(), PRIORVERSION);
1407: }
1408: }
|