ibspan.tss.domain.ontology.location
Class LocationFactory

java.lang.Object
  extended by com.ibm.adtech.jastor.ThingFactory
      extended by ibspan.tss.domain.ontology.location.LocationFactory

public class LocationFactory
extends com.ibm.adtech.jastor.ThingFactory

Factory for instantiating objects for ontology classes in the Location ontology. The get methods leave the model unchanged and return a Java view of the object in the model. The create methods may add certain baseline properties to the model such as rdf:type and any properties with hasValue restrictions.

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


RDF Schema Standard Properties
comment : Domain ontology of general Location concept for Travel Support System.^^http://www.w3.org/2001/XMLSchema#string

Dublin Core Standard Properties
creator : Michal Szymczak^^http://www.w3.org/2001/XMLSchema#string
title : Domain ontology of general Location concept for Travel Support System.^^http://www.w3.org/2001/XMLSchema#string
rights : (c) 2006 Michal Szymczak^^http://www.w3.org/2001/XMLSchema#string
identifier : http://www.ibspan.waw.pl/tss/Location^^http://www.w3.org/2001/XMLSchema#string
date : 2006-08-22^^http://www.w3.org/2001/XMLSchema#string
contributor : Maciej Gawinecki, e-mail: maciej.gawinecki@ibspan.waw.pl^^http://www.w3.org/2001/XMLSchema#string

Version:
TODO: ^^http://www.w3.org/2001/XMLSchema#string

Field Summary
 
Fields inherited from class com.ibm.adtech.jastor.ThingFactory
copyright, listeners, objects
 
Constructor Summary
LocationFactory()
           
 
Method Summary
static AttractionCategoryCode createAttractionCategoryCode(Resource resource, Model model)
          Create a new instance of AttractionCategoryCode.
static AttractionCategoryCode createAttractionCategoryCode(String uri, Model model)
          Create a new instance of AttractionCategoryCode.
static IndexPointCode createIndexPointCode(Resource resource, Model model)
          Create a new instance of IndexPointCode.
static IndexPointCode createIndexPointCode(String uri, Model model)
          Create a new instance of IndexPointCode.
static Location createLocation(Resource resource, Model model)
          Create a new instance of Location.
static Location createLocation(String uri, Model model)
          Create a new instance of Location.
static LocationCategoryCode createLocationCategoryCode(Resource resource, Model model)
          Create a new instance of LocationCategoryCode.
static LocationCategoryCode createLocationCategoryCode(String uri, Model model)
          Create a new instance of LocationCategoryCode.
static AttractionCategoryCode getAirportAttraction(Model model)
          Get an AirportAttraction individual.
static IndexPointCode getAirportIndexPoint(Model model)
          Get an AirportIndexPoint individual.
static LocationCategoryCode getAirportLocation(Model model)
          Get an AirportLocation individual.
static List getAllAttractionCategoryCode(Model model)
          Return an instance of AttractionCategoryCode for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#AttractionCategoryCode
static List getAllIndexPointCode(Model model)
          Return an instance of IndexPointCode for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#IndexPointCode
static List getAllLocation(Model model)
          Return an instance of Location for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#Location
static List getAllLocationCategoryCode(Model model)
          Return an instance of LocationCategoryCode for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#LocationCategoryCode
static AttractionCategoryCode getAmusementParkAttraction(Model model)
          Get an AmusementParkAttraction individual.
static AttractionCategoryCode getAquariumAttraction(Model model)
          Get an AquariumAttraction individual.
static AttractionCategoryCode getAttractionCategoryCode(Resource resource, Model model)
          Create a new instance of AttractionCategoryCode.
static AttractionCategoryCode getAttractionCategoryCode(String uri, Model model)
          Create a new instance of AttractionCategoryCode.
static AttractionCategoryCode getAuditoriumAttraction(Model model)
          Get an AuditoriumAttraction individual.
static AttractionCategoryCode getBeachAttraction(Model model)
          Get an BeachAttraction individual.
static LocationCategoryCode getBeachfrontLocation(Model model)
          Get an BeachfrontLocation individual.
static LocationCategoryCode getBeachLocation(Model model)
          Get an BeachLocation individual.
static AttractionCategoryCode getBoatDockAttraction(Model model)
          Get an BoatDockAttraction individual.
