org.ota.shared
Enum OTAPayloadStdAttributes.TransactionStatusCode

java.lang.Object
  extended by java.lang.Enum<OTAPayloadStdAttributes.TransactionStatusCode>
      extended by org.ota.shared.OTAPayloadStdAttributes.TransactionStatusCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OTAPayloadStdAttributes.TransactionStatusCode>
Enclosing class:
OTAPayloadStdAttributes

public static enum OTAPayloadStdAttributes.TransactionStatusCode
extends java.lang.Enum<OTAPayloadStdAttributes.TransactionStatusCode>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Start"/>
     <xs:enumeration value="End"/>
     <xs:enumeration value="Rollback"/>
     <xs:enumeration value="InSeries"/>
     <xs:enumeration value="Continuation"/>
     <xs:enumeration value="Subsequent"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
CONTINUATION
          Specifies that this is a followup request asking for more of what was requested in the previous request.
END
          This is the last message within a transaction.
IN_SERIES
          This is any message that is not the first or last message within a transaction.
ROLLBACK
          This indicates that all messages within the current transaction must be ignored.
START
          This is the first message within a transaction.
SUBSEQUENT
          This request message is a subsequent request based on the previous message sent in this transaction.
 
Method Summary
static OTAPayloadStdAttributes.TransactionStatusCode convert(java.lang.String value)
           
 java.lang.String toString()
           
static OTAPayloadStdAttributes.TransactionStatusCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OTAPayloadStdAttributes.TransactionStatusCode[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final OTAPayloadStdAttributes.TransactionStatusCode START
This is the first message within a transaction.


END

public static final OTAPayloadStdAttributes.TransactionStatusCode END
This is the last message within a transaction.


ROLLBACK

public static final OTAPayloadStdAttributes.TransactionStatusCode ROLLBACK
This indicates that all messages within the current transaction must be ignored.


IN_SERIES

public static final OTAPayloadStdAttributes.TransactionStatusCode IN_SERIES
This is any message that is not the first or last message within a transaction.


CONTINUATION

public static final OTAPayloadStdAttributes.TransactionStatusCode CONTINUATION
Specifies that this is a followup request asking for more of what was requested in the previous request.


SUBSEQUENT

public static final OTAPayloadStdAttributes.TransactionStatusCode SUBSEQUENT
This request message is a subsequent request based on the previous message sent in this transaction.

Method Detail

values

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

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

valueOf

public static OTAPayloadStdAttributes.TransactionStatusCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<OTAPayloadStdAttributes.TransactionStatusCode>

convert

public static OTAPayloadStdAttributes.TransactionStatusCode convert(java.lang.String value)