org.ota.shared
Enum OriginalIssueAttributes.CheckInhibitor

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

public static enum OriginalIssueAttributes.CheckInhibitor
extends java.lang.Enum<OriginalIssueAttributes.CheckInhibitor>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="CheckDigit"/>
     <xs:enumeration value="InterlineAgreement"/>
     <xs:enumeration value="Both"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
BOTH
          Neither the ticket number check digit nor the interline agreement needs to be checked.
CHECK_DIGIT
          The CheckDigit of the TicketNumber does not need to be verified.
INTERLINE_AGREEMENT
          No automatic interline agreement check needs to be performed on the ticket to be reissued.
 
Method Summary
static OriginalIssueAttributes.CheckInhibitor convert(java.lang.String value)
           
 java.lang.String toString()
           
static OriginalIssueAttributes.CheckInhibitor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OriginalIssueAttributes.CheckInhibitor[] 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

CHECK_DIGIT

public static final OriginalIssueAttributes.CheckInhibitor CHECK_DIGIT
The CheckDigit of the TicketNumber does not need to be verified.


INTERLINE_AGREEMENT

public static final OriginalIssueAttributes.CheckInhibitor INTERLINE_AGREEMENT
No automatic interline agreement check needs to be performed on the ticket to be reissued.


BOTH

public static final OriginalIssueAttributes.CheckInhibitor BOTH
Neither the ticket number check digit nor the interline agreement needs to be checked.

Method Detail

values

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

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

valueOf

public static OriginalIssueAttributes.CheckInhibitor 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<OriginalIssueAttributes.CheckInhibitor>

convert

public static OriginalIssueAttributes.CheckInhibitor convert(java.lang.String value)