static AttractionCategoryCode getBridgeAttraction(Model model)
          Get an BridgeAttraction individual.
static AttractionCategoryCode getBusinessLocationAttraction(Model model)
          Get an BusinessLocationAttraction individual.
static AttractionCategoryCode getBusStationAttraction(Model model)
          Get an BusStationAttraction individual.
static AttractionCategoryCode getCanalAttraction(Model model)
          Get an CanalAttraction individual.
static AttractionCategoryCode getCarRentalLocationAttraction(Model model)
          Get an CarRentalLocationAttraction individual.
static AttractionCategoryCode getCasinoAttraction(Model model)
          Get an CasinoAttraction individual.
static AttractionCategoryCode getCemeteryAttraction(Model model)
          Get an CemeteryAttraction individual.
static AttractionCategoryCode getChurchAttraction(Model model)
          Get an ChurchAttraction individual.
static AttractionCategoryCode getCityCenterAttraction(Model model)
          Get an CityCenterAttraction individual.
static AttractionCategoryCode getCityDowntownAttraction(Model model)
          Get an CityDowntownAttraction individual.
static AttractionCategoryCode getCityEventAttraction(Model model)
          Get an CityEventAttraction individual.
static IndexPointCode getCityIndexPoint(Model model)
          Get an CityIndexPoint individual.
static LocationCategoryCode getCityLocation(Model model)
          Get an CityLocation individual.
static AttractionCategoryCode getCollegeAttraction(Model model)
          Get an CollegeAttraction individual.
static AttractionCategoryCode getConcertHallAttraction(Model model)
          Get an ConcertHallAttraction individual.
static AttractionCategoryCode getConferenceCenterAttraction(Model model)
          Get an ConferenceCenterAttraction individual.
static AttractionCategoryCode getConventionCenterAttraction(Model model)
          Get an ConventionCenterAttraction individual.
static IndexPointCode getCrossStreetIndexPoint(Model model)
          Get an CrossStreetIndexPoint individual.
static LocationCategoryCode getDowntownLocation(Model model)
          Get an DowntownLocation individual.
static LocationCategoryCode getEastLocation(Model model)
          Get an EastLocation individual.
static AttractionCategoryCode getEntertainmentDistrictAttraction(Model model)
          Get an EntertainmentDistrictAttraction individual.
static LocationCategoryCode getExpresswayLocation(Model model)
          Get an ExpresswayLocation individual.
static AttractionCategoryCode getFactoryAttraction(Model model)
          Get an FactoryAttraction individual.
static AttractionCategoryCode getFairgroundAttraction(Model model)
          Get an FairgroundAttraction individual.
static AttractionCategoryCode getFarmAttraction(Model model)
          Get an FarmAttraction individual.
static AttractionCategoryCode getFestivalAttraction(Model model)
          Get an FestivalAttraction individual.
static AttractionCategoryCode getGalleryAttraction(Model model)
          Get an GalleryAttraction individual.
static LocationCategoryCode getGulfLocation(Model model)
          Get an GulfLocation individual.
static IndexPointCode getHighwayExitIndexPoint(Model model)
          Get an HighwayExitIndexPoint individual.
static IndexPointCode getHighwayIndexPoint(Model model)
          Get an HighwayIndexPoint individual.
static AttractionCategoryCode getHistoricBuildingAttraction(Model model)
          Get an HistoricBuildingAttraction individual.
static AttractionCategoryCode getHospitalAttraction(Model model)
          Get an HospitalAttraction individual.
static IndexPointCode getIndexPointCode(Resource resource, Model model)
          Create a new instance of IndexPointCode.
static IndexPointCode getIndexPointCode(String uri, Model model)
          Create a new instance of IndexPointCode.
static IndexPointCode getIntersectionIndexPoint(Model model)
          Get an IntersectionIndexPoint individual.
static AttractionCategoryCode getLakeAttraction(Model model)
          Get an LakeAttraction individual.
static LocationCategoryCode getLakeLocation(Model model)
          Get an LakeLocation individual.
static AttractionCategoryCode getLandmarkAttraction(Model model)
          Get an LandmarkAttraction individual.
static AttractionCategoryCode getLibraryAttraction(Model model)
          Get an LibraryAttraction individual.
