com.skype
Class SMS.TargetStatus

java.lang.Object
  extended by com.skype.SMS.TargetStatus
Enclosing class:
SMS

public static final class SMS.TargetStatus
extends Object

Inner class to determine the target status.


Nested Class Summary
static class SMS.TargetStatus.Status
          Enumeration of SMS target status.
 
Method Summary
 boolean equals(Object compared)
          Compare based on the ID numbers and not Objects or references.
 String getNumber()
          Return the ID of this target status.
 SMS.TargetStatus.Status getStatus()
          Return the status of this target status.
 int hashCode()
          Overridden to provide ID number as hashcode.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hashCode

public int hashCode()
Overridden to provide ID number as hashcode.

Overrides:
hashCode in class Object
Returns:
number + status as hashcode.

equals

public boolean equals(Object compared)
Compare based on the ID numbers and not Objects or references.

Overrides:
equals in class Object
Parameters:
compared - The object to compare this SMS to.
Returns:
true if number are equal.

getNumber

public String getNumber()
Return the ID of this target status.

Returns:
number of this target status.

getStatus

public SMS.TargetStatus.Status getStatus()
Return the status of this target status.

Returns:
status.


Copyright © 2004-2011. All Rights Reserved.