agentland.device.phone
Class PhonecallInfo

java.lang.Object
  |
  +--agentland.device.phone.PhonecallInfo
All Implemented Interfaces:
Comparable, Serializable

public class PhonecallInfo
extends Object
implements Serializable, Comparable

PhonecallInfo.java Created: Tue Nov 21 23:32:41 2000

See Also:
Serialized Form

Field Summary
static int ANSWERED
           
static int MISSED
           
static String[] statusNames
           
 
Constructor Summary
PhonecallInfo()
           
PhonecallInfo(long time, int status)
           
PhonecallInfo(long time, int status, String from)
           
 
Method Summary
 int compareTo(Object o)
           
 int getStatus()
          Get the value of status.
 long getTime()
          Get the call time.
 void setStatus(int v)
          Set the value of status.
 void setTime(long v)
          Set the call time.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANSWERED

public static final int ANSWERED

MISSED

public static final int MISSED

statusNames

public static final String[] statusNames
Constructor Detail

PhonecallInfo

public PhonecallInfo()

PhonecallInfo

public PhonecallInfo(long time,
                     int status)

PhonecallInfo

public PhonecallInfo(long time,
                     int status,
                     String from)
Method Detail

getStatus

public int getStatus()
Get the value of status.
Returns:
Value of status.

setStatus

public void setStatus(int v)
Set the value of status.
Parameters:
v - Value to assign to status.

getTime

public long getTime()
Get the call time.
Returns:
call time.

setTime

public void setTime(long v)
Set the call time.

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object