ibspan.tss.um.ontology
Class EventImpl

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

public class EventImpl
extends com.ibm.adtech.jastor.ThingImpl
implements Event

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.Event
LastEvent, TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 Integer getHasEventID()
          Gets the 'hasEventID' property value
 ExtendedUserBehaviour getHasExtendedUserBehaviour()
          Gets the 'hasExtendedUserBehaviour' property value
 String getHasSessionID()
          Gets the 'hasSessionID' property value
 Integer getHasUserID()
          Gets the 'hasUserID' property value
 XSDDateTime getWhen()
          Gets the 'when' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void setHasEventID(Integer hasEventID)
          Sets the 'hasEventID' property value
 ExtendedUserBehaviour setHasExtendedUserBehaviour()
          Sets the 'hasExtendedUserBehaviour' property value to an anonymous node
 void setHasExtendedUserBehaviour(ExtendedUserBehaviour hasExtendedUserBehaviour)
          Sets the 'hasExtendedUserBehaviour' property value
 ExtendedUserBehaviour setHasExtendedUserBehaviour(Resource resource)
          Sets the 'hasExtendedUserBehaviour' property value to the given resource, and add's rdf:type properties.
 void setHasSessionID(String hasSessionID)
          Sets the 'hasSessionID' property value
 void setHasUserID(Integer hasUserID)
          Sets the 'hasUserID' property value
 void setWhen(XSDDateTime when)
          Sets the 'when' 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

getHasExtendedUserBehaviour

public ExtendedUserBehaviour getHasExtendedUserBehaviour()
                                                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Gets the 'hasExtendedUserBehaviour' property value

Specified by:
getHasExtendedUserBehaviour in interface Event
Returns:
ExtendedUserBehaviour
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasExtendedUserBehaviourProperty

setHasExtendedUserBehaviour

public void setHasExtendedUserBehaviour(ExtendedUserBehaviour hasExtendedUserBehaviour)
                                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Sets the 'hasExtendedUserBehaviour' property value

Specified by:
setHasExtendedUserBehaviour in interface Event
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasExtendedUserBehaviourProperty

setHasExtendedUserBehaviour

public ExtendedUserBehaviour setHasExtendedUserBehaviour()
                                                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Sets the 'hasExtendedUserBehaviour' property value to an anonymous node

Specified by:
setHasExtendedUserBehaviour in interface Event
Returns:
ExtendedUserBehaviour, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasExtendedUserBehaviourProperty

setHasExtendedUserBehaviour

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

Specified by:
setHasExtendedUserBehaviour in interface Event
Returns:
ExtendedUserBehaviour, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasExtendedUserBehaviourProperty

getWhen

public XSDDateTime getWhen()
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Gets the 'when' property value

Specified by:
getWhen in interface Event
Returns:
XSDDateTime
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.whenProperty

setWhen

public void setWhen(XSDDateTime when)
             throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Sets the 'when' property value

Specified by:
setWhen in interface Event
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.whenProperty

getHasEventID

public Integer getHasEventID()
                      throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Gets the 'hasEventID' property value

Specified by:
getHasEventID in interface Event
Returns:
Integer
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasEventIDProperty

setHasEventID

public void setHasEventID(Integer hasEventID)
                   throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Sets the 'hasEventID' property value

Specified by:
setHasEventID in interface Event
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasEventIDProperty

getHasSessionID

public String getHasSessionID()
                       throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Gets the 'hasSessionID' property value

Specified by:
getHasSessionID in interface Event
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasSessionIDProperty

setHasSessionID

public void setHasSessionID(String hasSessionID)
                     throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Event
Sets the 'hasSessionID' property value

Specified by:
setHasSessionID in interface Event
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Event.hasSessionIDProperty

getHasUserID

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

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

setHasUserID

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

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

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