ibspan.tss.um.ontology
Class StatisticsKeyImpl

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

public class StatisticsKeyImpl
extends com.ibm.adtech.jastor.ThingImpl
implements StatisticsKey

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.StatisticsKey
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 String getHasConceptURI()
          Gets the 'hasConceptURI' property value
 UserBehaviour getHasUserBehaviour()
          Gets the 'hasUserBehaviour' property value
 Integer getHasUserID()
          Gets the 'hasUserID' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void setHasConceptURI(String hasConceptURI)
          Sets the 'hasConceptURI' property value
 UserBehaviour setHasUserBehaviour()
          Sets the 'hasUserBehaviour' property value to an anonymous node
 UserBehaviour setHasUserBehaviour(Resource resource)
          Sets the 'hasUserBehaviour' property value to the given resource, and add's rdf:type properties.
 void setHasUserBehaviour(UserBehaviour hasUserBehaviour)
          Sets the 'hasUserBehaviour' property value
 void setHasUserID(Integer hasUserID)
          Sets the 'hasUserID' 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

getHasConceptURI

public String getHasConceptURI()
                        throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Gets the 'hasConceptURI' property value

Specified by:
getHasConceptURI in interface StatisticsKey
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasConceptURIProperty

setHasConceptURI

public void setHasConceptURI(String hasConceptURI)
                      throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Sets the 'hasConceptURI' property value

Specified by:
setHasConceptURI in interface StatisticsKey
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasConceptURIProperty

getHasUserID

public Integer getHasUserID()
                     throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Gets the 'hasUserID' property value

Specified by:
getHasUserID in interface StatisticsKey
Returns:
Integer
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasUserIDProperty

setHasUserID

public void setHasUserID(Integer hasUserID)
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Sets the 'hasUserID' property value

Specified by:
setHasUserID in interface StatisticsKey
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasUserIDProperty

getHasUserBehaviour

public UserBehaviour getHasUserBehaviour()
                                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Gets the 'hasUserBehaviour' property value

Specified by:
getHasUserBehaviour in interface StatisticsKey
Returns:
UserBehaviour
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasUserBehaviourProperty

setHasUserBehaviour

public void setHasUserBehaviour(UserBehaviour hasUserBehaviour)
                         throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Sets the 'hasUserBehaviour' property value

Specified by:
setHasUserBehaviour in interface StatisticsKey
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasUserBehaviourProperty

setHasUserBehaviour

public UserBehaviour setHasUserBehaviour()
                                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: StatisticsKey
Sets the 'hasUserBehaviour' property value to an anonymous node

Specified by:
setHasUserBehaviour in interface StatisticsKey
Returns:
UserBehaviour, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasUserBehaviourProperty

setHasUserBehaviour

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

Specified by:
setHasUserBehaviour in interface StatisticsKey
Returns:
UserBehaviour, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
StatisticsKey.hasUserBehaviourProperty

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