org.ota.air
Enum FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment

java.lang.Object
  extended by java.lang.Enum<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment>
      extended by org.ota.air.FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment>
Enclosing class:
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo

public static enum FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment
extends java.lang.Enum<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="NoComment"/>
     <xs:enumeration value="AllYear"/>
     <xs:enumeration value="MoreSeasonsInRule"/>
     <xs:enumeration value="PastDate"/>
     <xs:enumeration value="UnableToDisplaySeason"/>
     <xs:enumeration value="NewFare"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
ALL_YEAR
          The information applies to all year.
MORE_SEASONS_IN_RULE
          There is more seasonal information in the rules
NEW_FARE
          This is a new fare for the season.
NO_COMMENT
          There is no comment information for the season.
PAST_DATE
          The season has already passed.
UNABLE_TO_DISPLAY_SEASON
          Specifies that the season information cannot be displayed.
 
Method Summary
static FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment convert(java.lang.String value)
           
 java.lang.String toString()
           
static FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment[] 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

NO_COMMENT

public static final FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment NO_COMMENT
There is no comment information for the season.


ALL_YEAR

public static final FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment ALL_YEAR
The information applies to all year.


MORE_SEASONS_IN_RULE

public static final FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment MORE_SEASONS_IN_RULE
There is more seasonal information in the rules


PAST_DATE

public static final FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment PAST_DATE
The season has already passed.


UNABLE_TO_DISPLAY_SEASON

public static final FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment UNABLE_TO_DISPLAY_SEASON
Specifies that the season information cannot be displayed.


NEW_FARE

public static final FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment NEW_FARE
This is a new fare for the season.

Method Detail

values

public static FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment[] 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 (FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment c : FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment.values())
    System.out.println(c);

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

valueOf

public static FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment 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<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment>

convert

public static FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment convert(java.lang.String value)