oracle.panama.spatial.yp
Interface YPBusiness
- All Superinterfaces:
- Location, Point
- public interface YPBusiness
- extends Location, Point
This interface defines a business with location (including business name),
telephone number and description.
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 |
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)