ibspan.tss.um.ontology
Class ProfileImpl
java.lang.Object
com.hp.hpl.jena.rdf.listeners.StatementListener
com.ibm.adtech.jastor.ThingImpl
ibspan.tss.um.ontology.ProfileImpl
- All Implemented Interfaces:
- ModelChangedListener, com.ibm.adtech.jastor.Thing, Profile
public class ProfileImpl
- extends com.ibm.adtech.jastor.ThingImpl
- implements Profile
Implementation of Profile
Use the ibspan.tss.um.ontology.UserModellingFactory to create instances of this class.
(URI: http://www.ibspan.waw.pl/tss/UserModelling#Profile)
Fields inherited from class com.ibm.adtech.jastor.ThingImpl |
_model, _resource, _typeUri, copyright |
Fields inherited from interface ibspan.tss.um.ontology.Profile |
TYPE |
Fields inherited from interface com.ibm.adtech.jastor.Thing |
copyright |
Methods inherited from class com.ibm.adtech.jastor.ThingImpl |
equals, isRDFType, model, removeStatements, resource, toString, uri |
Methods inherited from interface com.ibm.adtech.jastor.Thing |
isRDFType, model, removeStatements, resource, uri |
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
getHasOpinions
public OpinionSet getHasOpinions()
throws com.ibm.adtech.jastor.JastorException
- Description copied from interface:
Profile
- Gets the 'hasOpinions' property value
- Specified by:
getHasOpinions
in interface Profile
- Returns:
OpinionSet
- Throws:
com.ibm.adtech.jastor.JastorException
- See Also:
Profile.hasOpinionsProperty
setHasOpinions
public void setHasOpinions(OpinionSet hasOpinions)
throws com.ibm.adtech.jastor.JastorException
- Description copied from interface:
Profile
- Sets the 'hasOpinions' property value
- Specified by:
setHasOpinions
in interface Profile
- Throws:
com.ibm.adtech.jastor.JastorException
- See Also:
Profile.hasOpinionsProperty
setHasOpinions
public OpinionSet setHasOpinions()
throws com.ibm.adtech.jastor.JastorException
- Description copied from interface:
Profile
- Sets the 'hasOpinions' property value to an anonymous node
- Specified by:
setHasOpinions
in interface Profile
- Returns:
OpinionSet
, the created value
- Throws:
com.ibm.adtech.jastor.JastorException
- See Also:
Profile.hasOpinionsProperty
setHasOpinions
public OpinionSet setHasOpinions(Resource resource)
throws com.ibm.adtech.jastor.JastorException
- Description copied from interface:
Profile
- Sets the 'hasOpinions' property value to the given resource, and add's rdf:type properties. This
method is equivalent constructing a new instance of
OpinionSet
with the factory.
and calling setHasOpinions(ibspan.tss.um.ontology.OpinionSet hasOpinions)
The resource argument have rdf:type http://www.ibspan.waw.pl/tss/UserModelling#OpinionSet. That is, this method
should not be used as a shortcut for creating new objects in the model.
- Specified by:
setHasOpinions
in interface Profile
- Returns:
OpinionSet
, the newly created value
- Throws:
com.ibm.adtech.jastor.JastorException
- See Also:
Profile.hasOpinionsProperty
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