|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.RelativePosition
public class RelativePosition
The RelativePosition object contains information about the direction, distance and travel time to/from a facility (hotel, car rental location, or airport) or to/from a designated location. 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="RelativePositionType">
<xs:complexContent>
<xs:extension base="ns:TransportationsType">
<xs:attributeGroup ref="ns:RelativePositionGroup"/>
<xs:attribute type="xs:boolean" use="optional" name="Nearest"/>
<xs:attribute type="xs:string" use="optional" name="IndexPointCode"/>
<xs:attribute type="xs:string" use="optional" name="Name"/>
<xs:attribute type="xs:boolean" use="optional" name="PrimaryIndicator"/>
<xs:attribute use="optional" name="ToFrom">
<xs:simpleType>
<!-- Reference to inner class ToFrom -->
</xs:simpleType>
</xs:attribute>
<xs:attribute type="xs:boolean" use="optional" name="ApproximateDistanceInd"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TransportationsType">
<xs:sequence>
<xs:element type="ns:TransportationType" name="Transportations" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RelativePositionGroup">
<xs:attribute type="xs:string" use="optional" name="Direction"/>
<xs:attribute type="xs:string" use="optional" name="Distance"/>
<xs:attribute type="ns:DistanceUnitNameType" use="optional" name="DistanceUnitName"/>
<xs:attribute type="xs:string" use="optional" name="UnitOfMeasureCode"/>
</xs:attributeGroup>
| Nested Class Summary | |
|---|---|
static class |
RelativePosition.ToFrom
Schema fragment(s) for this class: |
| Constructor Summary | |
|---|---|
RelativePosition()
|
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getApproximateDistanceInd()
Get the 'ApproximateDistanceInd' attribute value. |
java.lang.String |
getDirection()
Get the 'Direction' attribute value. |
java.lang.String |
getDistance()
Get the 'Distance' attribute value. |
DistanceUnitName |
getDistanceUnitName()
Get the 'DistanceUnitName' attribute value. |
java.lang.String |
getIndexPointCode()
Get the 'IndexPointCode' attribute value. |
java.lang.String |
getName()
Get the 'Name' attribute value. |
java.lang.Boolean |
getNearest()
Get the 'Nearest' attribute value. |
java.lang.Boolean |
getPrimaryIndicator()
Get the 'PrimaryIndicator' attribute value. |
RelativePosition.ToFrom |
getToFrom()
Get the 'ToFrom' attribute value. |
Transportation |
getTransportations()
Get the 'Transportations' element value. |
java.lang.String |
getUnitOfMeasureCode()
Get the 'UnitOfMeasureCode' attribute value. |
void |
setApproximateDistanceInd(java.lang.Boolean approximateDistanceInd)
Set the 'ApproximateDistanceInd' attribute value. |
void |
setDirection(java.lang.String direction)
Set the 'Direction' attribute value. |
void |
setDistance(java.lang.String distance)
Set the 'Distance' attribute value. |
void |
setDistanceUnitName(DistanceUnitName distanceUnitName)
Set the 'DistanceUnitName' attribute value. |
void |
setIndexPointCode(java.lang.String indexPointCode)
Set the 'IndexPointCode' attribute value. |
void |
setName(java.lang.String name)
Set the 'Name' attribute value. |
void |
setNearest(java.lang.Boolean nearest)
Set the 'Nearest' attribute value. |
void |
setPrimaryIndicator(java.lang.Boolean primaryIndicator)
Set the 'PrimaryIndicator' attribute value. |
void |
setToFrom(RelativePosition.ToFrom toFrom)
Set the 'ToFrom' attribute value. |
void |
setTransportations(Transportation transportations)
Set the 'Transportations' element value. |
void |
setUnitOfMeasureCode(java.lang.String unitOfMeasureCode)
Set the 'UnitOfMeasureCode' attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelativePosition()
| Method Detail |
|---|
public Transportation getTransportations()
public void setTransportations(Transportation transportations)
transportations - public java.lang.String getDirection()
public void setDirection(java.lang.String direction)
direction - public java.lang.String getDistance()
public void setDistance(java.lang.String distance)
distance - public DistanceUnitName getDistanceUnitName()
public void setDistanceUnitName(DistanceUnitName distanceUnitName)
distanceUnitName - public java.lang.String getUnitOfMeasureCode()
public void setUnitOfMeasureCode(java.lang.String unitOfMeasureCode)
unitOfMeasureCode - public java.lang.Boolean getNearest()
public void setNearest(java.lang.Boolean nearest)
nearest - public java.lang.String getIndexPointCode()
public void setIndexPointCode(java.lang.String indexPointCode)
indexPointCode - public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.Boolean getPrimaryIndicator()
public void setPrimaryIndicator(java.lang.Boolean primaryIndicator)
primaryIndicator - public RelativePosition.ToFrom getToFrom()
public void setToFrom(RelativePosition.ToFrom toFrom)
toFrom - public java.lang.Boolean getApproximateDistanceInd()
public void setApproximateDistanceInd(java.lang.Boolean approximateDistanceInd)
approximateDistanceInd -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||