com.jurismarches.vradi
Enum VradiConstants.SendingStatus

java.lang.Object
  extended by java.lang.Enum<VradiConstants.SendingStatus>
      extended by com.jurismarches.vradi.VradiConstants.SendingStatus
All Implemented Interfaces:
Serializable, Comparable<VradiConstants.SendingStatus>
Enclosing class:
VradiConstants

public static enum VradiConstants.SendingStatus
extends Enum<VradiConstants.SendingStatus>

Sending Status.


Enum Constant Summary
DELETED
           
ERROR
           
RECEIVED
           
SENT
           
TO_SEND
           
WAITING_RECEPTION_PROOF
           
 
Method Summary
 String getDescription()
           
static VradiConstants.SendingStatus getStatus(int i)
           
 int getValue()
           
static boolean isClosed(Sending sending)
           
static boolean isDeleted(Sending sending)
           
static boolean isInError(Sending sending)
           
static boolean isSent(Sending sending)
           
static boolean isToSend(Sending sending)
           
static boolean isWaitingReceptionProof(Sending sending)
           
static VradiConstants.SendingStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VradiConstants.SendingStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DELETED

public static final VradiConstants.SendingStatus DELETED

TO_SEND

public static final VradiConstants.SendingStatus TO_SEND

SENT

public static final VradiConstants.SendingStatus SENT

WAITING_RECEPTION_PROOF

public static final VradiConstants.SendingStatus WAITING_RECEPTION_PROOF

RECEIVED

public static final VradiConstants.SendingStatus RECEIVED

ERROR

public static final VradiConstants.SendingStatus ERROR
Method Detail

values

public static VradiConstants.SendingStatus[] 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 (VradiConstants.SendingStatus c : VradiConstants.SendingStatus.values())
    System.out.println(c);

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

valueOf

public static VradiConstants.SendingStatus 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

getDescription

public String getDescription()

getValue

public int getValue()

getStatus

public static VradiConstants.SendingStatus getStatus(int i)

isSent

public static boolean isSent(Sending sending)

isDeleted

public static boolean isDeleted(Sending sending)

isToSend

public static boolean isToSend(Sending sending)

isWaitingReceptionProof

public static boolean isWaitingReceptionProof(Sending sending)

isInError

public static boolean isInError(Sending sending)

isClosed

public static boolean isClosed(Sending sending)


Copyright © 2009-2010 JurisMarches. All Rights Reserved.