ibspan.tss.domain.ontology.location
Interface Location

All Superinterfaces:
com.ibm.adtech.jastor.Thing
All Known Subinterfaces:
Restaurant
All Known Implementing Classes:
LocationImpl, RestaurantImpl

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

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

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





Field Summary
static Property attractionCategoryProperty
          The Jena Property for attractionCategory (URI: http://www.ibspan.waw.pl/tss/Location#attractionCategory)
static Property cityProperty
          The Jena Property for city (URI: http://www.ibspan.waw.pl/tss/Location#city)
static Property countryProperty
          The Jena Property for country (URI: http://www.ibspan.waw.pl/tss/Location#country)
static Property crossStreetProperty
          The Jena Property for crossStreet (URI: http://www.ibspan.waw.pl/tss/Location#crossStreet)
static Property faxProperty
          The Jena Property for fax (URI: http://www.ibspan.waw.pl/tss/Location#fax)
static Property indexPointProperty
          The Jena Property for indexPoint (URI: http://www.ibspan.waw.pl/tss/Location#indexPoint)
static Property locationCategoryProperty
          The Jena Property for locationCategory (URI: http://www.ibspan.waw.pl/tss/Location#locationCategory)
static Property locationPathProperty
          The Jena Property for locationPath (URI: http://www.ibspan.waw.pl/tss/Location#locationPath)
static Property neighborhoodProperty
          The Jena Property for neighborhood (URI: http://www.ibspan.waw.pl/tss/Location#neighborhood)
static Property phoneProperty
          The Jena Property for phone (URI: http://www.ibspan.waw.pl/tss/Location#phone)
static Property stateProperty
          The Jena Property for state (URI: http://www.ibspan.waw.pl/tss/Location#state)
static Property streetAddressProperty
          The Jena Property for streetAddress (URI: http://www.ibspan.waw.pl/tss/Location#streetAddress)
static Resource TYPE
          The rdf:type for this ontology class
static Property zipProperty
          The Jena Property for zip (URI: http://www.ibspan.waw.pl/tss/Location#zip)
 
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
 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
 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
 void removeAttractionCategory(AttractionCategoryCode attractionCategory)
          Removes a value for the 'attractionCategory' property.
 void removeCrossStreet(String crossStreet)
          Remove a 'crossStreet' property value.
 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
 
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


indexPointProperty

static final Property indexPointProperty
The Jena Property for indexPoint

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



locationPathProperty

static final Property locationPathProperty
The Jena Property for locationPath

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



cityProperty

static final Property cityProperty
The Jena Property for city

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



crossStreetProperty

static final Property crossStreetProperty
The Jena Property for crossStreet

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



attractionCategoryProperty

static final Property attractionCategoryProperty
The Jena Property for attractionCategory

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



locationCategoryProperty

static final Property locationCategoryProperty
The Jena Property for locationCategory

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



streetAddressProperty

static final Property streetAddressProperty
The Jena Property for streetAddress

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



countryProperty

static final Property countryProperty
The Jena Property for country

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



faxProperty

static final Property faxProperty
The Jena Property for fax

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



stateProperty

static final Property stateProperty
The Jena Property for state

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



phoneProperty

static final Property phoneProperty
The Jena Property for phone

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



neighborhoodProperty

static final Property neighborhoodProperty
The Jena Property for neighborhood

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



zipProperty

static final Property zipProperty
The Jena Property for zip

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


Method Detail

getIndexPoint

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

Returns:
Iterator of IndexPointCode
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
indexPointProperty

addIndexPoint

void addIndexPoint(IndexPointCode indexPoint)
                   throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'indexPoint' property

Parameters:
The - IndexPointCode to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
indexPointProperty

addIndexPoint

IndexPointCode addIndexPoint()
                             throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'indexPoint' property

Returns:
The anoymous IndexPointCode created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
indexPointProperty

addIndexPoint

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

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

removeIndexPoint

void removeIndexPoint(IndexPointCode indexPoint)
                      throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
The - IndexPointCode to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
indexPointProperty

getLocationPath

String getLocationPath()
                       throws com.ibm.adtech.jastor.JastorException
Gets the 'locationPath' property value

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

setLocationPath

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

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

getCity

String getCity()
               throws com.ibm.adtech.jastor.JastorException
Gets the 'city' property value

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

setCity

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

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

getCrossStreet

Iterator getCrossStreet()
                        throws com.ibm.adtech.jastor.JastorException
Iterates through the 'crossStreet' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
crossStreetProperty

addCrossStreet

void addCrossStreet(String crossStreet)
                    throws com.ibm.adtech.jastor.JastorException
Add a 'crossStreet' property value

Parameters:
{@link - java.lang.String}, the value to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
crossStreetProperty

removeCrossStreet

void removeCrossStreet(String crossStreet)
                       throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
{@link - java.lang.String}, the value to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
crossStreetProperty

getAttractionCategory

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

Returns:
Iterator of AttractionCategoryCode
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
attractionCategoryProperty

addAttractionCategory

void addAttractionCategory(AttractionCategoryCode attractionCategory)
                           throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'attractionCategory' property

Parameters:
The - AttractionCategoryCode to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
attractionCategoryProperty

addAttractionCategory

AttractionCategoryCode addAttractionCategory()
                                             throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'attractionCategory' property

Returns:
The anoymous AttractionCategoryCode created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
attractionCategoryProperty

addAttractionCategory

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

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

removeAttractionCategory

void removeAttractionCategory(AttractionCategoryCode attractionCategory)
                              throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
The - AttractionCategoryCode to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
attractionCategoryProperty

getLocationCategory

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

Returns:
Iterator of LocationCategoryCode
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
locationCategoryProperty

addLocationCategory

void addLocationCategory(LocationCategoryCode locationCategory)
                         throws com.ibm.adtech.jastor.JastorException
Adds a value for the 'locationCategory' property

Parameters:
The - LocationCategoryCode to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
locationCategoryProperty

addLocationCategory

LocationCategoryCode addLocationCategory()
                                         throws com.ibm.adtech.jastor.JastorException
Adds an anonymous value for the 'locationCategory' property

Returns:
The anoymous LocationCategoryCode created
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
locationCategoryProperty

addLocationCategory

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

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

removeLocationCategory

void removeLocationCategory(LocationCategoryCode locationCategory)
                            throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
The - LocationCategoryCode to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
locationCategoryProperty

getStreetAddress

String getStreetAddress()
                        throws com.ibm.adtech.jastor.JastorException
Gets the 'streetAddress' property value

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

setStreetAddress

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

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

getCountry

String getCountry()
                  throws com.ibm.adtech.jastor.JastorException
Gets the 'country' property value

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

setCountry

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

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

getFax

String getFax()
              throws com.ibm.adtech.jastor.JastorException
Gets the 'fax' property value

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

setFax

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

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

getState

String getState()
                throws com.ibm.adtech.jastor.JastorException
Gets the 'state' property value

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

setState

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

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

getPhone

Iterator getPhone()
                  throws com.ibm.adtech.jastor.JastorException
Iterates through the 'phone' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of String
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
phoneProperty

addPhone

void addPhone(String phone)
              throws com.ibm.adtech.jastor.JastorException
Add a 'phone' property value

Parameters:
{@link - java.lang.String}, the value to add
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
phoneProperty

removePhone

void removePhone(String phone)
                 throws com.ibm.adtech.jastor.JastorException
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.

Parameters:
{@link - java.lang.String}, the value to remove
Throws:
com.ibm.adtech.jastor.JastorException
See Also:
phoneProperty

getNeighborhood

String getNeighborhood()
                       throws com.ibm.adtech.jastor.JastorException
Gets the 'neighborhood' property value

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

setNeighborhood

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

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

getZip

String getZip()
              throws com.ibm.adtech.jastor.JastorException
Gets the 'zip' property value

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

setZip

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

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