com.azalient.api.b.demand
Interface ITimingPoint

All Superinterfaces:
IDescribed

public interface ITimingPoint
extends IDescribed

A timing point is a place at which transport times are measured. It can be a stand or a node.


Method Summary
 void description(String s)
          A description of this timing point
 IDwell dwell()
          If this is a stand, return the corresponding dwell object for this service-stand combination
 UTime nextArrival()
          Returns the time of the next transport scheduled to arrive here
 INode node()
          Returns the node at this timing point
 void node(INode n)
          Sets the node at this timing point
 UTime serviceArrival(int index)
          Returns the expected time of arrival of the service with the given index at this timing point
 void serviceArrival(int index, UTime t)
          Sets the expected time of arrival of the service with the given index at this timing point
 int serviceArrivals()
          Returns the number of service arrivals expected at this timing point
 void serviceArrivals(int n)
          Sets the number of service arrivals expected at this timing point
 UTime[] serviceArrivalsArray()
          Returns an array of the times of all service arrivals expected at this timing point
 int serviceIndexArrived()
          Returns the 1..N index of last service arrived.
 void serviceIndexArrived(int erviceIndex)
          Sets the 1..N index of last service arrived.
 String standID()
          Returns the identifying name of the stand at this timing point
 void standID(String id)
          Sets the identifying name of the stand at this timing point
 
Methods inherited from interface com.azalient.api.a.tables.IDescribed
description
 

Method Detail

description

void description(String s)
A description of this timing point


serviceArrivals

int serviceArrivals()
Returns the number of service arrivals expected at this timing point


serviceArrivals

void serviceArrivals(int n)
Sets the number of service arrivals expected at this timing point


serviceArrivalsArray

UTime[] serviceArrivalsArray()
Returns an array of the times of all service arrivals expected at this timing point


serviceArrival

UTime serviceArrival(int index)
Returns the expected time of arrival of the service with the given index at this timing point


serviceArrival

void serviceArrival(int index,
                    UTime t)
Sets the expected time of arrival of the service with the given index at this timing point


standID

void standID(String id)
Sets the identifying name of the stand at this timing point


standID

String standID()
Returns the identifying name of the stand at this timing point


dwell

IDwell dwell()
If this is a stand, return the corresponding dwell object for this service-stand combination


node

void node(INode n)
Sets the node at this timing point


node

INode node()
Returns the node at this timing point


serviceIndexArrived

int serviceIndexArrived()
Returns the 1..N index of last service arrived. 0 means no service arrived here yet


serviceIndexArrived

void serviceIndexArrived(int erviceIndex)
Sets the 1..N index of last service arrived. 0 means no service arrived here yet


nextArrival

UTime nextArrival()
Returns the time of the next transport scheduled to arrive here