ibspan.tss.um.ontology
Class UserProfileDataImpl

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

public class UserProfileDataImpl
extends com.ibm.adtech.jastor.ThingImpl
implements UserProfileData

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

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.um.ontology.UserProfileData
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 void addedStatement(Statement stmt)
           
 void clearCache()
           
 Age getHasAge()
          Gets the 'hasAge' property value
 Dress getHasDress()
          Gets the 'hasDress' property value
 Profession getHasProfession()
          Gets the 'hasProfession' property value
 Wealth getHasWealth()
          Gets the 'hasWealth' property value
 com.hp.hpl.jena.datatypes.xsd.impl.XSDDateType getWasBorn()
          Gets the 'wasBorn' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removedStatement(Statement stmt)
           
 Age setHasAge()
          Sets the 'hasAge' property value to an anonymous node
 void setHasAge(Age hasAge)
          Sets the 'hasAge' property value
 Age setHasAge(Resource resource)
          Sets the 'hasAge' property value to the given resource, and add's rdf:type properties.
 Dress setHasDress()
          Sets the 'hasDress' property value to an anonymous node
 void setHasDress(Dress hasDress)
          Sets the 'hasDress' property value
 Dress setHasDress(Resource resource)
          Sets the 'hasDress' property value to the given resource, and add's rdf:type properties.
 Profession setHasProfession()
          Sets the 'hasProfession' property value to an anonymous node
 void setHasProfession(Profession hasProfession)
          Sets the 'hasProfession' property value
 Profession setHasProfession(Resource resource)
          Sets the 'hasProfession' property value to the given resource, and add's rdf:type properties.
 Wealth setHasWealth()
          Sets the 'hasWealth' property value to an anonymous node
 Wealth setHasWealth(Resource resource)
          Sets the 'hasWealth' property value to the given resource, and add's rdf:type properties.
 void setHasWealth(Wealth hasWealth)
          Sets the 'hasWealth' property value
 void setWasBorn(com.hp.hpl.jena.datatypes.xsd.impl.XSDDateType wasBorn)
          Sets the 'wasBorn' 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

getHasWealth

public Wealth getHasWealth()
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Gets the 'hasWealth' property value

Specified by:
getHasWealth in interface UserProfileData
Returns:
Wealth
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasWealthProperty

setHasWealth

public void setHasWealth(Wealth hasWealth)
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasWealth' property value

Specified by:
setHasWealth in interface UserProfileData
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasWealthProperty

setHasWealth

public Wealth setHasWealth()
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasWealth' property value to an anonymous node

Specified by:
setHasWealth in interface UserProfileData
Returns:
Wealth, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasWealthProperty

setHasWealth

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

Specified by:
setHasWealth in interface UserProfileData
Returns:
Wealth, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasWealthProperty

getWasBorn

public com.hp.hpl.jena.datatypes.xsd.impl.XSDDateType getWasBorn()
                                                          throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Gets the 'wasBorn' property value

Specified by:
getWasBorn in interface UserProfileData
Returns:
XSDDateType
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.wasBornProperty

setWasBorn

public void setWasBorn(com.hp.hpl.jena.datatypes.xsd.impl.XSDDateType wasBorn)
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'wasBorn' property value

Specified by:
setWasBorn in interface UserProfileData
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.wasBornProperty

getHasDress

public Dress getHasDress()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Gets the 'hasDress' property value

Specified by:
getHasDress in interface UserProfileData
Returns:
Dress
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasDressProperty

setHasDress

public void setHasDress(Dress hasDress)
                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasDress' property value

Specified by:
setHasDress in interface UserProfileData
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasDressProperty

setHasDress

public Dress setHasDress()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasDress' property value to an anonymous node

Specified by:
setHasDress in interface UserProfileData
Returns:
Dress, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasDressProperty

setHasDress

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

Specified by:
setHasDress in interface UserProfileData
Returns:
Dress, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasDressProperty

getHasProfession

public Profession getHasProfession()
                            throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Gets the 'hasProfession' property value

Specified by:
getHasProfession in interface UserProfileData
Returns:
Profession
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasProfessionProperty

setHasProfession

public void setHasProfession(Profession hasProfession)
                      throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasProfession' property value

Specified by:
setHasProfession in interface UserProfileData
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasProfessionProperty

setHasProfession

public Profession setHasProfession()
                            throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasProfession' property value to an anonymous node

Specified by:
setHasProfession in interface UserProfileData
Returns:
Profession, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasProfessionProperty

setHasProfession

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

Specified by:
setHasProfession in interface UserProfileData
Returns:
Profession, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasProfessionProperty

getHasAge

public Age getHasAge()
              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Gets the 'hasAge' property value

Specified by:
getHasAge in interface UserProfileData
Returns:
Age
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasAgeProperty

setHasAge

public void setHasAge(Age hasAge)
               throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasAge' property value

Specified by:
setHasAge in interface UserProfileData
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasAgeProperty

setHasAge

public Age setHasAge()
              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: UserProfileData
Sets the 'hasAge' property value to an anonymous node

Specified by:
setHasAge in interface UserProfileData
Returns:
Age, the created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasAgeProperty

setHasAge

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

Specified by:
setHasAge in interface UserProfileData
Returns:
Age, the newly created value
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
UserProfileData.hasAgeProperty

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