Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.spatial.yp
Interface YPBusiness

All Superinterfaces:
Location, Point, java.io.Serializable
All Known Subinterfaces:
ExtendedYPBusiness

public interface YPBusiness
extends Location, Point

This interface defines a business with location (including business name), telephone number and description.


Method Summary
 YPCategory[] getCategories()
          This returns a list of categories for the business.
 java.lang.String getDescription()
          This returns the description of the business.
 java.lang.String getTelephone()
          This returns the telephone number of the business.
 ProviderCredit getYPProvider()
           
 void setYPProvider(ProviderCredit credit)
           

 

Methods inherited from interface oracle.panama.model.Location
geocode, getAddressLastLine, getAddressLine1, getAddressLine2, getBlock, getCity, getCompanyName, getCountry, getCounty, getGeocodeProvider, getMatchMode, getPostalCode, getPostalCodeExt, getState, setAddressLastLine, setAddressLine1, setAddressLine2, setBlock, setCity, setCompanyName, setCountry, setCounty, setGeocodeProvider, setMatchMode, setPostalCode, setPostalCodeExt, setState

 

Methods inherited from interface oracle.panama.model.Point
getDistance, getLabel, getLatitude, getLongitude, getPositionProvider, getRadius, setLabel, setLatitude, setLongitude, setPositionProvider, setRadius

 

Method Detail

getTelephone

public java.lang.String getTelephone()
This returns the telephone number of the business.
Returns:
a String representing the telephone number

getDescription

public java.lang.String getDescription()
This returns the description of the business.
Returns:
a String representing the description

getCategories

public YPCategory[] getCategories()
This returns a list of categories for the business.
Returns:
an array of YPCategory representing the categories of the business

getYPProvider

public ProviderCredit getYPProvider()

setYPProvider

public void setYPProvider(ProviderCredit credit)

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.