org.ota.rail
Class StationDetails

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

public class StationDetails
extends java.lang.Object

Operation and location details of the station. 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="StationDetailsType">
   <xs:sequence>
     <xs:element type="ns:StationType" name="Details"/>
     <xs:element type="ns:OperationSchedulesType" name="OperationSchedules" minOccurs="0"/>
     <xs:element type="ns:AddressType" name="Address" minOccurs="0"/>
     <xs:element name="Telephone" minOccurs="0" maxOccurs="5">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TelephoneGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="StationType">
   <xs:simpleContent>
     <xs:extension base="ns:LocationType">
       <xs:attribute type="xs:boolean" name="Staffed"/>
       <xs:attribute type="xs:boolean" name="TicketPrinter"/>
       <xs:attribute type="xs:boolean" name="SST_Machine"/>
       <xs:attribute type="ns:USTimeZoneType" use="optional" name="USTimeZone"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="USTimeZoneType">
   <!-- Reference to inner class USTimeZone -->
 </xs:simpleType>
 


Nested Class Summary
static class StationDetails.USTimeZone
          Identifies a time zone within the United States Schema fragment(s) for this class:
 
Constructor Summary
StationDetails()
           
 
Method Summary
 void addTelephone(TelephoneGroup item)
          Add a 'Telephone' element item.
 void clearTelephones()
          Remove all 'Telephone' element items.
 Address getAddress()
          Get the 'Address' element value.
 Location getDetailsLocation()
          Get the extension value.
 java.lang.Boolean getDetailsSSTMachine()
          Get the 'SST_Machine' attribute value.
 java.lang.Boolean getDetailsStaffed()
          Get the 'Staffed' attribute value.
 java.lang.Boolean getDetailsTicketPrinter()
          Get the 'TicketPrinter' attribute value.
 StationDetails.USTimeZone getDetailsUSTimeZone()
          Get the 'USTimeZone' attribute value.
 OperationSchedules getOperationSchedules()
          Get the 'OperationSchedules' element value.
 TelephoneGroup getTelephone(int index)
          Get 'Telephone' element item by position.
 java.util.List<TelephoneGroup> getTelephones()
          Get the list of 'Telephone' element items.
 void setAddress(Address address)
          Set the 'Address' element value.
 void setDetailsLocation(Location detailsLocation)
          Set the extension value.
 void setDetailsSSTMachine(java.lang.Boolean detailsSSTMachine)
          Set the 'SST_Machine' attribute value.
 void setDetailsStaffed(java.lang.Boolean detailsStaffed)
          Set the 'Staffed' attribute value.
 void setDetailsTicketPrinter(java.lang.Boolean detailsTicketPrinter)
          Set the 'TicketPrinter' attribute value.
 void setDetailsUSTimeZone(StationDetails.USTimeZone detailsUSTimeZone)
          Set the 'USTimeZone' attribute value.
 void setOperationSchedules(OperationSchedules operationSchedules)
          Set the 'OperationSchedules' element value.
 void setTelephones(java.util.List<TelephoneGroup> list)
          Set the list of 'Telephone' element items.
 int sizeTelephones()
          Get the number of 'Telephone' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StationDetails

public StationDetails()
Method Detail

getDetailsLocation

public Location getDetailsLocation()
Get the extension value.

Returns:
value

setDetailsLocation

public void setDetailsLocation(Location detailsLocation)
Set the extension value.

Parameters:
detailsLocation -

getDetailsStaffed

public java.lang.Boolean getDetailsStaffed()
Get the 'Staffed' attribute value.

Returns:
value

setDetailsStaffed

public void setDetailsStaffed(java.lang.Boolean detailsStaffed)
Set the 'Staffed' attribute value.

Parameters:
detailsStaffed -

getDetailsTicketPrinter

public java.lang.Boolean getDetailsTicketPrinter()
Get the 'TicketPrinter' attribute value.

Returns:
value

setDetailsTicketPrinter

public void setDetailsTicketPrinter(java.lang.Boolean detailsTicketPrinter)
Set the 'TicketPrinter' attribute value.

Parameters:
detailsTicketPrinter -

getDetailsSSTMachine

public java.lang.Boolean getDetailsSSTMachine()
Get the 'SST_Machine' attribute value.

Returns:
value

setDetailsSSTMachine

public void setDetailsSSTMachine(java.lang.Boolean detailsSSTMachine)
Set the 'SST_Machine' attribute value.

Parameters:
detailsSSTMachine -

getDetailsUSTimeZone

public StationDetails.USTimeZone getDetailsUSTimeZone()
Get the 'USTimeZone' attribute value.

Returns:
value

setDetailsUSTimeZone

public void setDetailsUSTimeZone(StationDetails.USTimeZone detailsUSTimeZone)
Set the 'USTimeZone' attribute value.

Parameters:
detailsUSTimeZone -

getOperationSchedules

public OperationSchedules getOperationSchedules()
Get the 'OperationSchedules' element value.

Returns:
value

setOperationSchedules

public void setOperationSchedules(OperationSchedules operationSchedules)
Set the 'OperationSchedules' element value.

Parameters:
operationSchedules -

getAddress

public Address getAddress()
Get the 'Address' element value.

Returns:
value

setAddress

public void setAddress(Address address)
Set the 'Address' element value.

Parameters:
address -

getTelephones

public java.util.List<TelephoneGroup> getTelephones()
Get the list of 'Telephone' element items.

Returns:
list

setTelephones

public void setTelephones(java.util.List<TelephoneGroup> list)
Set the list of 'Telephone' element items.

Parameters:
list -

sizeTelephones

public int sizeTelephones()
Get the number of 'Telephone' element items.

Returns:
count

addTelephone

public void addTelephone(TelephoneGroup item)
Add a 'Telephone' element item.

Parameters:
item -

getTelephone

public TelephoneGroup getTelephone(int index)
Get 'Telephone' element item by position.

Parameters:
index -
Returns:
item

clearTelephones

public void clearTelephones()
Remove all 'Telephone' element items.