com.hoiio.sdk.objects.enums
Enum FaxStatus

java.lang.Object
  extended by java.lang.Enum<FaxStatus>
      extended by com.hoiio.sdk.objects.enums.FaxStatus
All Implemented Interfaces:
Serializable, Comparable<FaxStatus>

public enum FaxStatus
extends Enum<FaxStatus>


Enum Constant Summary
ANSWERED
           
BUSY
           
FAILED
           
ONGOING
           
UNANSWERED
           
 
Method Summary
static FaxStatus fromString(String status)
          Converts the string to FaxStatus object
 String toString()
          Returns a string representation of the object
static FaxStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FaxStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANSWERED

public static final FaxStatus ANSWERED

UNANSWERED

public static final FaxStatus UNANSWERED

FAILED

public static final FaxStatus FAILED

BUSY

public static final FaxStatus BUSY

ONGOING

public static final FaxStatus ONGOING
Method Detail

values

public static FaxStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FaxStatus c : FaxStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FaxStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns a string representation of the object

Overrides:
toString in class Enum<FaxStatus>
Returns:
string representation of the object

fromString

public static FaxStatus fromString(String status)
Converts the string to FaxStatus object

Parameters:
status - The fax status in string
Returns:
FaxStatus object