ibspan.tss.domain.ontology.location
Class LocationImpl

java.lang.Object
  extended by com.hp.hpl.jena.rdf.listeners.StatementListener
      extended by com.ibm.adtech.jastor.ThingImpl
          extended by ibspan.tss.domain.ontology.location.LocationImpl
All Implemented Interfaces:
ModelChangedListener, com.ibm.adtech.jastor.Thing, Location

public class LocationImpl
extends com.ibm.adtech.jastor.ThingImpl
implements Location

Implementation of Location Use the ibspan.tss.domain.ontology.location.LocationFactory to create instances of this class.

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



Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingImpl
_model, _resource, _typeUri, copyright
 
Fields inherited from interface ibspan.tss.domain.ontology.location.Location
TYPE
 
Fields inherited from interface com.ibm.adtech.jastor.Thing
copyright
 
Method Summary
 AttractionCategoryCode addAttractionCategory()
          Adds an anonymous value for the 'attractionCategory' property
 void addAttractionCategory(AttractionCategoryCode attractionCategory)
          Adds a value for the 'attractionCategory' property
 AttractionCategoryCode addAttractionCategory(Resource resource)
          Adds a value for the 'attractionCategory' property.
 void addCrossStreet(String crossStreet)
          Add a 'crossStreet' property value
 void addedStatement(Statement stmt)
           
 IndexPointCode addIndexPoint()
          Adds an anonymous value for the 'indexPoint' property
 void addIndexPoint(IndexPointCode indexPoint)
          Adds a value for the 'indexPoint' property
 IndexPointCode addIndexPoint(Resource resource)
          Adds a value for the 'indexPoint' property.
 LocationCategoryCode addLocationCategory()
          Adds an anonymous value for the 'locationCategory' property
 void addLocationCategory(LocationCategoryCode locationCategory)
          Adds a value for the 'locationCategory' property
 LocationCategoryCode addLocationCategory(Resource resource)
          Adds a value for the 'locationCategory' property.
 void addPhone(String phone)
          Add a 'phone' property value
 void clearCache()
           
 Iterator getAttractionCategory()
          Get an Iterator the 'attractionCategory' property values.
 String getCity()
          Gets the 'city' property value
 String getCountry()
          Gets the 'country' property value
 Iterator getCrossStreet()
          Iterates through the 'crossStreet' property values.
 String getFax()
          Gets the 'fax' property value
 Iterator getIndexPoint()
          Get an Iterator the 'indexPoint' property values.
 Iterator getLocationCategory()
          Get an Iterator the 'locationCategory' property values.
 String getLocationPath()
          Gets the 'locationPath' property value
 String getNeighborhood()
          Gets the 'neighborhood' property value
 Iterator getPhone()
          Iterates through the 'phone' property values.
 String getState()
          Gets the 'state' property value
 String getStreetAddress()
          Gets the 'streetAddress' property value
 String getZip()
          Gets the 'zip' property value
 List listStatements()
           
 void registerListener(com.ibm.adtech.jastor.ThingListener listener)
           
 void removeAttractionCategory(AttractionCategoryCode attractionCategory)
          Removes a value for the 'attractionCategory' property.
 void removeCrossStreet(String crossStreet)
          Remove a 'crossStreet' property value.
 void removedStatement(Statement stmt)
           
 void removeIndexPoint(IndexPointCode indexPoint)
          Removes a value for the 'indexPoint' property.
 void removeLocationCategory(LocationCategoryCode locationCategory)
          Removes a value for the 'locationCategory' property.
 void removePhone(String phone)
          Remove a 'phone' property value.
 void setCity(String city)
          Sets the 'city' property value
 void setCountry(String country)
          Sets the 'country' property value
 void setFax(String fax)
          Sets the 'fax' property value
 void setLocationPath(String locationPath)
          Sets the 'locationPath' property value
 void setNeighborhood(String neighborhood)
          Sets the 'neighborhood' property value
 void setState(String state)
          Sets the 'state' property value
 void setStreetAddress(String streetAddress)
          Sets the 'streetAddress' property value
 void setZip(String zip)
          Sets the 'zip' 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

getIndexPoint

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

Specified by:
getIndexPoint in interface Location
Returns:
Iterator of IndexPointCode
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.indexPointProperty

addIndexPoint

public void addIndexPoint(IndexPointCode indexPoint)
                   throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Adds a value for the 'indexPoint' property

Specified by:
addIndexPoint in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.indexPointProperty

addIndexPoint

public IndexPointCode addIndexPoint()
                             throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Adds an anonymous value for the 'indexPoint' property

Specified by:
addIndexPoint in interface Location
Returns:
The anoymous IndexPointCode created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.indexPointProperty

addIndexPoint

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

Specified by:
addIndexPoint in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.indexPointProperty

removeIndexPoint

public void removeIndexPoint(IndexPointCode indexPoint)
                      throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Removes a value for the 'indexPoint' 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:
removeIndexPoint in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.indexPointProperty

getLocationPath