static AttractionCategoryCode getLocalCompanyAttraction(Model model)
          Get an LocalCompanyAttraction individual.
static Location getLocation(Resource resource, Model model)
          Create a new instance of Location.
static Location getLocation(String uri, Model model)
          Create a new instance of Location.
static LocationCategoryCode getLocationCategoryCode(Resource resource, Model model)
          Create a new instance of LocationCategoryCode.
static LocationCategoryCode getLocationCategoryCode(String uri, Model model)
          Create a new instance of LocationCategoryCode.
static AttractionCategoryCode getMarinaAttraction(Model model)
          Get an MarinaAttraction individual.
static AttractionCategoryCode getMarketAttraction(Model model)
          Get an MarketAttraction individual.
static AttractionCategoryCode getMonumentAttraction(Model model)
          Get an MonumentAttraction individual.
static AttractionCategoryCode getMountainAttraction(Model model)
          Get an MountainAttraction individual.
static LocationCategoryCode getMountainLocation(Model model)
          Get an MountainLocation individual.
static AttractionCategoryCode getMuseumAttraction(Model model)
          Get an MuseumAttraction individual.
static AttractionCategoryCode getNightlifeAttraction(Model model)
          Get an NightlifeAttraction individual.
static LocationCategoryCode getNorthLocation(Model model)
          Get an NorthLocation individual.
static AttractionCategoryCode getOceanAttraction(Model model)
          Get an OceanAttraction individual.
static LocationCategoryCode getOceanfrontLocation(Model model)
          Get an OceanfrontLocation individual.
static AttractionCategoryCode getOrchardAttraction(Model model)
          Get an OrchardAttraction individual.
static AttractionCategoryCode getOtherAttraction(Model model)
          Get an OtherAttraction individual.
static AttractionCategoryCode getPalaceAttraction(Model model)
          Get an PalaceAttraction individual.
static AttractionCategoryCode getParkAttraction(Model model)
          Get an ParkAttraction individual.
static AttractionCategoryCode getPierAttraction(Model model)
          Get an PierAttraction individual.
static AttractionCategoryCode getRaceTrackAttraction(Model model)
          Get an RaceTrackAttraction individual.
static IndexPointCode getRailStationIndexPoint(Model model)
          Get an RailStationIndexPoint individual.
static AttractionCategoryCode getRecreationCenterAttraction(Model model)
          Get an RecreationCenterAttraction individual.
static AttractionCategoryCode getResortAttraction(Model model)
          Get an ResortAttraction individual.
static LocationCategoryCode getResortLocation(Model model)
          Get an ResortLocation individual.
static AttractionCategoryCode getRestaurantAttraction(Model model)
          Get an RestaurantAttraction individual.
static AttractionCategoryCode getRiverAttraction(Model model)
          Get an RiverAttraction individual.
static LocationCategoryCode getRuralLocation(Model model)
          Get an RuralLocation individual.
static AttractionCategoryCode getSchoolAttraction(Model model)
          Get an SchoolAttraction individual.
static AttractionCategoryCode getShoppingAttraction(Model model)
          Get an ShoppingAttraction individual.
static AttractionCategoryCode getShoppingMallAttraction(Model model)
          Get an ShoppingMallAttraction individual.
static AttractionCategoryCode getSkiAreaAttraction(Model model)
          Get an SkiAreaAttraction individual.
static LocationCategoryCode getSouthLocation(Model model)
          Get an SouthLocation individual.
static AttractionCategoryCode getSportsAttraction(Model model)
          Get an SportsAttraction individual.
static AttractionCategoryCode getStadiumAttraction(Model model)
          Get an StadiumAttraction individual.
static AttractionCategoryCode getStoreAttraction(Model model)
          Get an StoreAttraction individual.
static AttractionCategoryCode getStudioAttraction(Model model)
          Get an StudioAttraction individual.
static LocationCategoryCode getSuburbanLocation(Model model)
          Get an SuburbanLocation individual.
static AttractionCategoryCode getSubwayStationAttraction(Model model)
          Get an SubwayStationAttraction individual.
static IndexPointCode getSubwayStationIndexPoint(Model model)
          Get an SubwayStationIndexPoint individual.
static AttractionCategoryCode getTheaterAttraction(Model model)
          Get an TheaterAttraction individual.
