ibspan.tss.um.ontology
Interface EventSession

All Superinterfaces:
com.ibm.adtech.jastor.Thing
All Known Implementing Classes:
EventSessionImpl

public interface EventSession
extends com.ibm.adtech.jastor.Thing

Interface for EventSession ontology class
Use the ibspan.tss.um.ontology.UserModellingFactory to create instances of this interface.

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


RDF Schema Standard Properties
comment : Gathers a set of Events in single session with authorized (logged in) user.^^http://www.w3.org/2001/XMLSchema#string



Field Summary
static Property hasEventProperty
          The Jena Property for hasEvent (URI: http://www.ibspan.waw.pl/tss/UserModelling#hasEvent)

RDF Schema Standard Properties
comment : Points the event belonging to this session.
static Property hasSessionIDProperty
          The Jena Property for hasSessionID (URI: http://www.ibspan.waw.pl/tss/UserModelling#hasSessionID)

RDF Schema Standard Properties
comment : Unique ID of the Session.
static Property hasUserIDProperty
          The Jena Property for hasUserID (URI: http://www.ibspan.waw.pl/tss/UserModelling#hasUserID)

RDF Schema Standard Properties
comment : Unique ID of a user^^http://www.w3.org/2001/XMLSchema#string

static Property startedAtProperty
          The Jena Property for startedAt (URI: http://www.ibspan.waw.pl/tss/UserModelling#startedAt)

RDF Schema Standard Properties
comment : Describes when the session started.
static Resource TYPE
          The rdf:type for this ontology class
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 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.
 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
 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
 
Methods inherited from interface com.ibm.adtech.jastor.Thing
clearCache, isRDFType, listStatements, model, registerListener, removeStatements, resource, unregisterListener, uri
 

Field Detail

TYPE

static final Resource TYPE
The rdf:type for this ontology class


hasEventProperty

static final Property hasEventProperty
The Jena Property for hasEvent

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



RDF Schema Standard Properties
comment : Points the event belonging to this session.^^http://www.w3.org/2001/XMLSchema#string


startedAtProperty

static final Property startedAtProperty
The Jena Property for startedAt

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



RDF Schema Standard Properties
comment : Describes when the session started.^^http://www.w3.org/2001/XMLSchema#string


hasSessionIDProperty

static final Property hasSessionIDProperty
The Jena Property for hasSessionID

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



RDF Schema Standard Properties
comment : Unique ID of the Session.^^http://www.w3.org/2001/XMLSchema#string


hasUserIDProperty

static final Property hasUserIDProperty
The Jena Property for hasUserID

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



RDF Schema Standard Properties
comment : Unique ID of a user^^http://www.w3.org/2001/XMLSchema#string

Method Detail

getHasEvent

Iterator getHasEvent()
                     throws com.ibm.adtech.jastor.JastorException
Get an Iterator the 'hasEvent' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Event
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasEventProperty

addHasEvent

void addHasEvent(Event hasEvent)
                 throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'hasEvent' property

Parameters:
The - Event to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasEventProperty

addHasEvent

Event addHasEvent()
                  throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'hasEvent' property

Returns:
The anoymous Event created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasEventProperty

addHasEvent

Event addHasEvent(Resource resource)
                  throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasEventProperty

removeHasEvent

void removeHasEvent(Event hasEvent)
                    throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
The - Event to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasEventProperty

getStartedAt

XSDDateTime getStartedAt()
                         throws com.ibm.adtech.jastor.JastorException
Gets the 'startedAt' property value

Returns:
XSDDateTime
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
startedAtProperty

setStartedAt

void setStartedAt(XSDDateTime startedAt)
                  throws com.ibm.adtech.jastor.JastorException
Sets the 'startedAt' property value

Parameters:
{@link - com.hp.hpl.jena.datatypes.xsd.XSDDateTime}
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
startedAtProperty

getHasSessionID

String getHasSessionID()
                       throws com.ibm.adtech.jastor.JastorException
Gets the 'hasSessionID' property value

Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasSessionIDProperty

setHasSessionID

void setHasSessionID(String hasSessionID)
                     throws com.ibm.adtech.jastor.JastorException
Sets the 'hasSessionID' property value

Parameters:
{@link - java.lang.String}
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasSessionIDProperty

getHasUserID

Integer getHasUserID()
                     throws com.ibm.adtech.jastor.JastorException
Gets the 'hasUserID' property value

Returns:
Integer
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasUserIDProperty

setHasUserID

void setHasUserID(Integer hasUserID)
                  throws com.ibm.adtech.jastor.JastorException
Sets the 'hasUserID' property value

Parameters:
{@link - java.lang.Integer}
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
hasUserIDProperty