com.veriplace.client
Class PointOfInterest
java.lang.Object
com.veriplace.client.Position
com.veriplace.client.PointOfInterest
public class PointOfInterest
- extends Position
Describes a geographic point of interest, such as a business or a landmark.
- Since:
- 2.7
|
Constructor Summary |
PointOfInterest(java.lang.String name,
java.lang.String category,
Position position,
java.lang.String phoneNumber)
|
|
Method Summary |
java.lang.String |
getCategory()
The human-readable name of a general category for this point of interest,
e.g. |
java.lang.String |
getName()
The human-readable name (e.g. |
java.lang.String |
getPhoneNumber()
A telephone number for this point of interest, if available. |
| Methods inherited from class com.veriplace.client.Position |
getAddressLine, getCity, getCountryCode, getLatitude, getLongitude, getNeighborhood, getPostal, getState, getStreet, getStreet2, getUncertainty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PointOfInterest
public PointOfInterest(java.lang.String name,
java.lang.String category,
Position position,
java.lang.String phoneNumber)
getName
public java.lang.String getName()
- The human-readable name (e.g. business name).
getCategory
public java.lang.String getCategory()
- The human-readable name of a general category for this point of interest,
e.g. "Restaurants".
getPhoneNumber
public java.lang.String getPhoneNumber()
- A telephone number for this point of interest, if available.