com.elibom.client
Class Message

java.lang.Object
  extended by com.elibom.client.Message

public class Message
extends Object

Author:
German Escobar

Constructor Summary
Message(org.json.JSONObject json)
           
Message(long id, long userId, String to, String operator, String from, String text, String status, String statusDetail, BigDecimal credits, Date createdAt, Date sentAt)
           
 
Method Summary
 Date getCreatedAt()
           
 BigDecimal getCredits()
           
 String getFrom()
           
 long getId()
           
 String getOperator()
           
 Date getSentAt()
           
 String getStatus()
           
 String getStatusDetail()
           
 String getText()
           
 String getTo()
           
 long getUserId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message(org.json.JSONObject json)
        throws org.json.JSONException,
               ParseException
Throws:
org.json.JSONException
ParseException

Message

public Message(long id,
               long userId,
               String to,
               String operator,
               String from,
               String text,
               String status,
               String statusDetail,
               BigDecimal credits,
               Date createdAt,
               Date sentAt)
Method Detail

getId

public long getId()

getUserId

public long getUserId()

getTo

public String getTo()

getOperator

public String getOperator()

getText

public String getText()

getStatus

public String getStatus()

getStatusDetail

public String getStatusDetail()

getCredits

public BigDecimal getCredits()

getFrom

public String getFrom()

getCreatedAt

public Date getCreatedAt()

getSentAt

public Date getSentAt()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.