de.geomobile.joined.api.data
Class JOMessage

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

public class JOMessage
extends Object

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


Constructor Summary
JOMessage(String recipient, String id, int direction, String content, long time, JOPlace place)
           
 
Method Summary
 String getContent()
           
 int getDirection()
           
 String getId()
           
 String getMode()
           
 JOPlace getPlace()
           
 String getSender()
           
 long getTime()
           
 void setContent(String content)
           
 void setDirection(int direction)
           
 void setId(String id)
           
 void setMode(String mode)
           
 void setPlace(JOPlace 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

JOMessage

public JOMessage(String recipient,
                 String id,
                 int direction,
                 String content,
                 long time,
                 JOPlace 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 JOPlace getPlace()
Returns:

setPlace

public void setPlace(JOPlace place)
Parameters:
place -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 GeoMobile GmbH. All Rights Reserved.