Dekoh platform API

com.pramati.bfly.das.contacts.persistence
Class Location

java.lang.Object
  extended by LocationDO
      extended by com.pramati.bfly.das.contacts.persistence.Location

public class Location
extends LocationDO

Location represents the address of a Contact. use Contact.addLocation(Location) for adding a new Location to a Contact.

Since:
14 Feb, 2007

Constructor Summary
Location()
          To create a Location with empty Address1/Address2/City/State/Country and pincode.
Location(String address1, String address2, String city, String state, String country, String pinCode, String longitude, String latitude, LocationType type)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location()
To create a Location with empty Address1/Address2/City/State/Country and pincode. Developers are adviced no use this api for creating a Location instance, Instead should use Location.Location(String,String,String,String,String,String,String,String,LocationType)


Location

public Location(String address1,
                String address2,
                String city,
                String state,
                String country,
                String pinCode,
                String longitude,
                String latitude,
                LocationType type)
Parameters:
address1 - Address1 of the contact
address2 - Address2 of the contact
city - city of the contact
state - state of the contact
country - country of the contact
pinCode - pincode of the contact
longitude -
latitude -
type - type of the contact

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers