org.ota.vehicle
Class RateRuleNotifRQ

java.lang.Object
  extended by org.ota.vehicle.RateRuleNotifRQ

public class RateRuleNotifRQ
extends java.lang.Object

This message pushes rate rules. The information pushed may establish this rule initially in a database and/or update the information that currently exists. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_VehRateRuleNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="Rules">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Rule" maxOccurs="999">
               <!-- Reference to inner class Rule -->
             </xs:element>
           </xs:sequence>
           <xs:attribute type="xs:int" use="optional" name="RuleQuantity"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ReqRespVersion"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion">
   <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class RateRuleNotifRQ.Rule
          Rule detail information.
 
Constructor Summary
RateRuleNotifRQ()
           
 
Method Summary
 void addRule(RateRuleNotifRQ.Rule item)
          Add a 'Rule' element item.
 void clearRules()
          Remove all 'Rule' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 RateRuleNotifRQ.Rule getRule(int index)
          Get 'Rule' element item by position.
 java.util.List<RateRuleNotifRQ.Rule> getRules()
          Get the list of 'Rule' element items.
 java.lang.Integer getRulesRuleQuantity()
          Get the 'RuleQuantity' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 void setRules(java.util.List<RateRuleNotifRQ.Rule> list)
          Set the list of 'Rule' element items.
 void setRulesRuleQuantity(java.lang.Integer rulesRuleQuantity)
          Set the 'RuleQuantity' attribute value.
 int sizeRules()
          Get the number of 'Rule' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateRuleNotifRQ

public RateRuleNotifRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. To specify who is sending the vehicle location details database information.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. To specify who is sending the vehicle location details database information.

Parameters:
POS -

getRules

public java.util.List<RateRuleNotifRQ.Rule> getRules()
Get the list of 'Rule' element items. A collection of rules.

Returns:
list

setRules

public void setRules(java.util.List<RateRuleNotifRQ.Rule> list)
Set the list of 'Rule' element items. A collection of rules.

Parameters:
list -

sizeRules

public int sizeRules()
Get the number of 'Rule' element items.

Returns:
count

addRule

public void addRule(RateRuleNotifRQ.Rule item)
Add a 'Rule' element item.

Parameters:
item -

getRule

public RateRuleNotifRQ.Rule getRule(int index)
Get 'Rule' element item by position.

Parameters:
index -
Returns:
item

clearRules

public void clearRules()
Remove all 'Rule' element items.


getRulesRuleQuantity

public java.lang.Integer getRulesRuleQuantity()
Get the 'RuleQuantity' attribute value. The count of car locations being sent in this message.

Returns:
value

setRulesRuleQuantity

public void setRulesRuleQuantity(java.lang.Integer rulesRuleQuantity)
Set the 'RuleQuantity' attribute value. The count of car locations being sent in this message.

Parameters:
rulesRuleQuantity -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getReqRespVersion

public java.lang.String getReqRespVersion()
Get the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Returns:
value

setReqRespVersion

public void setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Parameters:
reqRespVersion -