Oracle Application Server Wireless Java API Reference
B14043-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()
          Returns the provider credit
 void setYPProvider(ProviderCredit credit)
          Sets the YP provider 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

getCategories

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

getDescription

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

getTelephone

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

getYPProvider

public ProviderCredit getYPProvider()
Returns the provider credit
Returns:
the provider credit

setYPProvider

public void setYPProvider(ProviderCredit credit)
Sets the YP provider credit

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.