org.ota.rail
Class PriceRule

java.lang.Object
  extended by org.ota.rail.PriceRule

public class PriceRule
extends java.lang.Object

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="PriceRuleType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" use="required" name="Type"/>
       <xs:attribute type="xs:string" use="optional" name="Value"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Constructor Summary
PriceRule()
           
 
Method Summary
 java.lang.String getString()
          Get the extension value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 java.lang.String getValue()
          Get the 'Value' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 void setValue(java.lang.String value)
          Set the 'Value' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceRule

public PriceRule()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getType

public java.lang.String getType()
Get the 'Type' attribute value.

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value.

Parameters:
type -

getValue

public java.lang.String getValue()
Get the 'Value' attribute value. Where applicable, a qualifying value for the price rule, e.g. 2 for minimum occupancy or Adult.

Returns:
value

setValue

public void setValue(java.lang.String value)
Set the 'Value' attribute value. Where applicable, a qualifying value for the price rule, e.g. 2 for minimum occupancy or Adult.

Parameters:
value -