|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.qualcommlabs.usercontext.protocol.PlaceEvent
public class PlaceEvent
The Class PlaceEvent.
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 |
---|
public static final String PLACE_TYPE_PERSONAL
public static final String PLACE_TYPE_ORGANIZATION
public static final String PLACE_EVENT_TYPE_AT
public static final String PLACE_EVENT_TYPE_LEFT
Constructor Detail |
---|
public PlaceEvent()
@Deprecated public PlaceEvent(Long placeId, String name, String type, Long time, String placeType)
placeId
- the place idname
- the nametype
- the typetime
- the timeplaceType
- the place typeMethod Detail |
---|
public String getEventType()
public void setEventType(String eventType)
eventType
- the new event typepublic Long getTime()
public void setTime(Long time)
time
- the new timepublic Place getPlace()
public void setPlace(Place place)
place
- public String getPlaceType()
public void setPlaceType(String placeType)
placeType
- the new place typepublic Long getPlaceId()
public void setPlaceId(Long placeId)
placeId
- the new place idpublic String getName()
public void setName(String name)
name
- the new namepublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |