ibspan.tss.um.ontology
Class DressSetImpl

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.DressSetImpl
All Implemented Interfaces:
ModelChangedListener, com.ibm.adtech.jastor.Thing, DressSet, MeasureSet, OrdinalSet

public class DressSetImpl
extends com.ibm.adtech.jastor.ThingImpl
implements DressSet

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.DressSet
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 Ordinal addContains_asOrdinal()
          Adds an anonymous value for the 'contains' property
 Ordinal addContains_asOrdinal(Resource resource)
          Adds a value for the 'contains' property.
 Measure addContains()
          Adds an anonymous value for the 'contains' property
 void addContains(Measure contains)
          Adds a value for the 'contains' property
 void addContains(Ordinal contains)
          Adds a value for the 'contains' property
 Measure addContains(Resource resource)
          Adds a value for the 'contains' property.
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 Iterator getContains_asOrdinal()
          Get an Iterator the 'contains' property values.
 Iterator getContains()
          Get an Iterator the 'contains' property values.
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removeContains(Measure contains)
          Removes a value for the 'contains' property.
 void removeContains(Ordinal contains)
          Removes a value for the 'contains' property.
 void removedStatement(Statement stmt)
           
 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

getContains

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

Specified by:
getContains in interface OrdinalSet
Returns:
Iterator of Measure
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

addContains

public void addContains(Measure contains)
                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: OrdinalSet
Adds a value for the 'contains' property

Specified by:
addContains in interface OrdinalSet
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

addContains

public Measure addContains()
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: OrdinalSet
Adds an anonymous value for the 'contains' property

Specified by:
addContains in interface OrdinalSet
Returns:
The anoymous Measure created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

addContains

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

Specified by:
addContains in interface OrdinalSet
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

removeContains

public void removeContains(Measure contains)
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: OrdinalSet
Removes a value for the 'contains' 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:
removeContains in interface OrdinalSet
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

getContains_asOrdinal

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

Specified by:
getContains_asOrdinal in interface OrdinalSet
Returns:
Iterator of Ordinal
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

addContains

public void addContains(Ordinal contains)
                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: OrdinalSet
Adds a value for the 'contains' property

Specified by:
addContains in interface OrdinalSet
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

addContains_asOrdinal

public Ordinal addContains_asOrdinal()
                              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: OrdinalSet
Adds an anonymous value for the 'contains' property

Specified by:
addContains_asOrdinal in interface OrdinalSet
Returns:
The anoymous Ordinal created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

addContains_asOrdinal

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

Specified by:
addContains_asOrdinal in interface OrdinalSet
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

removeContains

public void removeContains(Ordinal contains)
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: OrdinalSet
Removes a value for the 'contains' 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:
removeContains in interface OrdinalSet
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
OrdinalSet.containsProperty

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