|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.FareRuleResponseInfo
public class FareRuleResponseInfo
The collection of Fare Rule requests and the applicable Fare Rule categories. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareRuleResponseInfoType"> <xs:sequence> <xs:element name="FareRuleInfo"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:FareInfoType"> <xs:attribute type="xs:string" use="optional" name="LanguageRequested"/> <xs:attribute type="xs:string" use="optional" name="LanguageReturned"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:element type="ns:FormattedTextType" name="FareRules"/> <xs:element name="Routing" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class Routing --> </xs:element> <xs:element name="AdvisoryInfo" minOccurs="0" maxOccurs="15"> <!-- Reference to inner class AdvisoryInfo --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
FareRuleResponseInfo.AdvisoryInfo
Advisory information that applies to all the rule information. |
static class |
FareRuleResponseInfo.Routing
Specifies the routing for all the fares. |
Constructor Summary | |
---|---|
FareRuleResponseInfo()
|
Method Summary | |
---|---|
void |
addAdvisoryInfo(FareRuleResponseInfo.AdvisoryInfo item)
Add a 'AdvisoryInfo' element item. |
void |
addRouting(FareRuleResponseInfo.Routing item)
Add a 'Routing' element item. |
void |
clearAdvisoryInfos()
Remove all 'AdvisoryInfo' element items. |
void |
clearRoutings()
Remove all 'Routing' element items. |
FareRuleResponseInfo.AdvisoryInfo |
getAdvisoryInfo(int index)
Get 'AdvisoryInfo' element item by position. |
java.util.List<FareRuleResponseInfo.AdvisoryInfo> |
getAdvisoryInfos()
Get the list of 'AdvisoryInfo' element items. |
FareInfo |
getFareRuleInfoFareInfo()
Get the extension value. |
java.lang.String |
getFareRuleInfoLanguageRequested()
Get the 'LanguageRequested' attribute value. |
java.lang.String |
getFareRuleInfoLanguageReturned()
Get the 'LanguageReturned' attribute value. |
FormattedText |
getFareRules()
Get the 'FareRules' element value. |
FareRuleResponseInfo.Routing |
getRouting(int index)
Get 'Routing' element item by position. |
java.util.List<FareRuleResponseInfo.Routing> |
getRoutings()
Get the list of 'Routing' element items. |
void |
setAdvisoryInfos(java.util.List<FareRuleResponseInfo.AdvisoryInfo> list)
Set the list of 'AdvisoryInfo' element items. |
void |
setFareRuleInfoFareInfo(FareInfo fareRuleInfoFareInfo)
Set the extension value. |
void |
setFareRuleInfoLanguageRequested(java.lang.String fareRuleInfoLanguageRequested)
Set the 'LanguageRequested' attribute value. |
void |
setFareRuleInfoLanguageReturned(java.lang.String fareRuleInfoLanguageReturned)
Set the 'LanguageReturned' attribute value. |
void |
setFareRules(FormattedText fareRules)
Set the 'FareRules' element value. |
void |
setRoutings(java.util.List<FareRuleResponseInfo.Routing> list)
Set the list of 'Routing' element items. |
int |
sizeAdvisoryInfos()
Get the number of 'AdvisoryInfo' element items. |
int |
sizeRoutings()
Get the number of 'Routing' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FareRuleResponseInfo()
Method Detail |
---|
public FareInfo getFareRuleInfoFareInfo()
public void setFareRuleInfoFareInfo(FareInfo fareRuleInfoFareInfo)
fareRuleInfoFareInfo
- public java.lang.String getFareRuleInfoLanguageRequested()
public void setFareRuleInfoLanguageRequested(java.lang.String fareRuleInfoLanguageRequested)
fareRuleInfoLanguageRequested
- public java.lang.String getFareRuleInfoLanguageReturned()
public void setFareRuleInfoLanguageReturned(java.lang.String fareRuleInfoLanguageReturned)
fareRuleInfoLanguageReturned
- public FormattedText getFareRules()
public void setFareRules(FormattedText fareRules)
fareRules
- public java.util.List<FareRuleResponseInfo.Routing> getRoutings()
public void setRoutings(java.util.List<FareRuleResponseInfo.Routing> list)
list
- public int sizeRoutings()
public void addRouting(FareRuleResponseInfo.Routing item)
item
- public FareRuleResponseInfo.Routing getRouting(int index)
index
-
public void clearRoutings()
public java.util.List<FareRuleResponseInfo.AdvisoryInfo> getAdvisoryInfos()
public void setAdvisoryInfos(java.util.List<FareRuleResponseInfo.AdvisoryInfo> list)
list
- public int sizeAdvisoryInfos()
public void addAdvisoryInfo(FareRuleResponseInfo.AdvisoryInfo item)
item
- public FareRuleResponseInfo.AdvisoryInfo getAdvisoryInfo(int index)
index
-
public void clearAdvisoryInfos()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |