Enum StatusWS
- java.lang.Object
-
- java.lang.Enum<StatusWS>
-
- ch.aeis.exchange.web.ws.exchange_1_0.StatusWS
-
- All Implemented Interfaces:
Serializable
,Comparable<StatusWS>
public enum StatusWS extends Enum<StatusWS>
- Author:
- Rainer Alföldi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONE
Sender has acknowledged receipt.PENDING_ACK
Document has been retrieved by recipient at least once.PENDING_DELIVERY
Document has been submitted, confirmed and is waiting to be delivered to recipientPENDING_RECEIPT
Document was retrieved and acknowledged by recipient.SUBMITTED
Document has been submitted but not yet confirmed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatusWS
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusWS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBMITTED
public static final StatusWS SUBMITTED
Document has been submitted but not yet confirmed.
-
PENDING_DELIVERY
public static final StatusWS PENDING_DELIVERY
Document has been submitted, confirmed and is waiting to be delivered to recipient
-
PENDING_ACK
public static final StatusWS PENDING_ACK
Document has been retrieved by recipient at least once. Retrieval has not yet been acknowledged.
-
PENDING_RECEIPT
public static final StatusWS PENDING_RECEIPT
Document was retrieved and acknowledged by recipient. Receipt may be sent to Sender.
-
DONE
public static final StatusWS DONE
Sender has acknowledged receipt. Document is done.
-
-
Method Detail
-
values
public static StatusWS[] 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 (StatusWS c : StatusWS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatusWS 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 nameNullPointerException
- if the argument is null
-
-