ibspan.tss.um.ontology
Interface OpinionSet

All Superinterfaces:
com.ibm.adtech.jastor.Thing
All Known Implementing Classes:
OpinionSetImpl

public interface OpinionSet
extends com.ibm.adtech.jastor.Thing

Interface for OpinionSet ontology class
Use the ibspan.tss.um.ontology.UserModellingFactory to create instances of this interface.

(URI: http://www.ibspan.waw.pl/tss/UserModelling#OpinionSet)


RDF Schema Standard Properties
comment : Set of person opinions.^^http://www.w3.org/2001/XMLSchema#string



Field Summary
static Property containsOpinionProperty
          The Jena Property for containsOpinion (URI: http://www.ibspan.waw.pl/tss/UserModelling#containsOpinion)
static Resource TYPE
          The rdf:type for this ontology class
static Property wasChangedProperty
          The Jena Property for wasChanged (URI: http://www.ibspan.waw.pl/tss/UserModelling#wasChanged)

RDF Schema Standard Properties
comment : date of last change of the opinions set^^http://www.w3.org/2001/XMLSchema#string

 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 Opinion addContainsOpinion()
          Adds an anonymous value for the 'containsOpinion' property
 void addContainsOpinion(Opinion containsOpinion)
          Adds a value for the 'containsOpinion' property
 Opinion addContainsOpinion(Resource resource)
          Adds a value for the 'containsOpinion' property.
 Iterator getContainsOpinion()
          Get an Iterator the 'containsOpinion' property values.
 XSDDateTime getWasChanged()
          Gets the 'wasChanged' property value
 void removeContainsOpinion(Opinion containsOpinion)
          Removes a value for the 'containsOpinion' property.
 void setWasChanged(XSDDateTime wasChanged)
          Sets the 'wasChanged' property value
 
Methods inherited from interface com.ibm.adtech.jastor.Thing
clearCache, isRDFType, listStatements, model, registerListener, removeStatements, resource, unregisterListener, uri
 

Field Detail

TYPE

static final Resource TYPE
The rdf:type for this ontology class


containsOpinionProperty

static final Property containsOpinionProperty
The Jena Property for containsOpinion

(URI: http://www.ibspan.waw.pl/tss/UserModelling#containsOpinion)



wasChangedProperty

static final Property wasChangedProperty
The Jena Property for wasChanged

(URI: http://www.ibspan.waw.pl/tss/UserModelling#wasChanged)



RDF Schema Standard Properties
comment : date of last change of the opinions set^^http://www.w3.org/2001/XMLSchema#string

Method Detail

getContainsOpinion

Iterator getContainsOpinion()
                            throws com.ibm.adtech.jastor.JastorException
Get an Iterator the 'containsOpinion' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Opinion
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
containsOpinionProperty

addContainsOpinion

void addContainsOpinion(Opinion containsOpinion)
                        throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'containsOpinion' property

Parameters:
The - Opinion to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
containsOpinionProperty

addContainsOpinion

Opinion addContainsOpinion()
                           throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'containsOpinion' property

Returns:
The anoymous Opinion created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
containsOpinionProperty

addContainsOpinion

Opinion addContainsOpinion(Resource resource)
                           throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'containsOpinion' property. This method is equivalent constructing a new instance of Opinion with the factory and calling addContainsOpinion(ibspan.tss.um.ontology.Opinion containsOpinion) The resource argument have rdf:type http://www.ibspan.waw.pl/tss/UserModelling#Opinion. 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:
com.ibm.adtech.jastor.JastorException
See Also:
containsOpinionProperty

removeContainsOpinion

void removeContainsOpinion(Opinion containsOpinion)
                           throws com.ibm.adtech.jastor.JastorException
Removes a value for the 'containsOpinion' 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 - Opinion to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
containsOpinionProperty

getWasChanged

XSDDateTime getWasChanged()
                          throws com.ibm.adtech.jastor.JastorException
Gets the 'wasChanged' property value

Returns:
XSDDateTime
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
wasChangedProperty

setWasChanged

void setWasChanged(XSDDateTime wasChanged)
                   throws com.ibm.adtech.jastor.JastorException
Sets the 'wasChanged' property value

Parameters:
{@link - com.hp.hpl.jena.datatypes.xsd.XSDDateTime}
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
wasChangedProperty