com.qualcommlabs.usercontext.protocol
Class PlaceEvent

java.lang.Object
  extended by com.qualcommlabs.usercontext.protocol.PlaceEvent
All Implemented Interfaces:
Serializable

public class PlaceEvent
extends Object
implements Serializable

The Class PlaceEvent.

See Also:
Serialized Form

Field Summary
static String PLACE_EVENT_TYPE_AT
          The Constant PLACE_EVENT_TYPE_AT.
static String PLACE_EVENT_TYPE_LEFT
          The Constant PLACE_EVENT_TYPE_LEFT.
static String PLACE_TYPE_ORGANIZATION
          The Constant PLACE_TYPE_ORGANIZATION.
static String PLACE_TYPE_PERSONAL
          The Constant PLACE_TYPE_PERSONAL.
 
Constructor Summary
PlaceEvent()
          Instantiates a new place event.
PlaceEvent(Long placeId, String name, String type, Long time, String placeType)
          Deprecated. 
 
Method Summary
 String getEventType()
          Gets the event type.
 String getName()
          It is recommended to use the getPlaceName() on the place returned by getPlace() instead.
 Place getPlace()
          Gets the place associated with the place event
 Long getPlaceId()
          It is recommended to use the getId() on the place returned by getPlace() instead.
 String getPlaceType()
          Gets the place type.
 Long getTime()
          Gets the time.
 void setEventType(String eventType)
          Sets the event type.
 void setName(String name)
          Sets the name.
 void setPlace(Place place)
          Sets the place for the place event
 void setPlaceId(Long placeId)
          Sets the place id.
 void setPlaceType(String placeType)
          Sets the place type.
 void setTime(Long time)
          Sets the time.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLACE_TYPE_PERSONAL

public static final String PLACE_TYPE_PERSONAL
The Constant PLACE_TYPE_PERSONAL.


PLACE_TYPE_ORGANIZATION

public static final String PLACE_TYPE_ORGANIZATION
The Constant PLACE_TYPE_ORGANIZATION.


PLACE_EVENT_TYPE_AT

public static final String PLACE_EVENT_TYPE_AT
The Constant PLACE_EVENT_TYPE_AT.

See Also:
Constant Field Values

PLACE_EVENT_TYPE_LEFT

public static final String PLACE_EVENT_TYPE_LEFT
The Constant PLACE_EVENT_TYPE_LEFT.

See Also:
Constant Field Values
Constructor Detail

PlaceEvent

public PlaceEvent()
Instantiates a new place event.


PlaceEvent

@Deprecated
public PlaceEvent(Long placeId,
                             String name,
                             String type,
                             Long time,
                             String placeType)
Deprecated. 

Parameters:
placeId - the place id
name - the name
type - the type
time - the time
placeType - the place type
Method Detail

getEventType

public String getEventType()
Gets the event type.

Returns:
the event type

setEventType

public void setEventType(String eventType)
Sets the event type.

Parameters:
eventType - the new event type

getTime

public Long getTime()
Gets the time.

Returns:
the time

setTime

public void setTime(Long time)
Sets the time.

Parameters:
time - the new time

getPlace

public Place getPlace()
Gets the place associated with the place event

Returns:
the place associated with the place event

setPlace

public void setPlace(Place place)
Sets the place for the place event

Parameters:
place -

getPlaceType

public String getPlaceType()
Gets the place type.

Returns:
the place type

setPlaceType

public void setPlaceType(String placeType)
Sets the place type.

Parameters:
placeType - the new place type

getPlaceId

public Long getPlaceId()
It is recommended to use the getId() on the place returned by getPlace() instead. Gets the place id.

Returns:
the place id

setPlaceId

public void setPlaceId(Long placeId)
Sets the place id.

Parameters:
placeId - the new place id

getName

public String getName()
It is recommended to use the getPlaceName() on the place returned by getPlace() instead. Gets the name.

Returns:
the name

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Qualcomm Retail Solutions, Inc.. All Rights Reserved.