net.rewerse.i5.r3.juice.ontology
Interface Tuple

All Superinterfaces:
_Thing, Solution, com.ibm.adtech.jastor.Thing
All Known Subinterfaces:
Substitution
All Known Implementing Classes:
SubstitutionImpl, TupleImpl

public interface Tuple
extends Solution, _Thing

Interface for Tuple ontology class
Use the net.rewerse.i5.r3.juice.ontology.r3Factory to create instances of this interface.

(URI: http://rewerse.net/I5/NS/2006/r3#Tuple)





Field Summary
static com.hp.hpl.jena.rdf.model.Resource TYPE
          The rdf:type for this ontology class
 
Fields inherited from interface net.rewerse.i5.r3.juice.ontology.Solution
bindingProperty, mustProperty, withProperty
 
Fields inherited from interface net.rewerse.i5.r3.juice.ontology._Thing
NAMESPACE, NS
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 Variable addWith_asVariable()
          Adds an anonymous value for the 'with' property
 void addWith_asVariable(java.lang.Iterable<Variable> c)
           
 void addWith_asVariable(java.lang.Iterable<Variable> c, boolean full)
           
 Variable addWith_asVariable(com.hp.hpl.jena.rdf.model.Resource resource)
          Adds a value for the 'with' property.
 Variable addWith_asVariable(com.hp.hpl.jena.rdf.model.Resource resource, boolean full)
           
 void addWith(Variable t)
          Adds a value for the 'with' property
 void addWith(Variable with, boolean full)
           
 void clearWith()
          Removes all values for the 'with' property.
 java.lang.Iterable<Variable> getWith_asVariable()
          Get an Iterator the 'with' property values.
 void removeWith(Variable with)
          Removes a value for the 'with' property.
 void setWith_asVariable(java.lang.Iterable<Variable> c)
          Sets the 'with_asVariable' property value
 void setWith_asVariable(java.lang.Iterable<Variable> c, boolean full)
           
 
Methods inherited from interface net.rewerse.i5.r3.juice.ontology.Solution
addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addMust, addMust, addMust, addMust, addMust, addMust, addMust, addWith, addWith, addWith, addWith, addWith, addWith, addWith, clearBinding, clearMust, getBinding, getMust, getWith, removeBinding, removeMust, removeWith, setBinding, setBinding, setMust, setMust, setWith, setWith
 
Methods inherited from interface net.rewerse.i5.juice.jastor.Thing
asDocument, asDOM, asDOM, asResource, asResource, asString, asString, clearRDFType, inModel, owlClass, setRDFType, thingClass, thingImplClass, validate, validate
 
Methods inherited from interface com.ibm.adtech.jastor.Thing
clearCache, isRDFType, listStatements, model, registerListener, removeStatements, resource, unregisterListener, uri
 

Field Detail

TYPE

static final com.hp.hpl.jena.rdf.model.Resource TYPE
The rdf:type for this ontology class

Method Detail

getWith_asVariable

java.lang.Iterable<Variable> getWith_asVariable()
                                                throws com.ibm.adtech.jastor.JastorException
Get an Iterator the 'with' property values. This iterator() may be used to remove all such values.

Returns:
Iterable of Variable
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Solution.withProperty

addWith

void addWith(Variable t)
             throws java.lang.Exception
Adds a value for the 'with' property

Parameters:
The - Variable to add
Throws:
java.lang.Exception
See Also:
Solution.withProperty

addWith_asVariable

void addWith_asVariable(java.lang.Iterable<Variable> c)
                        throws java.lang.Exception
Throws:
java.lang.Exception

addWith_asVariable

void addWith_asVariable(java.lang.Iterable<Variable> c,
                        boolean full)
                        throws java.lang.Exception
Throws:
java.lang.Exception

addWith

void addWith(Variable with,
             boolean full)
             throws java.lang.Exception
Throws:
java.lang.Exception

addWith_asVariable

Variable addWith_asVariable()
                            throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'with' property

Returns:
The anoymous Variable created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Solution.withProperty

addWith_asVariable

Variable addWith_asVariable(com.hp.hpl.jena.rdf.model.Resource resource)
                            throws java.lang.Exception
Adds a value for the 'with' property. This method is equivalent constructing a new instance of Variable with the factory and calling addWith(net.rewerse.i5.r3.juice.ontology.Variable with) The resource argument have rdf:type http://rewerse.net/I5/NS/2006/r3#Variable. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
java.lang.Exception
See Also:
Solution.withProperty

addWith_asVariable

Variable addWith_asVariable(com.hp.hpl.jena.rdf.model.Resource resource,
                            boolean full)
                            throws java.lang.Exception
Throws:
java.lang.Exception

removeWith

void removeWith(Variable with)
                throws com.ibm.adtech.jastor.JastorException
Removes a value for the 'with' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - Variable to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Solution.withProperty

setWith_asVariable

void setWith_asVariable(java.lang.Iterable<Variable> c)
                        throws java.lang.Exception
Sets the 'with_asVariable' property value

Parameters:
{@link - java.lang.Iterable} of Variable
Throws:
java.lang.Exception
See Also:
Solution.withProperty

setWith_asVariable

void setWith_asVariable(java.lang.Iterable<Variable> c,
                        boolean full)
                        throws java.lang.Exception
Throws:
java.lang.Exception

clearWith

void clearWith()
               throws com.ibm.adtech.jastor.JastorException
Removes all values for the 'with' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
clearWith in interface Solution
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Solution.withProperty