static com.ibm.adtech.jastor.Thing getThing(Resource res, Model model)
          Returns an instance of an interface for the given Resource.
static com.ibm.adtech.jastor.Thing getThing(String uri, Model model)
          Returns an instance of an interface for the given Resource URI.
static AttractionCategoryCode getTourAttraction(Model model)
          Get an TourAttraction individual.
static AttractionCategoryCode getTournamentAttraction(Model model)
          Get an TournamentAttraction individual.
static AttractionCategoryCode getTrainStationAttraction(Model model)
          Get an TrainStationAttraction individual.
static AttractionCategoryCode getTrolleyStationAttraction(Model model)
          Get an TrolleyStationAttraction individual.
static AttractionCategoryCode getUniversityAttraction(Model model)
          Get an UniversityAttraction individual.
static AttractionCategoryCode getWaterfrontAttraction(Model model)
          Get an WaterfrontAttraction individual.
static AttractionCategoryCode getWaterParkAttraction(Model model)
          Get an WaterParkAttraction individual.
static LocationCategoryCode getWestLocation(Model model)
          Get an WestLocation individual.
static AttractionCategoryCode getWineryAttraction(Model model)
          Get an WineryAttraction individual.
static AttractionCategoryCode getZooAttraction(Model model)
          Get an ZooAttraction individual.
static List listCompatibleInterfaces(Resource type)
          Return a list of compatible interfaces for the given type.
 
Methods inherited from class com.ibm.adtech.jastor.ThingFactory
clearCache, clearCaches, createThing, createThing, registerThing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationFactory

public LocationFactory()
Method Detail

createLocation

public static Location createLocation(Resource resource,
                                      Model model)
                               throws com.ibm.adtech.jastor.JastorException
Create a new instance of Location. Adds the rdf:type property for the given resource to the model.

Parameters:
resource - The resource of the Location
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

createLocation

public static Location createLocation(String uri,
                                      Model model)
                               throws com.ibm.adtech.jastor.JastorException
Create a new instance of Location. Adds the rdf:type property for the given resource to the model.

Parameters:
uri - The uri of the Location
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getLocation

public static Location getLocation(String uri,
                                   Model model)
                            throws com.ibm.adtech.jastor.JastorException
Create a new instance of Location. Leaves the model unchanged.

Parameters:
uri - The uri of the Location
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getLocation

public static Location getLocation(Resource resource,
                                   Model model)
                            throws com.ibm.adtech.jastor.JastorException
Create a new instance of Location. Leaves the model unchanged.

Parameters:
resource - The resource of the Location
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getAllLocation

public static List getAllLocation(Model model)
                           throws com.ibm.adtech.jastor.JastorException
Return an instance of Location for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#Location

Parameters:
model - the Jena Model
Returns:
a List of Location
Throws:
com.ibm.adtech.jastor.JastorException

createIndexPointCode

public static IndexPointCode createIndexPointCode(Resource resource,
                                                  Model model)
                                           throws com.ibm.adtech.jastor.JastorException
Create a new instance of IndexPointCode. Adds the rdf:type property for the given resource to the model.

Parameters:
resource - The resource of the IndexPointCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

createIndexPointCode

public static IndexPointCode createIndexPointCode(String uri,
                                                  Model model)
                                           throws com.ibm.adtech.jastor.JastorException
Create a new instance of IndexPointCode. Adds the rdf:type property for the given resource to the model.

Parameters:
uri - The uri of the IndexPointCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getIndexPointCode

public static IndexPointCode getIndexPointCode(String uri,
                                               Model model)
                                        throws com.ibm.adtech.jastor.JastorException
Create a new instance of IndexPointCode. Leaves the model unchanged.

Parameters:
uri - The uri of the IndexPointCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getIndexPointCode

public static IndexPointCode getIndexPointCode(Resource resource,
                                               Model model)
                                        throws com.ibm.adtech.jastor.JastorException
Create a new instance of IndexPointCode. Leaves the model unchanged.

Parameters:
resource - The resource of the IndexPointCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getHighwayExitIndexPoint

public static IndexPointCode getHighwayExitIndexPoint(Model model)
                                               throws com.ibm.adtech.jastor.JastorException
Get an HighwayExitIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCityIndexPoint

