kindergartenform
Class KindergartenPOIInfo

java.lang.Object
  extended by framework.POIInformation
      extended by kindergartenform.KindergartenPOIInfo

public class KindergartenPOIInfo
extends POIInformation

KindergartenPOIInfo.java

Contains kindergarten specificinformation. Activities have to be added by using addActivity(String timeString, String timeImage, String activity, String extendedInfo ).


Constructor Summary
KindergartenPOIInfo(java.lang.String name, java.lang.String streetAddress, java.lang.String postCode, java.lang.String postAddress, java.lang.String district, java.lang.String owner, java.lang.String focusArea, java.lang.String openingHours, java.util.Vector placeTypes)
          Constructor KindergartenPOIInfo
 
Method Summary
 void addActivity(java.lang.String timeString, java.lang.String timeImage, java.lang.String activity, java.lang.String extendedInfo)
          Adds an activitity to the kindergarten.
 java.util.Vector getActivities()
           
 java.lang.String getDistrict()
           
 java.lang.String getFocusArea()
           
 java.lang.String getOpeningHours()
           
 java.lang.String getOwner()
           
 java.util.Vector getPlaceTypes()
           
 void setDistrict(java.lang.String district)
          Sets the district of the kindergarten.
 void setFocusArea(java.lang.String focusArea)
          Sets the focus area of the kindergarten.
 void setOpeningHours(java.lang.String openingHours)
          Sets the opening hours of the kindergarten.
 void setOwner(java.lang.String owner)
          Sets the ownership of the kindergarten.
 void setPlaceTypes(java.util.Vector placeTypes)
          Sets the place types of the kindergarten.
 
Methods inherited from class framework.POIInformation
getExtraPopupInfo, getName, getPostAddress, getPostCode, getStreetAddress, setExtraPopupInfo, setName, setPostAddress, setPostCode, setStreetAddress
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KindergartenPOIInfo

public KindergartenPOIInfo(java.lang.String name,
                           java.lang.String streetAddress,
                           java.lang.String postCode,
                           java.lang.String postAddress,
                           java.lang.String district,
                           java.lang.String owner,
                           java.lang.String focusArea,
                           java.lang.String openingHours,
                           java.util.Vector placeTypes)
Constructor KindergartenPOIInfo

Parameters:
name - name of the kindergarten
streetAddress - street address of the kindergarten
postCode - post code of the kindergarten
postAddress - post address of the kindergarten
district - the district the kindergarten is situated in
owner - the owner of the kindergarten
focusArea - the focus area of the kindergarten
openingHours - the opening hours of the kindergarten
placeTypes - the place types of the kindergarten
Method Detail

getDistrict

public java.lang.String getDistrict()
Returns:
the district of the kindergarten

setDistrict

public void setDistrict(java.lang.String district)
Sets the district of the kindergarten.

Parameters:
district - the district of the kindergarten

getFocusArea

public java.lang.String getFocusArea()
Returns:
the focus area of the kindergarten

setFocusArea

public void setFocusArea(java.lang.String focusArea)
Sets the focus area of the kindergarten.

Parameters:
focusArea - the focus area of the kindergarten

getOpeningHours

public java.lang.String getOpeningHours()
Returns:
the opening hours of the kindergarten

setOpeningHours

public void setOpeningHours(java.lang.String openingHours)
Sets the opening hours of the kindergarten.

Parameters:
openingHours - the opening hours of the kindergarten

getOwner

public java.lang.String getOwner()
Returns:
the ownership of the kindergarten

setOwner

public void setOwner(java.lang.String owner)
Sets the ownership of the kindergarten.

Parameters:
owner - the ownership of the kindergarten

getPlaceTypes

public java.util.Vector getPlaceTypes()
Returns:
the place types of the kindergarten

setPlaceTypes

public void setPlaceTypes(java.util.Vector placeTypes)
Sets the place types of the kindergarten.

Parameters:
placeTypes - the place types of the kindergarten

addActivity

public void addActivity(java.lang.String timeString,
                        java.lang.String timeImage,
                        java.lang.String activity,
                        java.lang.String extendedInfo)
Adds an activitity to the kindergarten.

Parameters:
timeString - the time represented by a string
timeImage - the time represented by an icon
activity - the name of the activity
extendedInfo - the description of the activity

getActivities

public java.util.Vector getActivities()
Returns:
the activities of the kindergarten