framework
Class POIInformation

java.lang.Object
  extended by framework.POIInformation
Direct Known Subclasses:
KindergartenPOIInfo

public class POIInformation
extends java.lang.Object

POIInformation.java

Contains a POI's key information that is not related to coordinates.

Use setExtraPopupInfo() to set any extra infomation to be drawn in the popup of a POI in a map


Constructor Summary
POIInformation(java.lang.String name, java.lang.String streetAddress, java.lang.String postCode, java.lang.String postAddress)
          Constructor POIInformation
 
Method Summary
 java.lang.String getExtraPopupInfo()
          Gets extra info about the POI, to be drawn in a popup.
 java.lang.String getName()
           
 java.lang.String getPostAddress()
           
 java.lang.String getPostCode()
           
 java.lang.String getStreetAddress()
           
 void setExtraPopupInfo(java.lang.String extraPopupInfo)
          Sets the extra POI info to be drawn in a popup.
 void setName(java.lang.String name)
          Sets the name of the POI.
 void setPostAddress(java.lang.String postAddress)
          Sets the post address of the POI.
 void setPostCode(java.lang.String postCode)
          Sets the post code of the POI.
 void setStreetAddress(java.lang.String streetAddress)
          Sets the street address of the POI.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POIInformation

public POIInformation(java.lang.String name,
                      java.lang.String streetAddress,
                      java.lang.String postCode,
                      java.lang.String postAddress)
Constructor POIInformation

Parameters:
name - Name of the POI
streetAddress - The street address of the POI
postCode - The POI's post-/zipcode
postAddress - The POI's post address
Method Detail

getName

public java.lang.String getName()
Returns:
name of the POI

setName

public void setName(java.lang.String name)
Sets the name of the POI.

Parameters:
name - name of the POI

getStreetAddress

public java.lang.String getStreetAddress()
Returns:
the street address of the POI

setStreetAddress

public void setStreetAddress(java.lang.String streetAddress)
Sets the street address of the POI.

Parameters:
streetAddress - the street address of the POI

getPostAddress

public java.lang.String getPostAddress()
Returns:
the post address of the POI

setPostAddress

public void setPostAddress(java.lang.String postAddress)
Sets the post address of the POI.

Parameters:
postAddress - the post address of the POI

getPostCode

public java.lang.String getPostCode()
Returns:
the postcode of the POI

setPostCode

public void setPostCode(java.lang.String postCode)
Sets the post code of the POI.

Parameters:
postCode - the post code of the POI

getExtraPopupInfo

public java.lang.String getExtraPopupInfo()
Gets extra info about the POI, to be drawn in a popup.

Returns:
the string with extra info about the POI

setExtraPopupInfo

public void setExtraPopupInfo(java.lang.String extraPopupInfo)
Sets the extra POI info to be drawn in a popup.

Parameters:
extraPopupInfo - the extra info about the POI