public String getLocationPath()
                       throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'locationPath' property value

Specified by:
getLocationPath in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationPathProperty

setLocationPath

public void setLocationPath(String locationPath)
                     throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'locationPath' property value

Specified by:
setLocationPath in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationPathProperty

getCity

public String getCity()
               throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'city' property value

Specified by:
getCity in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.cityProperty

setCity

public void setCity(String city)
             throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'city' property value

Specified by:
setCity in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.cityProperty

getCrossStreet

public Iterator getCrossStreet()
                        throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Iterates through the 'crossStreet' property values. This Iteartor may be used to remove all such values.

Specified by:
getCrossStreet in interface Location
Returns:
Iterator of String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.crossStreetProperty

addCrossStreet

public void addCrossStreet(String crossStreet)
                    throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Add a 'crossStreet' property value

Specified by:
addCrossStreet in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.crossStreetProperty

removeCrossStreet

public void removeCrossStreet(String crossStreet)
                       throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Remove a 'crossStreet' property value. 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:
removeCrossStreet in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.crossStreetProperty

getAttractionCategory

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

Specified by:
getAttractionCategory in interface Location
Returns:
Iterator of AttractionCategoryCode
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.attractionCategoryProperty

addAttractionCategory

public void addAttractionCategory(AttractionCategoryCode attractionCategory)
                           throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Adds a value for the 'attractionCategory' property

Specified by:
addAttractionCategory in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.attractionCategoryProperty

addAttractionCategory

public AttractionCategoryCode addAttractionCategory()
                                             throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Adds an anonymous value for the 'attractionCategory' property

Specified by:
addAttractionCategory in interface Location
Returns:
The anoymous AttractionCategoryCode created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.attractionCategoryProperty

addAttractionCategory

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

Specified by:
addAttractionCategory in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.attractionCategoryProperty

removeAttractionCategory

public void removeAttractionCategory(AttractionCategoryCode attractionCategory)
                              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Removes a value for the 'attractionCategory' 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:
removeAttractionCategory in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.attractionCategoryProperty

getLocationCategory

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

Specified by:
getLocationCategory in interface Location
Returns:
Iterator of LocationCategoryCode
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationCategoryProperty

addLocationCategory

public void addLocationCategory(LocationCategoryCode locationCategory)
                         throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Adds a value for the 'locationCategory' property

Specified by:
addLocationCategory in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationCategoryProperty

addLocationCategory

public LocationCategoryCode addLocationCategory()
                                         throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Adds an anonymous value for the 'locationCategory' property

Specified by:
addLocationCategory in interface Location
Returns:
The anoymous LocationCategoryCode created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationCategoryProperty

addLocationCategory

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

Specified by:
addLocationCategory in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationCategoryProperty

removeLocationCategory

public void removeLocationCategory(LocationCategoryCode locationCategory)
                            throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Removes a value for the 'locationCategory' 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:
removeLocationCategory in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.locationCategoryProperty

getStreetAddress

public String getStreetAddress()
                        throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'streetAddress' property value

Specified by:
getStreetAddress in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.streetAddressProperty

setStreetAddress

public void setStreetAddress(String streetAddress)
                      throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'streetAddress' property value

Specified by:
setStreetAddress in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.streetAddressProperty

getCountry

public String getCountry()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'country' property value

Specified by:
getCountry in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.countryProperty

setCountry

public void setCountry(String country)
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'country' property value

Specified by:
setCountry in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.countryProperty

getFax

public String getFax()
              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'fax' property value

Specified by:
getFax in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.faxProperty

setFax

public void setFax(String fax)
            throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'fax' property value

Specified by:
setFax in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.faxProperty

getState

public String getState()
                throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'state' property value

Specified by:
getState in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.stateProperty

setState

public void setState(String state)
              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'state' property value

Specified by:
setState in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.stateProperty

getPhone

public Iterator getPhone()
                  throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Iterates through the 'phone' property values. This Iteartor may be used to remove all such values.

Specified by:
getPhone in interface Location
Returns:
Iterator of String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.phoneProperty

addPhone

public void addPhone(String phone)
              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Add a 'phone' property value

Specified by:
addPhone in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.phoneProperty

removePhone

public void removePhone(String phone)
                 throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Remove a 'phone' property value. 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:
removePhone in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.phoneProperty

getNeighborhood

public String getNeighborhood()
                       throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'neighborhood' property value

Specified by:
getNeighborhood in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.neighborhoodProperty

setNeighborhood

public void setNeighborhood(String neighborhood)
                     throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'neighborhood' property value

Specified by:
setNeighborhood in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.neighborhoodProperty

getZip

public String getZip()
              throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Gets the 'zip' property value

Specified by:
getZip in interface Location
Returns:
String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.zipProperty

setZip

public void setZip(String zip)
            throws com.ibm.adtech.jastor.JastorException
Description copied from interface: Location
Sets the 'zip' property value

Specified by:
setZip in interface Location
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
Location.zipProperty

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