ibspan.tss.um.ontology
Class RatedResourceImpl

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.RatedResourceImpl
All Implemented Interfaces:
ModelChangedListener, com.ibm.adtech.jastor.Thing, RatedResource

public class RatedResourceImpl
extends com.ibm.adtech.jastor.ThingImpl
implements RatedResource

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.RatedResource
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 Double getHasRate()
          Gets the 'hasRate' property value
 String getOfResource()
          Gets the 'ofResource' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void setHasRate(Double hasRate)
          Sets the 'hasRate' property value
 void setOfResource(String ofResource)
          Sets the 'ofResource' 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

getHasRate

public Double getHasRate()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResource
Gets the 'hasRate' property value

Specified by:
getHasRate in interface RatedResource
Returns:
Double
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResource.hasRateProperty

setHasRate

public void setHasRate(Double hasRate)
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResource
Sets the 'hasRate' property value

Specified by:
setHasRate in interface RatedResource
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResource.hasRateProperty

getOfResource

public String getOfResource()
                     throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResource
Gets the 'ofResource' property value

Specified by:
getOfResource in interface RatedResource
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResource.ofResourceProperty

setOfResource

public void setOfResource(String ofResource)
                   throws com.ibm.adtech.jastor.JastorException
Description copied from interface: RatedResource
Sets the 'ofResource' property value

Specified by:
setOfResource in interface RatedResource
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
RatedResource.ofResourceProperty

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