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