ibspan.tss.um.ontology
Class EventSessionImpl

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

public class EventSessionImpl
extends com.ibm.adtech.jastor.ThingImpl
implements EventSession

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.EventSession
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 Event addHasEvent()
          Adds an anonymous value for the 'hasEvent' property
 void addHasEvent(Event hasEvent)
          Adds a value for the 'hasEvent' property
 Event addHasEvent(Resource resource)
          Adds a value for the 'hasEvent' property.
 void clearCache()
           
 Iterator getHasEvent()
          Get an Iterator the 'hasEvent' property values.
 String getHasSessionID()
          Gets the 'hasSessionID' property value
 Integer getHasUserID()
          Gets the 'hasUserID' property value
 XSDDateTime getStartedAt()
          Gets the 'startedAt' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 void removeHasEvent(Event hasEvent)
          Removes a value for the 'hasEvent' property.
 void setHasSessionID(String hasSessionID)
          Sets the 'hasSessionID' property value
 void setHasUserID(Integer hasUserID)
          Sets the 'hasUserID' property value
 void setStartedAt(XSDDateTime startedAt)
          Sets the 'startedAt' 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

getHasEvent

public Iterator getHasEvent()
                     throws com.ibm.adtech.jastor.JastorException
Description copied from interface: EventSession
Get an Iterator the 'hasEvent' property values. This Iteartor may be used to remove all such values.

Specified by:
getHasEvent in interface EventSession
Returns:
Iterator of Event
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.hasEventProperty

addHasEvent

public void addHasEvent(Event hasEvent)
                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: EventSession
Adds a value for the 'hasEvent' property

Specified by:
addHasEvent in interface EventSession
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.hasEventProperty

addHasEvent

public Event addHasEvent()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: EventSession
Adds an anonymous value for the 'hasEvent' property

Specified by:
addHasEvent in interface EventSession
Returns:
The anoymous Event created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.hasEventProperty

addHasEvent

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

Specified by:
addHasEvent in interface EventSession
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.hasEventProperty

removeHasEvent

public void removeHasEvent(Event hasEvent)
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: EventSession
Removes a value for the 'hasEvent' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeHasEvent in interface EventSession
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.hasEventProperty

getStartedAt

public XSDDateTime getStartedAt()
                         throws com.ibm.adtech.jastor.JastorException
Description copied from interface: EventSession
Gets the 'startedAt' property value

Specified by:
getStartedAt in interface EventSession
Returns:
XSDDateTime
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.startedAtProperty

setStartedAt

public void setStartedAt(XSDDateTime startedAt)
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: EventSession
Sets the 'startedAt' property value

Specified by:
setStartedAt in interface EventSession
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.startedAtProperty

getHasSessionID

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

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

setHasSessionID

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

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

getHasUserID

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

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

setHasUserID

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

Specified by:
setHasUserID in interface EventSession
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
EventSession.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