ibspan.tss.um.ontology
Class OpinionImpl

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

public class OpinionImpl
extends com.ibm.adtech.jastor.ThingImpl
implements Opinion

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.Opinion
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 Double getAtIndividualProbability()
          Gets the 'atIndividualProbability' property value
 Double getAtInferredProbability()
          Gets the 'atInferredProbability' property value
 Double getAtNormalizedProbability()
          Gets the 'atNormalizedProbability' property value
 Classification getHasClassification()
          Gets the 'hasClassification' property value
 String getIsAbout()
          Gets the 'isAbout' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void setAtIndividualProbability(Double atIndividualProbability)
          Sets the 'atIndividualProbability' property value
 void setAtInferredProbability(Double atInferredProbability)
          Sets the 'atInferredProbability' property value
 void setAtNormalizedProbability(Double atNormalizedProbability)
          Sets the 'atNormalizedProbability' property value
 Classification setHasClassification()
          Sets the 'hasClassification' property value to an anonymous node
 void setHasClassification(Classification hasClassification)
          Sets the 'hasClassification' property value
 Classification setHasClassification(Resource resource)
          Sets the 'hasClassification' property value to the given resource, and add's rdf:type properties.
 void setIsAbout(String isAbout)
          Sets the 'isAbout' 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

getAtIndividualProbability

public Double getAtIndividualProbability()
                                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Gets the 'atIndividualProbability' property value

Specified by:
getAtIndividualProbability in interface Opinion
Returns:
Double
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.atIndividualProbabilityProperty

setAtIndividualProbability

public void setAtIndividualProbability(Double atIndividualProbability)
                                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'atIndividualProbability' property value

Specified by:
setAtIndividualProbability in interface Opinion
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.atIndividualProbabilityProperty

getAtInferredProbability

public Double getAtInferredProbability()
                                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Gets the 'atInferredProbability' property value

Specified by:
getAtInferredProbability in interface Opinion
Returns:
Double
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.atInferredProbabilityProperty

setAtInferredProbability

public void setAtInferredProbability(Double atInferredProbability)
                              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'atInferredProbability' property value

Specified by:
setAtInferredProbability in interface Opinion
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.atInferredProbabilityProperty

getAtNormalizedProbability

public Double getAtNormalizedProbability()
                                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Gets the 'atNormalizedProbability' property value

Specified by:
getAtNormalizedProbability in interface Opinion
Returns:
Double
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.atNormalizedProbabilityProperty

setAtNormalizedProbability

public void setAtNormalizedProbability(Double atNormalizedProbability)
                                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'atNormalizedProbability' property value

Specified by:
setAtNormalizedProbability in interface Opinion
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.atNormalizedProbabilityProperty

getHasClassification

public Classification getHasClassification()
                                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Gets the 'hasClassification' property value

Specified by:
getHasClassification in interface Opinion
Returns:
Classification
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.hasClassificationProperty

setHasClassification

public void setHasClassification(Classification hasClassification)
                          throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'hasClassification' property value

Specified by:
setHasClassification in interface Opinion
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.hasClassificationProperty

setHasClassification

public Classification setHasClassification()
                                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'hasClassification' property value to an anonymous node

Specified by:
setHasClassification in interface Opinion
Returns:
Classification, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.hasClassificationProperty

setHasClassification

public Classification setHasClassification(Resource resource)
                                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'hasClassification' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Classification with the factory. and calling setHasClassification(ibspan.tss.um.ontology.Classification hasClassification) The resource argument have rdf:type http://www.ibspan.waw.pl/tss/UserModelling#Classification. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setHasClassification in interface Opinion
Returns:
Classification, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.hasClassificationProperty

getIsAbout

public String getIsAbout()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Gets the 'isAbout' property value

Specified by:
getIsAbout in interface Opinion
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.isAboutProperty

setIsAbout

public void setIsAbout(String isAbout)
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Opinion
Sets the 'isAbout' property value

Specified by:
setIsAbout in interface Opinion
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Opinion.isAboutProperty

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