de.geomobile.joined.api.data
Class Message

java.lang.Object
  extended by de.geomobile.joined.api.data.Message

public class Message
extends Object

This class contains various methods for receiving information about a text message.


Constructor Summary
Message(String recipient, String id, int direction, String content, long time, Place place)
           
 
Method Summary
 String getContent()
           
 int getDirection()
           
 String getId()
           
 String getMode()
           
 Place getPlace()
           
 String getSender()
           
 long getTime()
           
 void setContent(String content)
           
 void setDirection(int direction)
           
 void setId(String id)
           
 void setMode(String mode)
           
 void setPlace(Place place)
           
 void setRecipient(String recipient)
           
 void setTime(long time)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message(String recipient,
               String id,
               int direction,
               String content,
               long time,
               Place place)
Parameters:
recipient - The sender of the message.
id - The internal identifier for the message.
direction -
content -
time -
place -
Method Detail

getSender

public String getSender()
Returns:

setRecipient

public void setRecipient(String recipient)
Parameters:
recipient -

getId

public String getId()
Returns:

setId

public void setId(String id)
Parameters:
id -

getDirection

public int getDirection()
Returns:

setDirection

public void setDirection(int direction)
Parameters:
direction -

getContent

public String getContent()
Returns:

setContent

public void setContent(String content)
Parameters:
content -

getMode

public String getMode()
Returns:

setMode

public void setMode(String mode)
Parameters:
mode -

getTime

public long getTime()
Returns:

setTime

public void setTime(long time)
Parameters:
time -

getPlace

public Place getPlace()
Returns:

setPlace

public void setPlace(Place place)
Parameters:
place -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 GeoMobile GmbH. All Rights Reserved.