public static IndexPointCode getCityIndexPoint(Model model)
                                        throws com.ibm.adtech.jastor.JastorException
Get an CityIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSubwayStationIndexPoint

public static IndexPointCode getSubwayStationIndexPoint(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an SubwayStationIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getHighwayIndexPoint

public static IndexPointCode getHighwayIndexPoint(Model model)
                                           throws com.ibm.adtech.jastor.JastorException
Get an HighwayIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAirportIndexPoint

public static IndexPointCode getAirportIndexPoint(Model model)
                                           throws com.ibm.adtech.jastor.JastorException
Get an AirportIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getIntersectionIndexPoint

public static IndexPointCode getIntersectionIndexPoint(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an IntersectionIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCrossStreetIndexPoint

public static IndexPointCode getCrossStreetIndexPoint(Model model)
                                               throws com.ibm.adtech.jastor.JastorException
Get an CrossStreetIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getRailStationIndexPoint

public static IndexPointCode getRailStationIndexPoint(Model model)
                                               throws com.ibm.adtech.jastor.JastorException
Get an RailStationIndexPoint individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of IndexPointCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAllIndexPointCode

public static List getAllIndexPointCode(Model model)
                                 throws com.ibm.adtech.jastor.JastorException
Return an instance of IndexPointCode for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#IndexPointCode

Parameters:
model - the Jena Model
Returns:
a List of IndexPointCode
Throws:
com.ibm.adtech.jastor.JastorException

createAttractionCategoryCode

public static AttractionCategoryCode createAttractionCategoryCode(Resource resource,
                                                                  Model model)
                                                           throws com.ibm.adtech.jastor.JastorException
Create a new instance of AttractionCategoryCode. Adds the rdf:type property for the given resource to the model.

Parameters:
resource - The resource of the AttractionCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

createAttractionCategoryCode

public static AttractionCategoryCode createAttractionCategoryCode(String uri,
                                                                  Model model)
                                                           throws com.ibm.adtech.jastor.JastorException
Create a new instance of AttractionCategoryCode. Adds the rdf:type property for the given resource to the model.

Parameters:
uri - The uri of the AttractionCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getAttractionCategoryCode

public static AttractionCategoryCode getAttractionCategoryCode(String uri,
                                                               Model model)
                                                        throws com.ibm.adtech.jastor.JastorException
Create a new instance of AttractionCategoryCode. Leaves the model unchanged.

Parameters:
uri - The uri of the AttractionCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getAttractionCategoryCode

public static AttractionCategoryCode getAttractionCategoryCode(Resource resource,
                                                               Model model)
                                                        throws com.ibm.adtech.jastor.JastorException
Create a new instance of AttractionCategoryCode. Leaves the model unchanged.

Parameters:
resource - The resource of the AttractionCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getStadiumAttraction

public static AttractionCategoryCode getStadiumAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an StadiumAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getStoreAttraction

public static AttractionCategoryCode getStoreAttraction(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an StoreAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSubwayStationAttraction

public static AttractionCategoryCode getSubwayStationAttraction(Model model)
                                                         throws com.ibm.adtech.jastor.JastorException
Get an SubwayStationAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCityDowntownAttraction

public static AttractionCategoryCode getCityDowntownAttraction(Model model)
                                                        throws com.ibm.adtech.jastor.JastorException
Get an CityDowntownAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getTheaterAttraction

public static AttractionCategoryCode getTheaterAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an TheaterAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getPierAttraction

public static AttractionCategoryCode getPierAttraction(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an PierAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getBusStationAttraction

public static AttractionCategoryCode getBusStationAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an BusStationAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getRaceTrackAttraction

public static AttractionCategoryCode getRaceTrackAttraction(Model model)
                                                     throws com.ibm.adtech.jastor.JastorException
Get an RaceTrackAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCityCenterAttraction

public static AttractionCategoryCode getCityCenterAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an CityCenterAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getMarinaAttraction

public static AttractionCategoryCode getMarinaAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an MarinaAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCityEventAttraction

public static AttractionCategoryCode getCityEventAttraction(Model model)
                                                     throws com.ibm.adtech.jastor.JastorException
Get an CityEventAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getTrainStationAttraction

public static AttractionCategoryCode getTrainStationAttraction(Model model)
                                                        throws com.ibm.adtech.jastor.JastorException
Get an TrainStationAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getNightlifeAttraction

public static AttractionCategoryCode getNightlifeAttraction(Model model)
                                                     throws com.ibm.adtech.jastor.JastorException
Get an NightlifeAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getWaterParkAttraction

public static AttractionCategoryCode getWaterParkAttraction(Model model)
                                                     throws com.ibm.adtech.jastor.JastorException
Get an WaterParkAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getFactoryAttraction

public static AttractionCategoryCode getFactoryAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an FactoryAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getBusinessLocationAttraction

public static AttractionCategoryCode getBusinessLocationAttraction(Model model)
                                                            throws com.ibm.adtech.jastor.JastorException
Get an BusinessLocationAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getMonumentAttraction

public static AttractionCategoryCode getMonumentAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an MonumentAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getEntertainmentDistrictAttraction

public static AttractionCategoryCode getEntertainmentDistrictAttraction(Model model)
                                                                 throws com.ibm.adtech.jastor.JastorException
Get an EntertainmentDistrictAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getZooAttraction

public static AttractionCategoryCode getZooAttraction(Model model)
                                               throws com.ibm.adtech.jastor.JastorException
Get an ZooAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSkiAreaAttraction

public static AttractionCategoryCode getSkiAreaAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an SkiAreaAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getWineryAttraction

public static AttractionCategoryCode getWineryAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an WineryAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCemeteryAttraction

public static AttractionCategoryCode getCemeteryAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an CemeteryAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getTrolleyStationAttraction

public static AttractionCategoryCode getTrolleyStationAttraction(Model model)
                                                          throws com.ibm.adtech.jastor.JastorException
Get an TrolleyStationAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCasinoAttraction

public static AttractionCategoryCode getCasinoAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an CasinoAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCanalAttraction

public static AttractionCategoryCode getCanalAttraction(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an CanalAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSportsAttraction

public static AttractionCategoryCode getSportsAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an SportsAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getRiverAttraction

public static AttractionCategoryCode getRiverAttraction(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an RiverAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSchoolAttraction

public static AttractionCategoryCode getSchoolAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an SchoolAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getGalleryAttraction

public static AttractionCategoryCode getGalleryAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an GalleryAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getOceanAttraction

public static AttractionCategoryCode getOceanAttraction(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an OceanAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getParkAttraction

public static AttractionCategoryCode getParkAttraction(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an ParkAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getMarketAttraction

public static AttractionCategoryCode getMarketAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an MarketAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getUniversityAttraction

public static AttractionCategoryCode getUniversityAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an UniversityAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCollegeAttraction

public static AttractionCategoryCode getCollegeAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an CollegeAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getConferenceCenterAttraction

public static AttractionCategoryCode getConferenceCenterAttraction(Model model)
                                                            throws com.ibm.adtech.jastor.JastorException
Get an ConferenceCenterAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAquariumAttraction

public static AttractionCategoryCode getAquariumAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an AquariumAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAmusementParkAttraction

public static AttractionCategoryCode getAmusementParkAttraction(Model model)
                                                         throws com.ibm.adtech.jastor.JastorException
Get an AmusementParkAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getRestaurantAttraction

public static AttractionCategoryCode getRestaurantAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an RestaurantAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getMuseumAttraction

public static AttractionCategoryCode getMuseumAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an MuseumAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getResortAttraction

public static AttractionCategoryCode getResortAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an ResortAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getMountainAttraction

public static AttractionCategoryCode getMountainAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an MountainAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getLocalCompanyAttraction

public static AttractionCategoryCode getLocalCompanyAttraction(Model model)
                                                        throws com.ibm.adtech.jastor.JastorException
Get an LocalCompanyAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getWaterfrontAttraction

public static AttractionCategoryCode getWaterfrontAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an WaterfrontAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getHospitalAttraction

public static AttractionCategoryCode getHospitalAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an HospitalAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getLandmarkAttraction

public static AttractionCategoryCode getLandmarkAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an LandmarkAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getChurchAttraction

public static AttractionCategoryCode getChurchAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an ChurchAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getTournamentAttraction

public static AttractionCategoryCode getTournamentAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an TournamentAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getFestivalAttraction

public static AttractionCategoryCode getFestivalAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an FestivalAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getOrchardAttraction

public static AttractionCategoryCode getOrchardAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an OrchardAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getRecreationCenterAttraction

public static AttractionCategoryCode getRecreationCenterAttraction(Model model)
                                                            throws com.ibm.adtech.jastor.JastorException
Get an RecreationCenterAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getShoppingMallAttraction

public static AttractionCategoryCode getShoppingMallAttraction(Model model)
                                                        throws com.ibm.adtech.jastor.JastorException
Get an ShoppingMallAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getBoatDockAttraction

public static AttractionCategoryCode getBoatDockAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an BoatDockAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getPalaceAttraction

public static AttractionCategoryCode getPalaceAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an PalaceAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getHistoricBuildingAttraction

public static AttractionCategoryCode getHistoricBuildingAttraction(Model model)
                                                            throws com.ibm.adtech.jastor.JastorException
Get an HistoricBuildingAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getConventionCenterAttraction

public static AttractionCategoryCode getConventionCenterAttraction(Model model)
                                                            throws com.ibm.adtech.jastor.JastorException
Get an ConventionCenterAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getBeachAttraction

public static AttractionCategoryCode getBeachAttraction(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an BeachAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getShoppingAttraction

public static AttractionCategoryCode getShoppingAttraction(Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Get an ShoppingAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getConcertHallAttraction

public static AttractionCategoryCode getConcertHallAttraction(Model model)
                                                       throws com.ibm.adtech.jastor.JastorException
Get an ConcertHallAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getTourAttraction

public static AttractionCategoryCode getTourAttraction(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an TourAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getBridgeAttraction

public static AttractionCategoryCode getBridgeAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an BridgeAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getLibraryAttraction

public static AttractionCategoryCode getLibraryAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an LibraryAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getFairgroundAttraction

public static AttractionCategoryCode getFairgroundAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an FairgroundAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getLakeAttraction

public static AttractionCategoryCode getLakeAttraction(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an LakeAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getOtherAttraction

public static AttractionCategoryCode getOtherAttraction(Model model)
                                                 throws com.ibm.adtech.jastor.JastorException
Get an OtherAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCarRentalLocationAttraction

public static AttractionCategoryCode getCarRentalLocationAttraction(Model model)
                                                             throws com.ibm.adtech.jastor.JastorException
Get an CarRentalLocationAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getFarmAttraction

public static AttractionCategoryCode getFarmAttraction(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an FarmAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAuditoriumAttraction

public static AttractionCategoryCode getAuditoriumAttraction(Model model)
                                                      throws com.ibm.adtech.jastor.JastorException
Get an AuditoriumAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAirportAttraction

public static AttractionCategoryCode getAirportAttraction(Model model)
                                                   throws com.ibm.adtech.jastor.JastorException
Get an AirportAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getStudioAttraction

public static AttractionCategoryCode getStudioAttraction(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an StudioAttraction individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of AttractionCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAllAttractionCategoryCode

public static List getAllAttractionCategoryCode(Model model)
                                         throws com.ibm.adtech.jastor.JastorException
Return an instance of AttractionCategoryCode for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#AttractionCategoryCode

Parameters:
model - the Jena Model
Returns:
a List of AttractionCategoryCode
Throws:
com.ibm.adtech.jastor.JastorException

createLocationCategoryCode

public static LocationCategoryCode createLocationCategoryCode(Resource resource,
                                                              Model model)
                                                       throws com.ibm.adtech.jastor.JastorException
Create a new instance of LocationCategoryCode. Adds the rdf:type property for the given resource to the model.

Parameters:
resource - The resource of the LocationCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

createLocationCategoryCode

public static LocationCategoryCode createLocationCategoryCode(String uri,
                                                              Model model)
                                                       throws com.ibm.adtech.jastor.JastorException
Create a new instance of LocationCategoryCode. Adds the rdf:type property for the given resource to the model.

Parameters:
uri - The uri of the LocationCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getLocationCategoryCode

public static LocationCategoryCode getLocationCategoryCode(String uri,
                                                           Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Create a new instance of LocationCategoryCode. Leaves the model unchanged.

Parameters:
uri - The uri of the LocationCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getLocationCategoryCode

public static LocationCategoryCode getLocationCategoryCode(Resource resource,
                                                           Model model)
                                                    throws com.ibm.adtech.jastor.JastorException
Create a new instance of LocationCategoryCode. Leaves the model unchanged.

Parameters:
resource - The resource of the LocationCategoryCode
model - the Jena Model.
Throws:
com.ibm.adtech.jastor.JastorException

getBeachLocation

public static LocationCategoryCode getBeachLocation(Model model)
                                             throws com.ibm.adtech.jastor.JastorException
Get an BeachLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getWestLocation

public static LocationCategoryCode getWestLocation(Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Get an WestLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getRuralLocation

public static LocationCategoryCode getRuralLocation(Model model)
                                             throws com.ibm.adtech.jastor.JastorException
Get an RuralLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getLakeLocation

public static LocationCategoryCode getLakeLocation(Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Get an LakeLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getDowntownLocation

public static LocationCategoryCode getDowntownLocation(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an DowntownLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getGulfLocation

public static LocationCategoryCode getGulfLocation(Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Get an GulfLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSuburbanLocation

public static LocationCategoryCode getSuburbanLocation(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an SuburbanLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getExpresswayLocation

public static LocationCategoryCode getExpresswayLocation(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an ExpresswayLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getNorthLocation

public static LocationCategoryCode getNorthLocation(Model model)
                                             throws com.ibm.adtech.jastor.JastorException
Get an NorthLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getResortLocation

public static LocationCategoryCode getResortLocation(Model model)
                                              throws com.ibm.adtech.jastor.JastorException
Get an ResortLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getBeachfrontLocation

public static LocationCategoryCode getBeachfrontLocation(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an BeachfrontLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getCityLocation

public static LocationCategoryCode getCityLocation(Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Get an CityLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getEastLocation

public static LocationCategoryCode getEastLocation(Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Get an EastLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getOceanfrontLocation

public static LocationCategoryCode getOceanfrontLocation(Model model)
                                                  throws com.ibm.adtech.jastor.JastorException
Get an OceanfrontLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getMountainLocation

public static LocationCategoryCode getMountainLocation(Model model)
                                                throws com.ibm.adtech.jastor.JastorException
Get an MountainLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getSouthLocation

public static LocationCategoryCode getSouthLocation(Model model)
                                             throws com.ibm.adtech.jastor.JastorException
Get an SouthLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAirportLocation

public static LocationCategoryCode getAirportLocation(Model model)
                                               throws com.ibm.adtech.jastor.JastorException
Get an AirportLocation individual. If individual does not exist in the model it is created by adding rdf:type property and all other properties forming this individual.

Parameters:
model - The Jena Model.
Returns:
Instance of LocationCategoryCode.
Throws:
com.ibm.adtech.jastor.JastorException

getAllLocationCategoryCode

public static List getAllLocationCategoryCode(Model model)
                                       throws com.ibm.adtech.jastor.JastorException
Return an instance of LocationCategoryCode for every resource in the model with rdf:Type http://www.ibspan.waw.pl/tss/Location#LocationCategoryCode

Parameters:
model - the Jena Model
Returns:
a List of LocationCategoryCode
Throws:
com.ibm.adtech.jastor.JastorException

getThing

public static com.ibm.adtech.jastor.Thing getThing(Resource res,
                                                   Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Returns an instance of an interface for the given Resource. The return instance is guaranteed to implement the most specific interface in *some* hierarchy in which the Resource participates. The behavior is unspecified for resources with RDF types from different hierarchies.

Returns:
an instance of Thing
Throws:
com.ibm.adtech.jastor.JastorException

getThing

public static com.ibm.adtech.jastor.Thing getThing(String uri,
                                                   Model model)
                                            throws com.ibm.adtech.jastor.JastorException
Returns an instance of an interface for the given Resource URI. The return instance is guaranteed to implement the most specific interface in *some* hierarchy in which the Resource participates. The behavior is unspecified for resources with RDF types from different hierarchies.

Returns:
an instance of Thing
Throws:
com.ibm.adtech.jastor.JastorException

listCompatibleInterfaces

public static List listCompatibleInterfaces(Resource type)
Return a list of compatible interfaces for the given type. Searches through all ontology classes in the Location ontology. The list is sorted according to the topological sort of the class hierarchy

Returns:
a List of type java.lang.Class