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