|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||
java.lang.Objectjava.lang.Enum<AirTrip>
org.ota.air.AirTrip
public enum AirTrip
Identifies the trip type - one way, return, circle trip, open jaw Schema fragment(s) for this class:
<xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AirTripType">
<xs:restriction base="xs:string">
<xs:enumeration value="OneWay"/>
<xs:enumeration value="OneWayOnly"/>
<xs:enumeration value="Return"/>
<xs:enumeration value="Circle"/>
<xs:enumeration value="OpenJaw"/>
<xs:enumeration value="Other"/>
<xs:enumeration value="Outbound"/>
<xs:enumeration value="OutboundSeasonRoundtrip"/>
<xs:enumeration value="Non-directional"/>
<xs:enumeration value="Inbound"/>
<xs:enumeration value="Roundtrip"/>
</xs:restriction>
</xs:simpleType>
| Enum Constant Summary | |
|---|---|
CIRCLE
Identifies a circle trip type. |
|
INBOUND
The direction for the fare is inbound. |
|
NONDIRECTIONAL
There is no direction specified for the fare. |
|
ONE_WAY
Identifies a one way trip type. |
|
ONE_WAY_ONLY
Cannot be doubled to create a roundtrip. |
|
OPEN_JAW
Identifies an open jaw trip type. |
|
OTHER
Identifies an other trip type. |
|
OUTBOUND
The direction for the fare is outbound. |
|
OUTBOUND_SEASON_ROUNDTRIP
The direction for the fare is outbound seasonal roundtrip. |
|
RETURN
Identifies a return trip type. |
|
ROUNDTRIP
Identifies travel from one point to another point and return to the original point. |
|
| Method Summary | |
|---|---|
static AirTrip |
convert(java.lang.String value)
|
java.lang.String |
toString()
|
static AirTrip |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AirTrip[] |
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 |
|---|
public static final AirTrip ONE_WAY
public static final AirTrip ONE_WAY_ONLY
public static final AirTrip RETURN
public static final AirTrip CIRCLE
public static final AirTrip OPEN_JAW
public static final AirTrip OTHER
public static final AirTrip OUTBOUND
public static final AirTrip OUTBOUND_SEASON_ROUNDTRIP
public static final AirTrip NONDIRECTIONAL
public static final AirTrip INBOUND
public static final AirTrip ROUNDTRIP
| Method Detail |
|---|
public static AirTrip[] values()
for (AirTrip c : AirTrip.values()) System.out.println(c);
public static AirTrip valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<AirTrip>public static AirTrip convert(java.lang.String value)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||