SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class representing a route segment object
Author: JANConstructor Summary | |
IWRouteEntry()
Creates a new router segment object |
Method Summary | |
String
|
getConnector()
Returns the connector. |
IWCoordinate
|
getCoordinate()
Returns the starting coordinate for this route segment. |
String
|
getDescription()
Returns the description. |
int
|
getDirection()
Returns one of the following direction code for this route segment.
|
double
|
getEntryDistance()
Returns the absolute distance. |
long
|
getEntryTime()
Returns the entry time. |
int
|
getOrientation()
Returns the orientation. |
String
|
getRoundaboutNumber()
Returns the roundabout number. |
String
|
getRoundaboutType()
Returns the roundabout type. |
String
|
getSegment()
Returns the segment. |
String
|
getSignPost()
Returns the signpost. |
String
|
getStreetType()
Returns the street type of the route entry. |
double
|
getTotalDistance()
Returns the total distance. |
long
|
getTotalTime()
Returns the total time. |
String
|
getType()
Returns the type of the route entry. |
void
|
setConnector(connector)
Sets the connector. |
void
|
setCoordinate(newCoordinate)
Sets the starting coordinate for this route segment. |
void
|
setDescription(description)
Sets the description. |
void
|
setDirection(direction)
Sets the direction code for this route segment. |
void
|
setEntryDistance(distance)
Sets the entry distance. |
void
|
setEntryTime(time)
Sets the entry time. |
void
|
setOrientation(orientation)
Sets the orientation. |
void
|
setRoundaboutNumber(number)
Sets the roundabout number. |
void
|
setRoundaboutType(type)
Sets the roundabout type. contains an empty string. |
void
|
setSegment(segment)
Sets the segment. |
void
|
setSignPost(signpost)
Sets the signpost. |
void
|
setStreetType(streetType)
Sets the street type of the route entry. |
void
|
setTotalDistance(distance)
Sets the total distance. |
void
|
setTotalTime(time)
Sets the total time. |
void
|
setType(type)
Sets the type of the route entry. |
String
|
toString()
Returns a string representation of this object. |
Constructor Detail |
IWRouteEntry()
Method Detail |
String getConnector()
String
IWCoordinate getCoordinate()
IWCoordinate
the coordinate
String getDescription()
String
the description
int getDirection()
int
the direction code
double getEntryDistance()
double
long getEntryTime()
long
int getOrientation()
int
the orientation
String getRoundaboutNumber()
String
String getRoundaboutType()
String
String getSegment()
String
String getSignPost()
String
the signpost
String getStreetType()
String
type of the street
double getTotalDistance()
double
long getTotalTime()
long
String getType()
String
type of the entry
void setConnector(connector)
String connector
void
void setCoordinate(newCoordinate)
Object newCoordinate
void
void setDescription(description)
String description
void
void setDirection(direction)
int direction
void
void setEntryDistance(distance)
double distance
void
void setEntryTime(time)
long time
void
void setOrientation(orientation)
int orientation
void
void setRoundaboutNumber(number)
String number
void
void setRoundaboutType(type)
in
if the entry is "in" a roundabout, otherwise it
contains an empty string.
String type
void
void setSegment(segment)
String segment
void
void setSignPost(signpost)
String signpost
void
void setStreetType(streetType)
String streetType
- type of the street
void
void setTotalDistance(distance)
double distance
void
void setTotalTime(time)
long time
void
void setType(type)
String type
void
String toString()
String