ibspan.tss.um.ontology
Class RatedResultImpl

java.lang.Object
  extended by com.hp.hpl.jena.rdf.listeners.StatementListener
      extended by com.ibm.adtech.jastor.ThingImpl
          extended by ibspan.tss.um.ontology.RatedResultImpl
All Implemented Interfaces:
ModelChangedListener, com.ibm.adtech.jastor.Thing, RatedResult

public class RatedResultImpl
extends com.ibm.adtech.jastor.ThingImpl
implements RatedResult

Implementation of RatedResult Use the ibspan.tss.um.ontology.UserModellingFactory to create instances of this class.

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.RatedResult
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 Double getHasTemperature()
          Gets the 'hasTemperature' property value
 com.ibm.adtech.jastor.Thing getOfObject()
          Gets the 'ofObject' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void setHasTemperature(Double hasTemperature)
          Sets the 'hasTemperature' property value
 com.ibm.adtech.jastor.Thing setOfObject()
          Sets the 'ofObject' property value to an anonymous node
 com.ibm.adtech.jastor.Thing setOfObject(Resource resource)
          Sets the 'ofObject' property value to the given resource, and add's rdf:type properties.
 void setOfObject(com.ibm.adtech.jastor.Thing ofObject)
          Sets the 'ofObject' property value
 void unregisterListener(com.ibm.adtech.jastor.ThingListener listener)
           
 
Methods inherited from class com.ibm.adtech.jastor.ThingImpl
equals, isRDFType, model, removeStatements, resource, toString, uri
 
Methods inherited from class com.hp.hpl.jena.rdf.listeners.StatementListener
addedStatements, addedStatements, addedStatements, addedStatements, notifyEvent, removedStatements, removedStatements, removedStatements, removedStatements
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.adtech.jastor.Thing
isRDFType, model, removeStatements, resource, uri
 

Method Detail

listStatements

public List listStatements()
Specified by:
listStatements in interface com.ibm.adtech.jastor.Thing
Overrides:
listStatements in class com.ibm.adtech.jastor.ThingImpl

clearCache

public void clearCache()
Specified by:
clearCache in interface com.ibm.adtech.jastor.Thing
Overrides:
clearCache in class com.ibm.adtech.jastor.ThingImpl

getHasTemperature

public Double getHasTemperature()
                         throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResult
Gets the 'hasTemperature' property value

Specified by:
getHasTemperature in interface RatedResult
Returns:
Double
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResult.hasTemperatureProperty

setHasTemperature

public void setHasTemperature(Double hasTemperature)
                       throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResult
Sets the 'hasTemperature' property value

Specified by:
setHasTemperature in interface RatedResult
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResult.hasTemperatureProperty

getOfObject

public com.ibm.adtech.jastor.Thing getOfObject()
                                        throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResult
Gets the 'ofObject' property value

Specified by:
getOfObject in interface RatedResult
Returns:
Thing
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResult.ofObjectProperty

setOfObject

public void setOfObject(com.ibm.adtech.jastor.Thing ofObject)
                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResult
Sets the 'ofObject' property value

Specified by:
setOfObject in interface RatedResult
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResult.ofObjectProperty

setOfObject

public com.ibm.adtech.jastor.Thing setOfObject()
                                        throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResult
Sets the 'ofObject' property value to an anonymous node

Specified by:
setOfObject in interface RatedResult
Returns:
Thing, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResult.ofObjectProperty

setOfObject

public com.ibm.adtech.jastor.Thing setOfObject(Resource resource)
                                        throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResult
Sets the 'ofObject' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Thing with the factory. and calling setOfObject(com.ibm.adtech.jastor.Thing ofObject) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setOfObject in interface RatedResult
Returns:
Thing, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResult.ofObjectProperty

registerListener

public void registerListener(com.ibm.adtech.jastor.ThingListener listener)
Specified by:
registerListener in interface com.ibm.adtech.jastor.Thing
Overrides:
registerListener in class com.ibm.adtech.jastor.ThingImpl

unregisterListener

public void unregisterListener(com.ibm.adtech.jastor.ThingListener listener)
Specified by:
unregisterListener in interface com.ibm.adtech.jastor.Thing
Overrides:
unregisterListener in class com.ibm.adtech.jastor.ThingImpl

addedStatement

public void addedStatement(Statement stmt)
Specified by:
addedStatement in interface ModelChangedListener
Overrides:
addedStatement in class StatementListener

removedStatement

public void removedStatement(Statement stmt)
Specified by:
removedStatement in interface ModelChangedListener
Overrides:
removedStatement in class StatementListener